Function at 0x4324b0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479840
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x84], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
je 0x4328f6
cmp dword [ebp + 0x10], 0
je 0x4328f6
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push dword [edx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x84], esi
cmp esi, 0xffffffff
jne 0x43256e
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00411dc0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x432916
inc ecx
push ecx
jmp 0x43290b
xor ebx, ebx
xor edi, edi
push 8
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00458d22
add esp, 4
test eax, eax
jne 0x4325a0
push 0x49c1ec
lea eax, [ebp - 0x75]
push eax
call fcn.0045241c
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0x70]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x70]
mov dword [eax], ecx
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4327f3
cmp dword [ebp - 0x7c], 4
jne 0x4327f3
mov ecx, dword [ebp - 0x74]
lea eax, [ecx - 5]
cmp eax, 0xfffa
ja 0x4327f3
cmp ebx, ecx
jae 0x432607
mov ebx, ecx
push edi
mov dword [ebp - 0x80], ebx
call fcn.00458d05
push ebx
call fcn.00458d22
mov ecx, dword [ebp - 0x74]
add esp, 8
mov edi, eax
push 0
mov dword [edi], ecx
lea eax, [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
push eax
add ecx, 0xfffffffc
lea eax, [edi + 4]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4327f3
mov ecx, dword [ebp - 0x74]
lea eax, [ecx - 4]
cmp dword [ebp - 0x7c], eax
jne 0x4327f3
movzx eax, word [edi + 0x38]
cmp eax, ecx
jae 0x4327f3
movzx edx, word [edi + 0x3a]
cmp edx, ecx
jae 0x4327f3
movzx eax, word [edi + 0x3c]
cmp eax, ecx
jae 0x4327f3
movzx eax, word [edi + 0x3e]
cmp eax, ecx
ja 0x4327f3
mov eax, dword [ebp + 8]
cmp dword [edi + 0x30], eax
jne 0x4325b4
xor eax, eax
mov dword [ebp - 0x30], 7
lea ebx, [edx + edi]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
push 0x100
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00415500
mov eax, 0x29e9
xor esi, esi
xor ax, word [ebx]
movzx eax, ax
test ax, ax
je 0x4326d5
nop
push eax
push 1
lea ecx, [ebp - 0x44]
call fcn.0042dc50
inc esi
mov eax, esi
and eax, 0x3f
mov ax, word [eax*2 + 0x48b4e0]
xor ax, word [ebx + esi*2]
movzx eax, ax
test ax, ax
jne 0x4326b0
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x432700
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0045142b
add esp, 8
test eax, eax
je 0x4327cb
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x60], eax
jb 0x432753
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x6c]
dec ecx
and ecx, dword [ebp - 0x64]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x432728
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00413b90
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x43273e
mov esi, dword [esi]
mov byte [esi], 0
sub dword [ebp - 0x60], 1
jne 0x432750
mov dword [ebp - 0x64], 0
jmp 0x432753
inc dword [ebp - 0x64]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x5c]
push edi
call fcn.0042ecb0
mov ebx, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
inc ecx
cmp edx, ecx
ja 0x43277c
push ecx
lea ecx, [ebp - 0x70]
call fcn.00432ad0
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
dec edx
mov eax, dword [ebp - 0x60]
and ecx, edx
add eax, ecx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x6c]
and edx, eax
lea esi, [edx*4]
cmp dword [esi + ecx], 0
jne 0x4327b3
push 0x18
call fcn.00458d22
add esp, 4
test eax, eax
je 0x4327e5
mov ecx, dword [ebp - 0x6c]
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [esi + ecx]
test ecx, ecx
je 0x4327c0
push ebx
call fcn.00411dc0
inc dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
call fcn.00411d80
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00407480
mov ebx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
jmp 0x4325b4
push 0x49c1ec
lea eax, [ebp - 0x76]
push eax
call fcn.0045241c
push edi
call fcn.00458d05
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x70]
call fcn.00432960
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x70]
call fcn.00432940
mov edi, dword [ebp - 0x48]
cmp edi, dword [eax + 8]
setne al
test al, al
je 0x432869
mov esi, dword [ebp - 0x50]
nop dword [eax + eax]
test esi, esi
jne 0x432838
xor eax, eax
jmp 0x43283a
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
push 0xffffffffffffffff
push 0
push dword [eax + ecx*4]
lea ecx, [ebp - 0x2c]
call fcn.00413280
lea eax, [ebp - 0x38]
inc edi
push eax
lea ecx, [ebp - 0x70]
call fcn.00432940
cmp edi, dword [eax + 8]
setne al
test al, al
jne 0x432830
mov ebx, dword [ebp - 0x8c]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
jb 0x432887
mov eax, dword [ebx]
jmp 0x432889
mov eax, ebx
mov byte [eax], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jae 0x4328af
mov eax, dword [ebp - 0x1c]
add eax, 1
je 0x4328bb
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.00450030
mov ecx, dword [ebp - 0x18]
add esp, 0xc
jmp 0x4328bb
mov eax, dword [ebp - 0x2c]
mov dword [ebx], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
call fcn.004329d0
push dword [ebp - 0x70]
call fcn.00458d05
add esp, 4
mov dword [ebp - 0x70], 0
jmp 0x432901
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00411dc0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x432916
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00413b90
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret