Function at 0x43ae00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4438ab
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x45d018]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push edi
mov eax, dword [0x45d018]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x174]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
jl 0x43af62
push esi
call dword [sym.imp.MSVCR80.dll_rewind]
mov ebp, dword [sym.imp.MSVCR80.dll_fseek]
xor eax, eax
add esp, 4
cmp edi, ebx
mov ebx, dword [sym.imp.MSVCR80.dll_fread]
mov dword [esp + 0x14], eax
je 0x43aecb
push eax
lea ecx, [edi*4 + 8]
push ecx
push esi
call ebp
push esi
push 1
lea edx, [esp + 0x28]
push 4
push edx
call ebx
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov edx, ecx
shr edx, 0x10
and eax, 0xff0000
or eax, edx
mov edx, ecx
and edx, 0xff00
shl ecx, 0x10
or edx, ecx
shr eax, 8
shl edx, 8
add esp, 0x1c
or eax, edx
mov dword [esp + 0x14], eax
push 0
push eax
push esi
call ebp
push esi
push 1
lea eax, [esp + 0x5c]
push 0xc
push eax
call ebx
mov cx, word [esp + 0x68]
mov edx, dword [esp + 0x30]
add esp, 0x1c
rol cx, 8
movzx eax, cx
add edx, 0xc
mov edi, 1
cmp ax, di
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
jb 0x43af62
mov ecx, dword [esp + 0x18]
movzx eax, di
shl eax, 4
push 0
lea edx, [eax + ecx - 0x10]
push edx
push esi
call ebp
push esi
push 1
lea eax, [esp + 0x4c]
push 0x10
push eax
call ebx
mov eax, dword [esp + 0x54]
mov ecx, eax
and ecx, 0xff0000
mov edx, eax
shr edx, 0x10
or ecx, edx
mov edx, eax
and edx, 0xff00
shl eax, 0x10
or edx, eax
shr ecx, 8
shl edx, 8
or ecx, edx
add esp, 0x1c
cmp ecx, 0x6e616d65
je 0x43af8d
add edi, 1
cmp di, word [esp + 0x10]
jbe 0x43af05
xor al, al
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0043f41f
add esp, 0x15c
ret 8
cmp di, word [esp + 0x10]
ja 0x43af62
mov eax, dword [esp + 0x40]
mov edi, eax
mov ecx, eax
mov edx, eax
and edi, 0xff0000
and edx, 0xff00
shr ecx, 0x10
shl eax, 0x10
or edi, ecx
or edx, eax
shl edx, 8
shr edi, 8
or edi, edx
push 0
push edi
push esi
call ebp
push esi
push 1
lea eax, [esp + 0x44]
push 6
push eax
call ebx
mov cx, word [esp + 0x4e]
mov dx, word [esp + 0x50]
add esp, 0x1c
rol cx, 8
rol dx, 8
movzx ecx, cx
movzx eax, dx
add eax, edi
cmp cx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 1
jb 0x43af62
movzx eax, word [esp + 0x10]
lea eax, [eax + eax*2]
push 0
lea ecx, [edi + eax*4 - 6]
push ecx
push esi
call ebp
push esi
push 1
lea edx, [esp + 0x38]
push 0xc
push edx
call ebx
mov ax, word [esp + 0x40]
add esp, 0x1c
rol ax, 8
cmp ax, 3
jne 0x43b071
mov cx, word [esp + 0x26]
rol cx, 8
movzx eax, cx
cmp ax, 1
je 0x43b04d
cmp ax, 4
jne 0x43b071
mov dx, word [esp + 0x28]
rol dx, 8
movzx eax, dx
cmp eax, dword [esp + 0x170]
jne 0x43b071
mov cx, word [esp + 0x2a]
rol cx, 8
cmp cx, 1
je 0x43b088
mov eax, dword [esp + 0x10]
add eax, 1
cmp ax, word [esp + 0x18]
mov dword [esp + 0x10], eax
jbe 0x43b005
jmp 0x43af62
movzx edx, word [esp + 0x2c]
mov ax, word [esp + 0x2e]
rol dx, 8
rol ax, 8
movzx ecx, ax
add ecx, dword [esp + 0x1c]
push 0
push ecx
push esi
movzx edi, dx
call ebp
movzx edx, word [esp + 0x32]
add esp, 0xc
rol dx, 8
cmp dx, 4
je 0x43b150
shr di, 1
movzx edi, di
movzx ebp, di
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MFC80U.DLL_Ordinal_265
mov ebx, eax
add esp, 4
xor eax, eax
test di, di
mov dword [esp + 0x18], ebx
jbe 0x43b12d
movzx eax, bp
mov dword [esp + 0x10], ebp
mov ebp, dword [sym.imp.MSVCR80.dll_getc]
mov edi, ebx
mov dword [esp + 0x1c], eax
push esi
call ebp
push esi
movzx ebx, ax
call ebp
xor ecx, ecx
mov ch, bl
add esp, 8
add edi, 2
or eax, ecx
sub dword [esp + 0x10], 1
mov word [edi - 2], ax
jne 0x43b105
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
movzx edx, ax
push ebx
mov word [ebx + edx*2], 0
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_wchar_t_const__
push ebx
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov al, 1
jmp 0x43af64
movzx ebp, di
lea eax, [ebp + 1]
push eax
call sub.MFC80U.DLL_Ordinal_265
mov edi, eax
lea eax, [ebp + 1]
push eax
push 0
push edi
call sub.MSVCR80.dll_memset
push esi
push 1
push ebp
push edi
call ebx
add esp, 0x20
lea eax, [esp + 0x58]
push 0
mov dword [esp + 0x58], eax
push edi
lea eax, [esp + 0x5c]
call fcn.0043cce0
mov dword [esp + 0x168], 0
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x24]
call sub.acdb17.dll_public:_class_AdString_const____thiscall_AdString::operator_wchar_t_const__
push edi
call sub.MFC80U.DLL_Ordinal_266
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
add esp, 4
cmp eax, edx
je 0x43b1c0
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov al, 1
jmp 0x43af64