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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x43b574
sub esp, 0x84
lea edi, [esp + 0x8c]
xor eax, eax
call fcn.0044ac86
mov ecx, dword [esp + 0x88]
jmp 0x43b000
mov edx, dword [esp + 0x88]
mov ecx, edx
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
lea ebx, [ecx + 0xc]
mov dword [esp + 0x58], ebx
cmp edx, 2
jge 0x43b53f
mov ebp, dword [ecx + 4]
mov eax, ebx
mov ebx, dword [ecx + 8]
mov edi, edx
mov edx, dword [ecx]
test ebp, ebp
je 0x43b38b
mov esi, dword [edx]
dec ebp
mov dword [ecx + 4], ebp
dec ebx
mov dword [ecx + 8], ebx
mov ebp, dword [0x5a1420]
neg ebx
sar ebx, 0x1f
and ebx, 4
add edx, ebx
test ebp, ebp
jne 0x43b37d
mov dword [ecx], edx
mov dword [esp + 0x20], esi
mov dword [esp], esi
call fcn.0043c250
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x43b18c
mov ecx, dword [0x590fec]
test ecx, ecx
je 0x43aff7
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0043b580
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 8]
lea ebx, [ecx + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
cmp ebx, esi
ja 0x43b13d
cmp ecx, ebx
ja 0x43b56a
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], ebp
lea ebx, [0x4d77c0]
mov dword [esp], ebx
lea ebx, [ecx + ecx*4]
sub esi, ecx
shl ebx, 3
mov ecx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
lea ebx, [ebp + esi]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
call fcn.0040e570
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x88]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [0x5a1420]
test eax, eax
jne 0x43b125
mov ecx, dword [esp + 0x54]
mov dword [edi + 0xc], ecx
jmp 0x43aff7
mov eax, edi
mov edi, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0044aa90
mov edi, ecx
jmp 0x43aff7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], eax
lea eax, [0x4d77c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00436c10
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
jmp 0x43b0ab
mov edx, dword [eax]
test edx, edx
jne 0x43b195
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x20]
cmp ebx, edx
jbe 0x43b1a2
dec ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043c840
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x4c]
cmp byte [edx + 0x23], 4
ja 0x43b369
xor ebx, ebx
test ebx, ebx
jne 0x43b2d8
mov ebx, edx
mov dword [esp + 0x3c], ecx
lea edi, [esp + 0x5c]
lea esi, [0x502360]
call fcn.0044b13c
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x14]
mov eax, ecx
mov ecx, dword [ecx + 0xc]
cmp ebx, ebp
ja 0x43b281
lea ebx, [edx + 1]
mov dword [eax + 0x10], ebx
lea edx, [edx + edx*4]
lea edi, [ecx + edx*8]
mov ecx, dword [0x5a1420]
test ecx, ecx
jne 0x43b25b
lea esi, [esp + 0x5c]
call fcn.0044b13c
jmp 0x43aff7
lea eax, [0x4d77c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.0040e2f0
mov eax, dword [esp + 0x88]
jmp 0x43aff7
lea eax, [0x4d77c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00436c10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x14], edx
mov edx, dword [0x5a1420]
test edx, edx
jne 0x43b2cd
mov dword [ebx + 0xc], eax
mov edx, ecx
mov ecx, eax
mov eax, ebx
jmp 0x43b237
mov edi, dword [esp + 0x58]
call fcn.0044aa90
jmp 0x43b2c2
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.0043cc70
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x43b32f
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov ebp, edx
mov edx, eax
mov eax, ebp
jmp 0x43b1dc
cmp eax, 0x100000
jae 0x43b560
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0043c8c0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, eax
jmp 0x43b320
lea ebp, [edx + 0x23]
mov ebx, ebp
mov ebp, dword [edx + 0x1c]
lea ebp, [ebx + ebp*4 + 0x11]
mov ebx, dword [ebp]
jmp 0x43b1d2
mov edi, ecx
mov eax, edx
call fcn.0044aa90
jmp 0x43b04e
test edi, edi
je 0x43b530
cmp edi, 1
jne 0x43b447
lea edi, [esp + 0x8c]
call fcn.0044b13c
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 2
mov edx, dword [0x5a1420]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x43b43c
mov dword [ecx + 0xc], ebx
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xac]
test ecx, ecx
jne 0x43b3ee
test eax, eax
setg al
mov byte [esp + 0xb4], al
add esp, 0x84
ret
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
call fcn.0043c950
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
jmp 0x43b3db
mov edi, eax
mov eax, ebx
call fcn.0044aa90
jmp 0x43b3cd
cmp edi, 2
jne 0x43b4db
lea edi, [esp + 0x8c]
call fcn.0044b13c
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
cmp edx, 1
jbe 0x43b554
lea edi, [ecx + 0x18]
mov edx, dword [0x5a1420]
lea esi, [ebx + 0x28]
test edx, edx
jne 0x43b4bf
call fcn.0044b13c
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 2
mov edx, dword [0x5a1420]
lea ebx, [ecx + 0x18]
test edx, edx
jne 0x43b4b1
mov dword [ecx + 0xc], ebx
jmp 0x43b3cd
mov edi, eax
mov eax, ebx
call fcn.0044aa90
jmp 0x43b3cd
lea eax, [0x4d77c0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.0040e2f0
mov eax, dword [esp + 0x58]
jmp 0x43b487
lea edi, [esp + 0x8c]
call fcn.0044b13c
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 0xc]
cmp edx, 1
jb 0x43b548
dec edx
mov dword [ecx + 0x10], edx
lea edx, [ebx - 1]
mov dword [ecx + 0x14], edx
mov ebx, dword [0x5a1420]
neg edx
sar edx, 0x1f
and edx, 0x28
add edx, ebp
test ebx, ebx
jne 0x43b522
mov dword [ecx + 0xc], edx
jmp 0x43b3cd
mov edi, eax
mov eax, edx
call fcn.0044aa90
jmp 0x43b3cd
mov byte [esp + 0xb4], 0
add esp, 0x84
ret
mov eax, ebx
mov edi, edx
jmp 0x43b38b
mov eax, 1
mov ecx, edx
call fcn.0044ab70
mov eax, 1
mov ecx, edx
call fcn.0044ab10
mov ecx, 0x100000
call fcn.0044ab10
mov eax, ecx
mov ecx, ebx
call fcn.0044ab70
nop
call fcn.00449350
jmp fcn.0043afc0