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

Disassembly:
mov ecx, dword [0xea21bc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x43bd46
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
jne 0x43bd14
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x43bd03
mov ebx, dword [ecx + 0x7c]
test ebx, ebx
jne 0x43bd03
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
jne 0x43bd03
mov ecx, dword [ecx + 0x78]
test ecx, ecx
jne 0x43bd03
cmp dword [edx + 4], 1
jne 0x43bd03
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jb 0x43ba81
sub ecx, eax
cmp dword [0xe1deb8], ecx
jbe 0x43ba92
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00456c80
mov eax, dword [esp + 4]
test eax, eax
je 0x43bcf2
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
call fcn.004579a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, 0xfffffffe
je 0x43bce1
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x2b], 1
ja 0x43baf5
mov ebp, dword [esp + 0x2c]
xor esi, esi
jmp 0x43bb19
lea ebx, [edx + 0x2b]
mov ebp, dword [esp + 0x2c]
mov esi, dword [ebp + 0xa0]
mov edi, dword [edx + 0x1c]
lea ebx, [ebx + edi*4 + 5]
mov ebx, dword [ebx]
add esi, ebx
cmp ebx, 0xffffffff
sete bl
movzx ebx, bl
dec ebx
and esi, ebx
test esi, esi
je 0x43bcd0
movzx ebx, byte [edx + 0x29]
test bl, 4
jne 0x43bcd0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00457bb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
test eax, eax
jge 0x43bb69
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43bb63
mov eax, dword [eax + 4]
jmp 0x43bb81
xor eax, eax
xor ecx, ecx
jmp 0x43bb81
cmp eax, 0x100000
jae 0x43bd3b
mov edx, dword [esp + 0x14]
test byte [edx], al
shl eax, 4
mov eax, dword [edx + eax + 4]
test ecx, ecx
jne 0x43bb8b
xor ecx, ecx
xor eax, eax
jmp 0x43bb9f
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00456880
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
cmp ecx, 8
jge 0x43bbb0
xor edx, edx
jmp 0x43bbd9
mov dword [esp], eax
lea ecx, [0x774e52]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.00403390
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x34]
test dl, dl
je 0x43bbe4
mov edx, 1
jmp 0x43bc16
cmp ecx, 0x11
jge 0x43bbed
xor edx, edx
jmp 0x43bc16
mov dword [esp], eax
lea ecx, [0x77a7c9]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.00403390
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x34]
test dl, dl
jne 0x43bc46
cmp ecx, 8
jge 0x43bc23
xor eax, eax
jmp 0x43bc42
mov dword [esp], eax
lea eax, [0x774e62]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.00403390
movzx eax, byte [esp + 0xc]
test al, al
je 0x43bc57
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov eax, dword [esp + 0x24]
cmp eax, 0xfffffffb
je 0x43bca9
add eax, 4
cmp eax, 1
ja 0x43bc98
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43bd25
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jb 0x43bd25
sub ecx, eax
cmp ecx, 0x14
ja 0x43bd25
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00456750
mov eax, dword [esp + 8]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
lea eax, [0x77874c]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043a060
mov ecx, 0x100000
call fcn.0046c290
nop
call fcn.0046ae10
jmp fcn.0043ba10