Function at 0x4b1de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x521438
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov eax, 0x24
mov dword [esp + 0x40], 0x1328d0a
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x60], bl
mov dword [esp + 0x30], vtable.t_fileBufferRead.0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
mov dword [esp + 0x78], ebx
call fcn.004b2470
test al, al
jne 0x4b1ee0
mov eax, dword [ebp + 8]
cmp byte [eax + 0x11c], bl
lea edi, [eax + 0xc]
jne 0x4b1e7d
mov edi, dword [eax + 8]
mov ecx, esi
call fcn.00470820
push 0x56c858
mov esi, eax
push 0x551604
push esi
call fcn.0046adf0
add edi, 4
push edi
push 0x551604
push esi
call fcn.0046adf0
push 0x56c864
push 0x551604
push esi
call fcn.0046adf0
add esp, 0x24
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4b1ec9
push eax
call fcn.004fdda1
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x24
lea ecx, [esp + 0x44]
push ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.00475d30
test al, al
jne 0x4b1f11
mov ecx, esi
call fcn.00470820
push 0x56c884
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
jmp 0x4b1eb8
cmp dword [esp + 0x40], 0x1326916
je 0x4b1f40
mov ecx, esi
call fcn.00470820
push 0x56d4e0
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.004b2430
jmp 0x4b1ec9
cmp dword [esp + 0x4c], 0x24
je 0x4b1f61
push 0x56d50c
mov ecx, esi
call fcn.00401000
lea ecx, [esp + 0x30]
call fcn.004b2430
jmp 0x4b1ec9
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x44], eax
jg 0x4b1f47
lea edx, [eax*8 + 0x24]
mov eax, dword [esp + 0x58]
cmp eax, edx
jne 0x4b1f47
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x50], ecx
jg 0x4b1f47
lea esi, [ecx + eax]
push esi
call fcn.004fdc99
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x4b1fb3
push 0x56c8bc
mov ecx, dword [ebp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x30]
call fcn.004b2430
jmp 0x4b1ec9
push 0x24
lea ecx, [esp + 0x44]
push ecx
push esi
push eax
call fcn.004fe295
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
add esp, 0x10
lea edx, [esi - 0x24]
push edx
add eax, 0x24
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.00475d30
test al, al
jne 0x4b1fe8
push 0x56c8d8
jmp 0x4b1f9d
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0xffffffff
call fcn.004b2430
push esi
call fcn.004fdc99
add esp, 4
cmp eax, ebx
mov dword [edi], eax
jne 0x4b2027
mov edx, dword [esp + 0x14]
push edx
call fcn.004fc79f
mov ecx, dword [ebp + 0xc]
add esp, 4
push 0x56d51c
call fcn.00401000
jmp 0x4b1ec9
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov esi, dword [edi]
mov dword [esi], 0x1328d0a
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x4c]
lea eax, [esi + 0x10]
shr ecx, 2
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0xc], edx
mov dword [eax], ebx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x58]
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], 1
mov ecx, dword [esp + 0x58]
add ecx, edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi]
mov edi, dword [esi + 0xc]
add edi, ecx
add ecx, edx
cmp dword [esp + 0x44], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], 1
mov dword [esp + 0x20], ebx
jle 0x4b214f
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x4c]
lea eax, [ecx + edx + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx]
add ebx, dword [esp + 0x24]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push ebx
sub ecx, 1
push edi
lea eax, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.004b0970
add esp, 0xc
test al, al
jne 0x4b2135
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], ecx
call fcn.004b2bc0
test al, al
je 0x4b215c
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jge 0x4b212a
mov edx, dword [esi + 8]
sub eax, ebx
add eax, eax
sub edx, ebx
add eax, eax
push eax
lea ecx, [edi + ebx*4]
push ecx
add edx, edx
add edx, edx
push edx
add ecx, 4
push ecx
call fcn.004fe23a
add esp, 0x10
mov eax, dword [esp + 0x2c]
mov dword [edi + ebx*4], eax
add dword [esi + 4], 1
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 8
add eax, 1
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
jl 0x4b20b6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004fc79f
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc