Function at 0x43d250
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.0x43d274
jmp dword [ecx*4 + 0x43d69c]
push eax
mov eax, dword [esp + 0x6c]
call fcn.0041a300
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43d2e0
push eax
mov eax, dword [esp + 0x6c]
call fcn.0041a330
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43d2e0
push eax
mov eax, dword [esp + 0x6c]
call fcn.00436d00
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43d2e0
push eax
mov eax, dword [esp + 0x6c]
call fcn.0043cc40
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x43d2e0
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 0x43d313
mov ebx, edi
sub ebx, edx
jmp 0x43d315
mov ebx, ecx
cmp dword [esi + 0x14], 0
je 0x43d323
mov ebx, ecx
mov dword [esp + 0x2c], ebx
jmp 0x43d327
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 0x43d34c
mov dword [esp + 0x20], 0
jmp 0x43d358
sub edi, ebp
mov dword [esp + 0x20], edi
cmp edi, ebx
jbe 0x43d358
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 0x43d3ba
lea ecx, [ecx]
cmp dword [edi], 1
jne 0x43d3a5
cmp esi, 1
jbe 0x43d3a5
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 0x43d380
jmp 0x43d3ba
cmp eax, ebx
jbe 0x43d3ba
cmp dword [edi], 1
jne 0x43d3ba
mov dword [edi], 0
mov dword [edx], 0
xor edi, edi
mov eax, ecx
cmp ecx, edi
je 0x43d3ee
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.0043cd90
add esp, 0x14
inc esi
mov eax, edi
test edi, edi
jne 0x43d3c2
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 0x43d4c8
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 0x43d4a8
mov eax, dword [esp]
test eax, eax
je 0x43d4a8
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.0043cfd0
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 0x43d458
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 0x43d4f4
mov esi, eax
cmp dword [esp + 0x78], edx
jne 0x43d570
lea edx, [esi + edi]
cmp edx, ecx
jae 0x43d570
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 0x43d525
mov eax, edx
mov ebx, eax
mov edx, ebp
call fcn.00445ec0
lea ecx, [eax + ebp]
mov dword [esp + 0x48], eax
cmp ecx, dword [esp + 0x38]
jne 0x43d555
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
lea ecx, [esi + edx]
mov edx, dword [esp + 0x5c]
add ecx, eax
call fcn.00445ec0
add eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
add esi, eax
lea eax, [esi + edi]
cmp eax, dword [esp + 0x3c]
jb 0x43d590
mov ecx, dword [esp + 0x30]
add ecx, edi
mov dword [esp + 0x14], ecx
jmp 0x43d590
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.00445ec0
add esi, eax
cmp esi, dword [esp + 0x18]
jbe 0x43d613
mov ecx, dword [esp + 0x34]
sub ecx, edi
cmp esi, ecx
jbe 0x43d5a7
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 0x43d606
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 0x43d66a
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov edx, dword [esp + 0x68]
cmp cl, byte [esi + edx]
jae 0x43d640
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov dword [esp + 0x4c], esi
cmp edi, dword [esp + 0x20]
jbe 0x43d682
mov eax, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x28], eax
jmp 0x43d658
mov ecx, dword [esp + 0x24]
mov dword [ecx], edi
mov dword [esp + 0x50], esi
cmp edi, dword [esp + 0x20]
jbe 0x43d68f
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x10], 0
mov edi, dword [eax]
jne 0x43d4c0
jmp 0x43d454
cmp dword [esp + 0x78], 2
jne 0x43d458
mov dword [esp + 0x10], 0
jmp 0x43d458
lea edx, [esp + 0x5c]
mov dword [esp + 0x28], edx
jmp 0x43d458
lea eax, [esp + 0x5c]
mov dword [esp + 0x24], eax
jmp 0x43d458