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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
push 0
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ecx + 0x18]
push eax
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040dba0
add esp, 0x10
test eax, eax
je 0x465196
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x30]
push edi
mov ecx, dword [ebp + 8]
mov esi, dword [edx + 0x24]
push esi
mov ebx, dword [edx + 0x20]
push ebx
push ecx
call fcn.0040d4a0
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
add esp, 0x10
xor ecx, edx
mov edx, dword [ebp - 0x18]
xor eax, edx
or ecx, eax
jne 0x46518c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x1c], 0
mov edx, dword [ecx + 0x94]
mov eax, dword [ecx + 0x90]
mov ebx, edx
or ebx, eax
jne 0x465309
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
mov esi, dword [ecx + 0x3c]
mov ebx, dword [ecx + 0x38]
xor edx, edx
mov eax, dword [eax + 0x1ac]
mov ecx, esi
mov dword [ebp - 0x2c], eax
xor ecx, edx
mov edi, dword [eax + 0x178]
xor eax, eax
mov al, byte [edi + 3]
xor eax, ebx
or ecx, eax
je 0x465323
xor eax, eax
xor edx, edx
mov al, byte [edi + 4]
mov ecx, esi
xor ecx, edx
xor eax, ebx
or ecx, eax
jne 0x46533c
mov edi, dword [edi + 0x40]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
add ebx, edi
mov dword [ebp - 0x24], ebx
cmp edi, ebx
jae 0x465350
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x46528e
cmp dword [ebp - 0x1c], ebx
jbe 0x46535a
mov ebx, dword [ebp - 0x38]
mov al, byte [eax + 9]
mov ecx, dword [ebx + 0x38]
add edi, ecx
cmp dword [ebp - 0x24], edi
jbe 0x465350
and eax, 0xff
mov edx, dword [ebp - 0x20]
lea eax, [eax + eax*2]
lea edx, [edx + eax*8]
mov dword [ebp - 0x20], edx
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
push esi
push ebx
push edi
push ecx
call dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x40], edx
mov ebx, edx
mov edx, dword [ebp - 0x2c]
mov esi, ecx
mov dword [ebp - 0x3c], ecx
add esp, 0x10
mov eax, dword [edx + 0x178]
shrd ebx, esi, 8
shr esi, 8
cmp byte [eax + 0xa], 0x40
je 0x465330
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x465260
mov edx, esi
or edx, ebx
je 0x465269
mov ecx, dword [ebp - 0x20]
push eax
mov esi, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
push eax
mov edi, dword [ecx]
push edi
push 0
push ebx
mov ebx, dword [ebp - 0x30]
push esi
push ebx
push str._B:_non_zero_symbol_index__0x_lx__for_offset_0x_lx_in_section___A_when_the_object_file_has_no_symbol_table
call dword [0x4a4400]
add esp, 0x14
push 0x11
call fcn.00404f10
xor eax, eax
add esp, 0x10
jmp 0x46518e
push edx
push eax
mov eax, dword [ecx + 0x7c]
push eax
mov edi, dword [ecx + 0x78]
push edi
call fcn.0049b400
add esp, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x4651f4
mov edi, dword [edi + 0x38]
mov dword [ebp - 0x28], edi
jmp 0x465242
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov ebx, esi
xor esi, esi
jmp 0x4652c7
sub esp, 0xc
push 3
call fcn.00404f10
xor eax, eax
add esp, 0x10
jmp 0x46518e
mov eax, 1
jmp 0x46518e
push ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x34]
push ebx
push eax
mov eax, dword [ebp - 0x30]
push eax
push str._B:_bad_reloc_symbol_index__0x_lx___0x_lx__for_offset_0x_lx_in_section___A
jmp 0x4652ef