Function at 0x484070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bf35
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x54b144]
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 dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
push 0x5336a0
xor ebx, ebx
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x34], ebx
call fcn.004e6400
add esp, 8
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4842a8
push 2
push ebx
push eax
call fcn.004e69e9
add esp, 0xc
push dword [ebp - 0x30]
call fcn.004e6fe2
add esp, 4
mov esi, eax
push ebx
push ebx
push dword [ebp - 0x30]
call fcn.004e69e9
add esp, 0xc
cmp esi, 0xc800
jg 0x48427e
lea eax, [esi + 1]
push 0x521c18
push eax
call fcn.004db4c6
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x48427e
lea ecx, [esi + 1]
push ecx
push ebx
push eax
call fcn.004dcc10
mov ebx, dword [ebp - 0x34]
add esp, 0xc
push dword [ebp - 0x30]
push esi
push 1
push ebx
call fcn.004e65e3
mov ecx, ebx
mov dword [ebp - 0x2c], 0
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484160
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0044c030
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.00482e50
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4841bd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4841b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4842d0
push edx
push ecx
call fcn.004dafca
add esp, 8
push 0x521c18
push 0x2800
call fcn.004db4c6
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48427e
push 0x2800
push 0
push ebx
call fcn.004dcc10
mov esi, dword [ebp - 0x40]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
cmp esi, eax
je 0x484269
cmp edi, esi
je 0x48420f
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x484201
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.0044c030
mov eax, dword [ebp - 0x3c]
cmp dword [edi + 0x10], 0
je 0x484262
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x48421f
mov eax, dword [edi]
push 0x27ff
push eax
push ebx
call fcn.004f1590
add esp, 0xc
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x20
je 0x48423c
cmp cl, 9
jne 0x48423f
inc eax
jmp 0x484230
cmp cl, 0x3b
je 0x48425f
push 0x3b
push ebx
call fcn.004de9c0
add esp, 8
test eax, eax
je 0x484256
mov byte [eax], 0
mov ecx, dword [ebp - 0x44]
push ebx
call fcn.004833c0
mov eax, dword [ebp - 0x3c]
add esi, 0x18
cmp esi, eax
jne 0x4841f3
push dword [ebp - 0x30]
mov esi, 1
call fcn.004efce0
mov eax, dword [ebp - 0x34]
add esp, 4
jmp 0x484292
push dword [ebp - 0x30]
call fcn.004efce0
mov eax, dword [ebp - 0x34]
add esp, 4
xor esi, esi
test eax, eax
je 0x48429b
push eax
call fcn.004dafe1
add esp, 4
test ebx, ebx
je 0x4842a8
push ebx
call fcn.004dafe1
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00481ab0
mov eax, esi
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.004dafe6
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e002c
int3