Function at 0x483db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49f3ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x510
mov eax, dword [0x4d757c]
push ebx
push esi
push edi
mov dword [esp + 0x514], eax
mov eax, dword [ebp + 8]
push 0x4ae6f8
push eax
mov dword [esp + 0x38], 0x4c8
call dword [sym.imp.MSVCR71.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x484306
call fcn.0047bb90
push 0x10
mov dword [esp + 0x28], eax
mov edx, dword [eax]
push str.9A7FCFFD_86CE_4293_869B_61ED963C57EC
mov ecx, eax
call dword [edx + 4]
mov edi, dword [sym.imp.MSVCR71.dll_fseek]
push 2
push 0
push ebx
call edi
push ebx
call dword [sym.imp.MSVCR71.dll_ftell]
push 0
push 0
push ebx
mov esi, eax
call edi
add esp, 0x1c
push 0x4ae4c0
lea ecx, [esp + 0x18]
call fcn.00483a00
mov eax, dword [0x4e39a0]
mov ecx, 0x4e39a0
mov dword [esp + 0x524], 0
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x48], 0
xor eax, eax
mov ecx, 0x131
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ecx
push 1
stosw word es:[edi], ax
lea edx, [esp + 0x50]
push esi
push edx
mov byte [esp + 0x534], 1
stosb byte es:[edi], al
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x4842a3
mov edi, dword [esp + 0x14]
mov ecx, eax
sub ecx, dword [edi - 4]
mov eax, dword [edi - 8]
sub eax, 0x4c8
or eax, ecx
jge 0x483ecf
push 0x4c8
lea ecx, [esp + 0x18]
call fcn.004811d0
mov edi, dword [esp + 0x14]
mov edx, edi
xor eax, eax
mov ecx, 0x132
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
lea edi, [esp + 0x30]
push edi
push edx
push esi
lea edx, [esp + 0x54]
push edx
push 1
call dword [eax + 0xc]
test eax, eax
je 0x4842a3
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x483f05
xor eax, eax
jmp 0x483f1b
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
test eax, eax
jl 0x484299
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x484299
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x14]
mov word [ecx + eax*2], 0
push edx
lea ecx, [esp + 0x14]
call fcn.00482210
mov eax, dword [0x4e39a0]
mov ecx, 0x4e39a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [0x4e39a0]
mov ecx, 0x4e39a0
mov byte [esp + 0x524], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x4e39a0]
mov ecx, 0x4e39a0
mov byte [esp + 0x524], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
test eax, eax
mov ebx, 4
mov byte [esp + 0x524], bl
jge 0x483fa8
or esi, 0xffffffff
jmp 0x483fc6
push 0x4b8e64
push edi
call dword [sym.imp.MSVCR71.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x483fc0
or esi, 0xffffffff
jmp 0x483fc6
sub eax, edi
sar eax, 1
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x4841ae
jmp 0x483fe0
mov eax, dword [esp + 0x2c]
jmp 0x483fe0
test eax, eax
jne 0x484042
push esi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.004821b0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x528], 5
call fcn.00482210
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x524], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48402a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.MSVCR71.dll__wtoi64]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x48415e
cmp eax, 1
jne 0x4840a2
push esi
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.004821b0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x528], 6
call fcn.00482210
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x524], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48408d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.MSVCR71.dll__wtol]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
jmp 0x48415e
cmp eax, 2
jne 0x4840ee
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
call fcn.004821b0
mov ecx, dword [ebp + 0x14]
push eax
mov byte [esp + 0x528], 7
call fcn.00482210
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x524], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484161
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x484161
cmp eax, 3
jne 0x484119
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.004821b0
mov ecx, dword [ebp + 0x18]
push eax
mov byte [esp + 0x528], 8
call fcn.00482210
mov eax, dword [esp + 0x38]
jmp 0x4840cb
cmp eax, ebx
jne 0x484161
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.004821b0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x528], 9
call fcn.00482210
lea ecx, [esp + 0x40]
mov byte [esp + 0x524], bl
call fcn.004810c0
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR71.dll__wtol]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
add esp, 4
inc esi
push esi
push 0
lea ecx, [esp + 0x18]
call fcn.00481a20
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
test eax, eax
jge 0x48417e
or esi, 0xffffffff
jmp 0x48419c
push 0x4b8e64
push edi
call dword [sym.imp.MSVCR71.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x484196
or esi, 0xffffffff
jmp 0x48419c
sub eax, edi
sar eax, 1
mov esi, eax
mov ecx, dword [esp + 0x2c]
inc ecx
cmp esi, 0xffffffff
mov dword [esp + 0x2c], ecx
jne 0x483fd7
push edi
call dword [sym.imp.MSVCR71.dll__wtoi64]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], eax
lea eax, [esp + 0x28]
push eax
mov dword [ecx + 4], edx
call fcn.0047b500
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x524], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4841fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x524], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484221
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x524], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x524], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484269
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x524], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x484308
push 0x80070057
call fcn.0044f800
lea eax, [esp + 0x24]
push eax
call fcn.0047b500
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.MSVCR71.dll_fclose]
lea eax, [ebx - 0x10]
add esp, 8
mov byte [esp + 0x524], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4842dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x524], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x51c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x514]
call fcn.0045a4fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret