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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 4]
mov dword [esp + 0x14], ecx
movsx ecx, byte [edi + 0x44]
movzx ebp, word [edi + ecx*2 + 0x50]
mov ebx, dword [edi + ecx*4 + 0x78]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x40]
mov dx, word [ecx + ebp*2]
mov ch, dl
mov dword [esp + 0x1c], ebp
and al, 2
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov byte [esp + 0x13], al
mov cl, dh
movzx edx, word [ebx + 0x14]
movzx ebp, cx
and ebp, edx
add ebp, dword [ebx + 0x38]
test al, al
je 0x43c53a
cmp byte [ebx + 4], 0
je 0x43c52b
push ebp
push ebx
call fcn.004351a0
movzx ecx, word [ebx + 0x10]
mov edx, dword [esi + 0x24]
movzx eax, ax
lea ecx, [eax + ecx + 2]
add edx, edx
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
add esp, 8
cmp ecx, edx
jg 0x43c52b
mov dword [esp + 0x24], 1
jmp 0x43c53a
mov eax, edi
call fcn.00434a70
test eax, eax
jne 0x43c742
cmp byte [ebx + 4], 0
jne 0x43c55e
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x20], 0
call fcn.00439400
add esp, 8
test eax, eax
jne 0x43c742
test byte [edi + 0x40], 0x20
je 0x43c578
mov ecx, dword [edi + 0x34]
mov edx, edi
mov eax, esi
call fcn.00434ae0
test eax, eax
jne 0x43c742
cmp dword [edi + 0x48], 0
jne 0x43c594
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edx
xor esi, esi
call fcn.00434990
add esp, 8
mov esi, dword [ebx + 0x48]
call fcn.00431310
test eax, eax
jne 0x43c742
lea eax, [esp + 0x14]
push eax
mov eax, ebp
mov ecx, ebx
call fcn.00439d30
movzx edx, word [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push edx
push eax
mov esi, ebx
call fcn.0043a1b0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jne 0x43c742
cmp byte [ebx + 4], al
jne 0x43c6a9
movsx ecx, byte [edi + 0x44]
mov ebp, dword [edi + ecx*4 + 0x78]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + edx*4 + 0x7c]
mov ecx, dword [eax + 0x54]
movzx edx, word [ebp + 0x12]
mov eax, dword [ebp + 0x40]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x14], ecx
mov cx, word [eax + edx*2 - 2]
mov dh, cl
mov dl, ch
movzx ecx, word [ebp + 0x14]
movzx eax, dx
and eax, ecx
add eax, esi
add esi, 4
mov dword [esp + 0x30], eax
cmp eax, esi
jae 0x43c639
mov eax, 0xfa0d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
jmp fcn.0048f520
mov edx, dword [ebp + 0x4c]
push eax
push ebp
call edx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x50]
mov esi, dword [ebp + 0x48]
movzx eax, ax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
call fcn.00431310
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 4]
push edx
add eax, 0xfffffffc
push eax
mov eax, dword [esp + 0x40]
push ecx
push ebx
call fcn.0043a300
movzx eax, word [ebp + 0x12]
lea edx, [esp + 0x38]
push edx
push esi
dec eax
push eax
mov esi, ebp
call fcn.0043a1b0
mov eax, dword [esp + 0x44]
add esp, 0x2c
test eax, eax
jne 0x43c742
call fcn.0043c0a0
test eax, eax
jne 0x43c742
movsx ecx, byte [edi + 0x44]
mov esi, dword [esp + 0x20]
cmp ecx, esi
jle 0x43c6f2
mov al, byte [edi + 0x44]
movsx edx, al
mov ecx, dword [edi + edx*4 + 0x78]
dec al
mov byte [edi + 0x44], al
test ecx, ecx
je 0x43c6e1
mov eax, dword [ecx + 0x48]
push eax
call fcn.00430d40
add esp, 4
movsx ecx, byte [edi + 0x44]
cmp ecx, esi
jg 0x43c6c2
call fcn.0043c0a0
test eax, eax
jne 0x43c742
cmp dword [esp + 0x24], 0
je 0x43c730
mov byte [edi + 0x42], 2
movzx edx, word [ebx + 0x12]
cmp dword [esp + 0x1c], edx
jl 0x43c721
mov dword [edi + 0x3c], 0xffffffff
mov cx, word [ebx + 0x12]
dec cx
mov word [edi + esi*2 + 0x50], cx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov dword [edi + 0x3c], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov esi, edi
call fcn.00438a60
cmp byte [esp + 0x13], 0
je 0x43c742
mov byte [edi + 0x42], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret