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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push edi
movsx edi, word [esi + 0x4c]
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], edi
mov ecx, dword [esi + edi*4 + 0x78]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov ax, word [esi + edi*2 + 0x4e]
cmp ax, word [ecx + 0x12]
jae 0x46785a
cmp byte [esi + 0x49], 1
jne 0x46785a
push ebx
mov ebx, ecx
movzx edx, ax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx + 0x40]
movzx ecx, byte [eax + edx*2]
movzx eax, byte [eax + edx*2 + 1]
shl ecx, 8
or ecx, eax
movzx eax, word [ebx + 0x14]
and ecx, eax
add ecx, dword [ebx + 0x38]
cmp byte [ebx + 5], 0
mov dword [ebp - 0x10], ecx
jne 0x4676c5
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push esi
call fcn.004691e0
add esp, 8
test eax, eax
jne 0x467853
push esi
push dword [esi + 0x3c]
push dword [ebp - 8]
call fcn.00460ef0
add esp, 0xc
test eax, eax
jne 0x467853
cmp dword [esi + 0x10], eax
jne 0x46770f
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x46770f
test byte [eax + 0x48], 0x10
je 0x467708
cmp dword [eax + 0x18], ecx
jne 0x467708
cmp dword [eax + 0x1c], edx
jne 0x467708
mov byte [eax + 0x49], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x4676f4
push dword [ebx + 0x44]
call fcn.0047c780
add esp, 4
test eax, eax
jne 0x467853
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
push ebx
call fcn.00447930
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
movzx eax, word [ebp + 8]
push eax
push dword [ebp - 0xc]
push ebx
call fcn.0044d810
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jne 0x467853
cmp byte [ebx + 5], al
jne 0x4677ef
movsx eax, word [esi + 0x4c]
mov ebx, dword [esi + eax*4 + 0x78]
mov eax, dword [esi + edi*4 + 0x7c]
mov dword [ebp + 8], ebx
movzx ecx, word [ebx + 0x12]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x40]
movzx edx, byte [eax + ecx*2 - 2]
movzx eax, byte [eax + ecx*2 - 1]
shl edx, 8
or edx, eax
movzx eax, word [ebx + 0x14]
and edx, eax
add edx, dword [ebx + 0x38]
push edx
push ebx
mov dword [ebp - 0x14], edx
call fcn.00446c30
movzx ebx, ax
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x50]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call fcn.0047c780
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
lea eax, [ebx + 4]
push edi
push eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffc
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call fcn.00455420
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ebx
movzx eax, word [ecx + 0x12]
dec eax
push eax
push ecx
call fcn.0044d810
mov eax, dword [ebp - 4]
add esp, 0x38
test eax, eax
jne 0x467853
mov edi, dword [ebp - 0x1c]
push esi
call fcn.00443db0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x467851
movsx ecx, word [esi + 0x4c]
cmp ecx, edi
jle 0x467848
nop word [eax + eax]
movzx ecx, word [esi + 0x4c]
movsx eax, cx
mov edx, dword [esi + eax*4 + 0x78]
lea eax, [ecx - 1]
mov word [esi + 0x4c], ax
test edx, edx
je 0x467831
push dword [edx + 0x44]
call fcn.0047c6d0
add esp, 4
movsx eax, word [esi + 0x4c]
cmp eax, edi
jg 0x467810
push esi
call fcn.00443db0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x467851
push esi
call fcn.004570c0
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret