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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
mov eax, dword [ebx + 0x29c]
test eax, eax
je 0x46da04
cmp eax, 1
je 0x46dbb5
sub eax, 1
cmp eax, 1
mov dword [ebx + 0x29c], eax
je 0x46dba5
mov eax, dword [ebx + 0x78]
test al, 1
je 0x46dc8a
test al, 4
je 0x46da37
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0046c720
mov dword [esp + 4], str.out_of_place
mov dword [esp], ebx
call fcn.00459c00
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebp + 1]
mov ecx, 2
mov eax, ebx
call fcn.0046bf10
test eax, eax
mov edi, eax
je 0x46dbd0
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp], ebx
call fcn.0046c4f0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0046c720
test eax, eax
jne 0x46da2f
mov byte [edi + ebp], 0
mov eax, edi
cmp byte [edi], 0
je 0x46da88
nop
add eax, 1
cmp byte [eax], 0
jne 0x46da80
lea ecx, [eax + 1]
lea edx, [edi + ebp - 2]
cmp ecx, edx
ja 0x46dbf1
lea esi, [eax + 2]
movzx eax, byte [eax + 1]
xor ecx, ecx
mov byte [esp + 0x24], al
cmp al, 8
mov eax, edi
setne cl
sub eax, esi
add eax, ebp
xor edx, edx
lea ecx, [ecx*4 + 6]
div ecx
test edx, edx
jne 0x46dc60
cmp eax, 0x19999999
ja 0x46dc06
mov dword [esp + 0x2c], eax
lea eax, [eax + eax*4]
add eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0046ba10
test eax, eax
mov dword [esp + 0x28], eax
je 0x46dc75
mov ecx, dword [esp + 0x2c]
mov edx, eax
xor ebp, ebp
xor eax, eax
test ecx, ecx
jle 0x46dc24
mov dword [esp + 0x1c], edi
mov edi, eax
mov eax, edx
jmp 0x46db79
movzx ecx, byte [esi + 1]
shl edx, 8
add edx, ecx
mov word [eax], dx
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
mov word [eax + 2], dx
movzx edx, byte [esi + 4]
movzx ecx, byte [esi + 5]
shl edx, 8
add edx, ecx
mov word [eax + 4], dx
movzx edx, byte [esi + 6]
movzx ecx, byte [esi + 7]
shl edx, 8
add edx, ecx
mov word [eax + 6], dx
lea ecx, [esi + 8]
movzx edx, byte [ecx]
add ebp, 1
add edi, 0xa
movzx esi, byte [ecx + 1]
shl edx, 8
add edx, esi
mov word [eax + 8], dx
lea esi, [ecx + 2]
cmp dword [esp + 0x2c], ebp
jle 0x46dc20
mov eax, dword [esp + 0x28]
add eax, edi
movzx edx, byte [esi]
cmp byte [esp + 0x24], 8
jne 0x46db10
mov word [eax], dx
movzx edx, byte [esi + 1]
lea ecx, [esi + 4]
mov word [eax + 2], dx
movzx edx, byte [esi + 2]
mov word [eax + 4], dx
movzx edx, byte [esi + 3]
mov word [eax + 6], dx
jmp 0x46db52
mov dword [esp + 4], str.No_space_in_chunk_cache_for_sPLT
mov dword [esp], ebx
call fcn.00459730
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0046c720
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.0046c720
mov dword [esp + 4], 0x5406ef
mov dword [esp], ebx
call fcn.00459c00
jmp 0x46da2f
mov dword [esp + 4], str.malformed_sPLT_chunk
mov dword [esp], ebx
call fcn.00459730
jmp 0x46da2f
mov dword [esp + 4], str.sPLT_chunk_too_long
mov dword [esp], ebx
call fcn.00459730
jmp 0x46da2f
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], 1
mov dword [esp], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 4], eax
call fcn.00462680
mov eax, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0046ba50
jmp 0x46da2f
mov dword [esp + 4], str.sPLT_chunk_has_bad_length
mov dword [esp], ebx
call fcn.00459730
jmp 0x46da2f
mov dword [esp + 4], str.sPLT_chunk_requires_too_much_memory
mov dword [esp], ebx
call fcn.00459730
jmp 0x46da2f
mov dword [esp + 4], str.missing_IHDR
mov dword [esp], ebx
call fcn.00459bb0
lea esi, [esi]