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

Disassembly:
push 0xffffffffffffffff
push 0x486276
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x33c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
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.004704b0
movzx eax, byte [0x4b8f64]
add esp, 0xc
sub eax, 1
je 0x43b932
sub eax, 5
je 0x43b8f0
mov ecx, dword [str.Silkroad]
mov edx, dword [0x4936e0]
mov al, byte [0x4936e4]
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], edx
mov byte [esp + 0x150], al
jmp 0x43b964
mov ecx, dword [str.Silkroad_TestExt]
mov edx, dword [0x4936cc]
mov eax, dword [0x4936d0]
mov dword [esp + 0x148], ecx
mov ecx, dword [0x4936d4]
mov dword [esp + 0x14c], edx
mov dl, byte [0x4936d8]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
mov byte [esp + 0x158], dl
jmp 0x43b964
mov eax, dword [str.Silkroad_TestIn]
mov ecx, dword [0x4936bc]
mov edx, dword [0x4936c0]
mov dword [esp + 0x148], eax
mov eax, dword [0x4936c4]
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], eax
push ebx
lea ecx, [esp + 0x14c]
push ecx
push str.server_dep
lea edx, [esp + 0x258]
push ebx
push edx
call fcn.00470058
push 0x4936a8
push str.TextDatamanylanguage
lea eax, [esp + 0x268]
push eax
mov ecx, eax
push ebx
push ecx
call fcn.00470058
mov edi, dword [0x4b8d64]
add esp, 0x28
cmp edi, ebx
push ebx
je 0x43b9db
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 0x43bbbb
mov edx, dword [edi]
push ebx
push eax
mov eax, dword [edx + 0x8c]
mov ecx, edi
call eax
jmp 0x43ba0c
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 0x43bbbb
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.00453650
mov ecx, dword [esp + 0x18]
add esp, 4
cmp edi, ebx
mov ebp, eax
lea eax, [esp + 0x18]
je 0x43ba34
mov edx, dword [edi]
mov edx, dword [edx + 0x48]
push eax
push esi
push ebp
push ecx
mov ecx, edi
call edx
jmp 0x43ba3f
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.00453650
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.00453655
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.00438310
push ebx
push 9
lea ecx, [esp + 0x80]
call fcn.00438310
push ebx
push 0xd
lea ecx, [esp + 0x80]
call fcn.00438310
lea ecx, [esp + 0x20]
call fcn.004479a0
cmp eax, ebx
mov esi, 0x10
je 0x43bb99
lea ebx, [ebx]
push ebx
push 1
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call fcn.004479f0
cmp dword [esp + 0x70], ebx
je 0x43bb99
cmp dword [esp + 0x74], esi
mov eax, dword [esp + 0x60]
jae 0x43bb6b
lea eax, [esp + 0x60]
push eax
call fcn.00471150
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [esp + 0x14]
push edx
add ecx, 0x1c0
mov dword [esp + 0x18], eax
call fcn.00411870
lea ecx, [esp + 0x20]
call fcn.004479a0
cmp eax, ebx
jne 0x43bb40
push edi
call fcn.00453655
mov eax, dword [esp + 0x78]
add esp, 4
cmp eax, esi
jb 0x43bbbb
add eax, 1
push eax
mov eax, dword [esp + 0x64]
push eax
call fcn.00406020
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.0046fe25
add esp, 0x34c
ret