Function at 0x43a580
Capabilities:
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a5896
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x4e0c44]
xor eax, esp
mov dword [esp + 0x33c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e0c44]
xor eax, esp
push eax
lea eax, [esp + 0x354]
mov dword fs:[0], eax
push 0x103
xor ebx, ebx
lea eax, [esp + 0x14d]
push ebx
push eax
mov dword [esp + 0x28], ecx
call fcn.0047ec20
mov ecx, dword [str.Silkroad]
mov edx, dword [0x4b57d0]
mov al, byte [0x4b57d4]
push ebx
mov dword [esp + 0x158], ecx
lea ecx, [esp + 0x158]
push ecx
push str.server_dep
mov dword [esp + 0x164], edx
lea edx, [esp + 0x264]
push ebx
push edx
mov byte [esp + 0x170], al
call fcn.0047e721
push 0x4b57bc
push str.TextDatamanylanguage
lea eax, [esp + 0x274]
push eax
mov ecx, eax
push ebx
push ecx
call fcn.0047e721
mov edi, dword [0x4e2fc4]
add esp, 0x34
cmp edi, ebx
push ebx
je 0x43a671
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push SysReAllocString
lea eax, [esp + 0x254]
push eax
mov ecx, edi
call edx
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x43a84b
mov edx, dword [edi]
push ebx
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
jmp 0x43a6a2
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x43a84b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0045f695
mov ecx, dword [esp + 0x18]
add esp, 4
cmp edi, ebx
mov ebp, eax
lea eax, [esp + 0x18]
je 0x43a6ca
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
push eax
push esi
push ebp
push ecx
mov ecx, edi
call edx
jmp 0x43a6d5
push ebx
push eax
push esi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push ebx
push ebx
push ebx
shr esi, 1
add esi, 0xffffffff
push esi
lea eax, [ebp + 2]
push eax
push ebx
push ebx
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea edx, [esi + 1]
push edx
call fcn.0045f695
add esp, 4
push ebx
push ebx
push esi
mov edi, eax
mov eax, dword [esp + 0x20]
push edi
push eax
lea eax, [ebp + 2]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebp
mov byte [edi + esi], bl
call fcn.0045f690
add esp, 4
mov dword [esp + 0x34], vtable.CStringProcess.0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 1
cmp edi, ebx
sete cl
mov dword [esp + 0x35c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov byte [esp + 0x48], cl
mov dword [esp + 0x2c], esi
mov byte [esp + 0x49], bl
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
push ebx
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x364], 1
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x80], bl
call fcn.004350d0
push ebx
push 9
lea ecx, [esp + 0x80]
call fcn.004350d0
push ebx
push 0xd
lea ecx, [esp + 0x80]
call fcn.004350d0
lea ecx, [esp + 0x20]
call fcn.00450cf0
cmp eax, ebx
mov esi, 0x10
je 0x43a829
push ebx
push 1
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.00450d40
cmp dword [esp + 0x70], ebx
je 0x43a829
cmp dword [esp + 0x74], esi
mov eax, dword [esp + 0x60]
jae 0x43a7fb
lea eax, [esp + 0x60]
push eax
call fcn.0047fb40
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [esp + 0x14]
push edx
add ecx, 0x7cc
mov dword [esp + 0x18], eax
call fcn.00413200
lea ecx, [esp + 0x20]
call fcn.00450cf0
cmp eax, ebx
jne 0x43a7d0
push edi
call fcn.0045f690
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, esi
jb 0x43a84b
add eax, 1
push eax
mov eax, dword [esp + 0x64]
push eax
call fcn.00406140
add esp, 8
mov ecx, dword [esp + 0x354]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x33c]
xor ecx, esp
call fcn.0047e4dd
add esp, 0x34c
ret