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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
and dword [ebp - 0x1c], 0
push edi
and dl, 2
mov dword [ebp - 0x14], 3
mov byte [ebp - 1], dl
mov eax, dword [esi]
movzx ecx, word [esi + 0x46]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
movsx eax, byte [esi + 0x44]
mov dword [ebp - 0x18], eax
mov edi, dword [esi + eax*4 + 0x74]
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ebx, cx
and ebx, eax
add ebx, dword [edi + 0x38]
test dl, dl
je 0x440095
cmp byte [edi + 8], 0
je 0x440084
push ebx
push edi
call fcn.00439df6
pop ecx
pop ecx
movzx ecx, ax
xor edx, edx
movzx eax, word [edi + 0x14]
add eax, 2
add ecx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
add eax, eax
div dword [ebp - 0x14]
cmp ecx, eax
jg 0x440084
mov dword [ebp - 0x1c], 1
jmp 0x440095
mov ecx, esi
call fcn.004397fb
mov ecx, eax
test ecx, ecx
jne 0x440272
cmp byte [edi + 8], 0
jne 0x4400b5
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0043d286
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x440272
test byte [esi + 0x40], 0x20
je 0x4400d2
mov edx, dword [esi + 0x34]
mov ecx, dword [ebp - 0xc]
push esi
call fcn.00439890
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x440272
cmp dword [esi + 0x70], 0
jne 0x4400ee
mov edx, dword [esi + 0x34]
mov ecx, dword [ebp - 8]
push 0
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00439712
add esp, 0xc
mov ecx, dword [edi + 0x48]
call fcn.004368ef
mov ecx, eax
test ecx, ecx
jne 0x440272
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
mov ecx, edi
call fcn.0043daf6
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
pop ecx
push eax
movzx eax, word [ebp - 0x2e]
mov ecx, edi
push eax
call fcn.0043de66
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x440272
cmp byte [edi + 8], cl
jne 0x4401f0
movsx eax, byte [esi + 0x44]
mov ebx, dword [esi + eax*4 + 0x74]
mov eax, dword [ebp - 0x18]
movzx ecx, word [ebx + 0x16]
mov eax, dword [esi + eax*4 + 0x78]
mov edx, dword [ebx + 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x18]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jae 0x440186
mov ecx, 0x1074f
call fcn.0047caa3
jmp 0x440274
push ecx
push ebx
call dword [ebx + 0x4c]
movzx eax, ax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc], eax
call fcn.004368ef
mov dword [ebp - 8], eax
test eax, eax
jne 0x4401d0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0xc]
add eax, 4
push eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffffc
push eax
call fcn.0043df7a
add esp, 0x14
movzx edx, word [ebx + 0x16]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
dec edx
mov ecx, ebx
call fcn.0043de66
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x440272
mov ecx, esi
call fcn.0043fbb8
mov ecx, eax
test ecx, ecx
jne 0x440272
movsx eax, byte [esi + 0x44]
mov ebx, dword [ebp - 0x18]
cmp eax, ebx
jle 0x440231
mov dl, byte [esi + 0x44]
movsx eax, dl
dec dl
mov ecx, dword [esi + eax*4 + 0x74]
mov byte [esi + 0x44], dl
call fcn.0043ab62
movsx eax, byte [esi + 0x44]
cmp eax, ebx
jg 0x440208
mov ecx, esi
call fcn.0043fbb8
mov ecx, eax
test ecx, ecx
jne 0x440272
cmp dword [ebp - 0x1c], 0
je 0x44025d
mov byte [esi + 0x42], 2
movzx eax, word [edi + 0x16]
cmp dword [ebp - 0x10], eax
jb 0x440254
or dword [esi + 0x3c], 0xffffffff
mov ax, word [edi + 0x16]
dec ax
mov word [esi + 0x46], ax
jmp 0x440272
mov dword [esi + 0x3c], 1
jmp 0x440272
mov ecx, esi
call fcn.0043ca21
cmp byte [ebp - 1], 0
mov ecx, eax
je 0x440272
push 3
pop eax
mov byte [esi + 0x42], al
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret