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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.0043c645
test eax, eax
jne 0x43c63c
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
movlpd qword [esp + 0x28], xmm0
mov dl, al
mov edi, eax
movlpd qword [esp + 0x38], xmm0
mov ebx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x43c41a
mov eax, dword [esp + 0x3c]
cmp eax, dword [ecx + 4]
ja 0x43c633
jb 0x43c41a
mov eax, dword [esp + 0x38]
cmp eax, dword [ecx]
jae 0x43c633
xor eax, eax
mov dword [esp + 0x14], eax
test dl, dl
jne 0x43c45c
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
sub eax, edi
mov ecx, dword [ebp + 0xc]
add edx, edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.0043d21b
add edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x38]
push 1
setne cl
mov dword [esp + 0x18], eax
movzx edx, cl
test eax, eax
pop ecx
cmovne edx, ecx
mov dword [esp + 0x10], edx
test edi, edi
je 0x43c63c
cmp edi, ebx
je 0x43c4e5
mov edx, dword [esi + 0x78]
mov eax, edi
sub eax, ebx
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [edx]
add eax, ebx
push eax
push edx
call dword [ecx + 0x10]
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x43c4e5
lea edx, [ecx + ebx]
mov dword [esp + 0x28], edx
cmp ecx, dword [esp + 0x1c]
jbe 0x43c4df
cmp dword [esp + 0x14], 0
jne 0x43c511
cmp byte [esi + 0x44], 0
je 0x43c508
mov eax, dword [esi + 0x38]
sub eax, ebx
cmp ecx, eax
ja 0x43c508
cmp byte [esp + 0x10], 0
je 0x43c508
mov eax, dword [esi + 0x34]
xor ecx, ecx
mov byte [eax + edi], cl
inc edi
cmp edi, edx
jne 0x43c4b9
mov ecx, dword [esi + 0x78]
add eax, ebx
push dword [esp + 0x18]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
cmp dword [esp + 0x18], eax
jne 0x43c637
mov edx, dword [esp + 0x28]
mov ebx, edx
cmp edi, edx
jne 0x43c468
xor eax, eax
mov esi, ebx
mov cl, al
cmp dword [esp + 0x14], eax
jne 0x43c521
mov eax, ebx
and eax, 0xffffffc0
cmp byte [esp + 0x10], 0
je 0x43c51f
mov edx, dword [ebp + 8]
test cl, cl
jne 0x43c515
mov esi, edi
jmp 0x43c524
xor eax, eax
mov esi, ebx
lea ecx, [eax + 1]
jmp 0x43c4f1
mov esi, ebx
jmp 0x43c521
cmp byte [edx + 0x44], 0
je 0x43c524
mov esi, eax
jmp 0x43c524
mov esi, eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov ecx, esi
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x43c55b
mov eax, dword [eax]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 4]
sbb eax, dword [esp + 0x3c]
cmp dword [esp + 0x34], eax
jb 0x43c55b
mov eax, dword [esp + 0x18]
ja 0x43c555
cmp esi, eax
jbe 0x43c55b
mov ecx, eax
mov dword [esp + 0x1c], eax
mov edx, dword [edx + 0x34]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0043d265
test eax, eax
jne 0x43c63c
mov eax, dword [esp + 0x1c]
add dword [esp + 0x38], eax
push 0
pop eax
adc dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x43c63c
mov edx, dword [esp + 0x10]
test dl, dl
je 0x43c5ab
cmp edi, esi
je 0x43c633
mov eax, dword [ebp + 8]
cmp byte [eax + 0x44], 0
jne 0x43c5ae
xor eax, eax
inc eax
jmp 0x43c63c
mov eax, dword [ebp + 8]
test esi, esi
je 0x43c637
cmp ebx, esi
jb 0x43c637
sub ebx, esi
sub edi, esi
je 0x43c5d5
mov ecx, dword [eax + 0x34]
push edi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.0041ddc0
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [ebp + 0x1c], 0
mov esi, dword [ebp + 8]
je 0x43c3f8
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
sbb eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jne 0x43c604
cmp ecx, 0x400000
jb 0x43c3f8
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x43c63c
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x10]
jmp 0x43c3f8
xor eax, eax
jmp 0x43c63c
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18