Function at 0x411ae0
Capabilities:
Encode data using xor
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52b53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov ebx, ecx
je 0x411e47
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x411e47
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x411e47
lea eax, [ebx + 8]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
push 0
push 0x8000001
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411b6a
push 0x530474
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x110
push ecx
jmp 0x411e5b
mov eax, dword [ebp + 0x10]
lea edx, [esp + 0x10]
push edx
push edi
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x20], 0
call fcn.00411960
test al, al
jne 0x411ba8
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x530474
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0x11a
push ecx
jmp 0x411e5b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x411bd0
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, ebx
call fcn.004117d0
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
push eax
push 0
mov dword [ebx + 0x1c], eax
call dword [sym.imp.kernel32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0x18], eax
jne 0x411c13
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x530474
push 0
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], 0x133
push edx
jmp 0x411e5b
push 0
push 0
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push 0
push eax
push ecx
push esi
call fcn.00419b60
add esp, 0x10
test al, al
push esi
jne 0x411c57
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x530474
push 0
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], 0x13c
push edx
jmp 0x411e5b
call dword [sym.imp.kernel32.dll_CloseHandle]
lea ecx, [esp + 0x30]
call fcn.0041db30
cmp dword [ebx + 0x1c], 0x10
mov dword [esp + 0x1c4], 0
jae 0x411ca0
mov dword [esp + 0x14], 0x14b
push 0x530474
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x1c], 0x530cb8
call fcn.0041ce50
add esp, 0xc
jmp 0x411d4d
lea ecx, [esp + 0x30]
call fcn.0041db70
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
push 0
sub ecx, 0x10
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.0041dba0
test al, al
jne 0x411ccd
mov dword [esp + 0x14], 0x152
jmp 0x411c7f
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.0041dbc0
test al, al
jne 0x411d05
push 0x530474
lea edx, [esp + 0x14]
push 0
push edx
mov dword [esp + 0x20], 0x157
mov dword [esp + 0x1c], 0x530cb8
call fcn.0041ce50
add esp, 0xc
jmp 0x411d4d
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
lea esi, [eax + edx - 0x10]
mov ecx, 4
lea edi, [esp + 0x20]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x411d66
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ecx
push edx
push 0x530c80
lea eax, [esp + 0x24]
push 0x530cd8
push eax
mov dword [esp + 0x2c], 0x530cb8
mov dword [esp + 0x30], 0x160
call fcn.0041cd90
add esp, 0x14
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.0041db60
jmp 0x411e6b
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c4], 0xffffffff
call fcn.0041db60
mov edx, dword [ebx + 0x18]
add edx, 0x10
mov dword [ebx + 0x20], edx
add edx, 0x10
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xb1]
rep stosd dword es:[edi], eax
mov ecx, 0x41
mov esi, edx
lea edi, [esp + 0xb0]
rep movsd dword es:[edi], dword [esi]
jmp 0x411db0
xor byte [esp + eax + 0xb0], 0x16
inc eax
cmp eax, 0x104
jl 0x411db0
lea esi, [esp + 0xb0]
lea ecx, [ebx + 0x141]
mov eax, esi
sub ecx, eax
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x411dd1
mov ecx, dword [edx + 0x104]
add edx, 0x104
mov dword [ebx + 0x30], ecx
mov eax, dword [edx + 4]
add edx, 4
mov dword [ebx + 0x34], eax
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x30]
add edx, 4
add edx, 4
mov dword [ebx + 0x38], ecx
mov ecx, dword [ebx + 0x34]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov dword [ebx + 0x24], edx
mov edx, dword [ebp + 0x10]
add ecx, eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 4], edx
add ebx, 0x3c
sub ebx, eax
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x411e24
mov al, 1
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x530474
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0xf2
push eax
mov dword [esp + 0x1c], 0x530cb8
call fcn.0041ce50
add esp, 0xc
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10