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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x64]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0x80]
push edi
mov edi, dword [esi + 0x20]
add ecx, 0xfffffffb
mov dword [esp + 0x54], edi
cmp ecx, 3
ja case.default.0x43e3e4
jmp dword [ecx*4 + 0x43e80c]
push eax
mov eax, dword [esp + 0x6c]
call fcn.0041b330
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43e450
push eax
mov eax, dword [esp + 0x6c]
call fcn.00448090
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43e450
push eax
mov eax, dword [esp + 0x6c]
call fcn.0043ddb0
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43e450
push eax
mov eax, dword [esp + 0x6c]
call fcn.00437dc0
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43e450
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
imul edx, edx, 0x9e3779b1
mov ecx, 0x20
sub ecx, eax
shr edx, cl
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
mov eax, dword [edi + edx*4]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x68]
sub edi, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
mov ebx, edi
sub ebx, ecx
mov dword [esp + 0x44], edi
cmp ebx, edx
jbe 0x43e483
mov ebx, edi
sub ebx, edx
jmp 0x43e485
mov ebx, ecx
cmp dword [esi + 0x14], 0
je 0x43e493
mov ebx, ecx
mov dword [esp + 0x2c], ebx
jmp 0x43e497
mov dword [esp + 0x2c], ebx
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x28]
dec ecx
mov ebp, 1
shl ebp, cl
mov dword [esp + 0x1c], edx
dec ebp
mov dword [esp + 0x40], ebp
cmp ebp, edi
jb 0x43e4bc
mov dword [esp + 0x20], 0
jmp 0x43e4c8
sub edi, ebp
mov dword [esp + 0x20], edi
cmp edi, ebx
jbe 0x43e4c8
mov ebx, edi
mov ecx, ebp
and ecx, eax
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 0x84]
mov esi, 1
shl esi, cl
xor ecx, ecx
lea edi, [edx + 4]
mov dword [esp + 0x10], esi
cmp eax, ebx
jbe 0x43e52a
lea ecx, [ecx]
cmp dword [edi], 1
jne 0x43e515
cmp esi, 1
jbe 0x43e515
mov dword [edi], ecx
mov edi, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [edx]
mov edx, ebp
and edx, eax
lea edx, [edi + edx*8]
dec esi
lea edi, [edx + 4]
cmp eax, ebx
ja 0x43e4f0
jmp 0x43e52a
cmp eax, ebx
jbe 0x43e52a
cmp dword [edi], 1
jne 0x43e52a
mov dword [edi], 0
mov dword [edx], 0
xor edi, edi
mov eax, ecx
cmp ecx, edi
je 0x43e55e
mov edx, dword [esp + 0x1c]
mov ecx, ebp
and ecx, eax
mov edi, dword [edx + ecx*8 + 4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
push ecx
push ebx
push esi
push edx
push eax
mov eax, dword [esp + 0x78]
call fcn.0043df00
add esp, 0x14
inc esi
mov eax, edi
test edi, edi
jne 0x43e532
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
lea eax, [ecx + ebx]
mov dword [esp + 0x38], eax
lea eax, [ecx + edx]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov edx, ebp
and edx, eax
lea edx, [esi + edx*8]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x28], edx
add edx, 4
cmp dword [esp + 0x10], 0
mov dword [esp + 0x24], edx
lea edx, [eax + 9]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x18], edi
mov edi, dword [esi + edx*4]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], ecx
mov dword [esi + edx*4], eax
jne 0x43e638
dec dword [esp + 0x10]
cmp dword [esp + 0x78], 2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov dword [edx], 0
pop ebx
jne 0x43e618
mov eax, dword [esp]
test eax, eax
je 0x43e618
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
mov eax, dword [esp + 0x78]
push ecx
call fcn.0043e140
add esp, 0x18
mov dword [esp + 8], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
add edx, 0xfffffff8
mov dword [eax + 0x18], edx
mov eax, dword [esp + 8]
add esp, 0x50
ret
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
mov edx, 1
sub dword [esp + 0x10], edx
cmp edi, dword [esp + 0x2c]
jbe 0x43e5c8
mov esi, dword [esp + 0x1c]
mov eax, ebp
and eax, edi
lea eax, [esi + eax*8]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
cmp esi, eax
jb 0x43e664
mov esi, eax
cmp dword [esp + 0x78], edx
jne 0x43e6e0
lea edx, [esi + edi]
cmp edx, ecx
jae 0x43e6e0
mov eax, dword [esp + 0x68]
lea ebp, [ebx + edi]
lea ecx, [esi + eax]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ebp
add ebp, esi
mov edx, ecx
sub edx, ebp
add eax, edx
mov edx, dword [esp + 0x6c]
cmp eax, edx
jb 0x43e695
mov eax, edx
mov ebx, eax
mov edx, ebp
call fcn.0043dd00
lea ecx, [eax + ebp]
mov dword [esp + 0x48], eax
cmp ecx, dword [esp + 0x38]
jne 0x43e6c5
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
lea ecx, [esi + edx]
mov edx, dword [esp + 0x5c]
add ecx, eax
call fcn.0043dd00
add eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
add esi, eax
lea eax, [esi + edi]
cmp eax, dword [esp + 0x3c]
jb 0x43e700
mov ecx, dword [esp + 0x30]
add ecx, edi
mov dword [esp + 0x14], ecx
jmp 0x43e700
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
lea eax, [edx + edi]
mov dword [esp + 0x14], eax
lea edx, [eax + esi]
mov eax, dword [esp + 0x68]
lea ecx, [esi + eax]
call fcn.0043dd00
add esi, eax
cmp esi, dword [esp + 0x18]
jbe 0x43e783
mov ecx, dword [esp + 0x34]
sub ecx, edi
cmp esi, ecx
jbe 0x43e717
lea edx, [esi + edi]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x44]
sub edx, edi
xor ebx, ebx
lea eax, [edx + 1]
bsr ecx, eax
setne al
movzx eax, al
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
inc ecx
bsr ecx, ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x48], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x48]
sub eax, ecx
mov ecx, esi
sub ecx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
cmp ecx, eax
jle 0x43e776
mov eax, dword [esp + 0x70]
add edx, 2
mov dword [esp + 0x18], esi
mov dword [eax], edx
mov ecx, dword [esp + 0x68]
lea edx, [esi + ecx]
cmp edx, dword [esp + 0x6c]
je 0x43e7da
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov edx, dword [esp + 0x68]
cmp cl, byte [esi + edx]
jae 0x43e7b0
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov dword [esp + 0x4c], esi
cmp edi, dword [esp + 0x20]
jbe 0x43e7f2
mov eax, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x28], eax
jmp 0x43e7c8
mov ecx, dword [esp + 0x24]
mov dword [ecx], edi
mov dword [esp + 0x50], esi
cmp edi, dword [esp + 0x20]
jbe 0x43e7ff
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
mov edi, dword [eax]
jne 0x43e630
jmp 0x43e5c4
cmp dword [esp + 0x78], 2
jne 0x43e5c8
mov dword [esp + 0x10], 0
jmp 0x43e5c8
lea edx, [esp + 0x5c]
mov dword [esp + 0x28], edx
jmp 0x43e5c8
lea eax, [esp + 0x5c]
mov dword [esp + 0x24], eax
jmp 0x43e5c8