Function at 0x443610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45409e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x510
mov eax, dword [0x46b378]
push ebx
push esi
push edi
mov dword [esp + 0x514], eax
mov eax, dword [ebp + 8]
push 0x457930
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 0x443b66
call fcn.00444670
push 0x10
mov dword [esp + 0x28], eax
mov edx, dword [eax]
push str.9A7FCFFD_86CE_4293_869B_61ED963C57EC
mov ecx, eax
call dword [edx]
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 0x456e0c
lea ecx, [esp + 0x18]
call fcn.00443560
mov eax, dword [0x472890]
mov ecx, 0x472890
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 0x443b03
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 0x44372e
push 0x4c8
lea ecx, [esp + 0x18]
call fcn.00441870
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 + 8]
test eax, eax
je 0x443b03
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x443764
xor eax, eax
jmp 0x44377a
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
test eax, eax
jl 0x443af9
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x443af9
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.00442510
mov eax, dword [0x472890]
mov ecx, 0x472890
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [0x472890]
mov ecx, 0x472890
mov byte [esp + 0x524], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x472890]
mov ecx, 0x472890
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 0x443807
or esi, 0xffffffff
jmp 0x443825
push 0x456e08
push edi
call dword [sym.imp.MSVCR71.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x44381f
or esi, 0xffffffff
jmp 0x443825
sub eax, edi
sar eax, 1
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x443a0e
jmp 0x443840
mov eax, dword [esp + 0x2c]
lea ebx, [ebx]
test eax, eax
jne 0x4438a2
push esi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00441e20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x528], 5
call fcn.00442510
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 0x44388a
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 0x4439be
cmp eax, 1
jne 0x443902
push esi
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.00441e20
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x528], 6
call fcn.00442510
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 0x4438ed
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 0x4439be
cmp eax, 2
jne 0x44394e
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
call fcn.00441e20
mov ecx, dword [ebp + 0x14]
push eax
mov byte [esp + 0x528], 7
call fcn.00442510
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 0x4439c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4439c1
cmp eax, 3
jne 0x443979
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call fcn.00441e20
mov ecx, dword [ebp + 0x18]
push eax
mov byte [esp + 0x528], 8
call fcn.00442510
mov eax, dword [esp + 0x38]
jmp 0x44392b
cmp eax, ebx
jne 0x4439c1
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.00441e20
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x528], 9
call fcn.00442510
lea ecx, [esp + 0x40]
mov byte [esp + 0x524], bl
call fcn.00441200
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.00441c40
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
test eax, eax
jge 0x4439de
or esi, 0xffffffff
jmp 0x4439fc
push 0x456e08
push edi
call dword [sym.imp.MSVCR71.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x4439f6
or esi, 0xffffffff
jmp 0x4439fc
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 0x443836
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.00443fe0
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 0x443a5b
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 0x443a81
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 0x443aa7
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 0x443ac9
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 0x443af2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x443b68
push 0x80070057
call fcn.00403df0
lea eax, [esp + 0x24]
push eax
call fcn.00443fe0
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 0x443b3d
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 0x443b66
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.004225d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret