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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
call 0x43f42c
pop eax
mov dword [esp + 0x54], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x40]
cmp eax, 1
je 0x43f4d3
cmp eax, 2
jne 0x43f63a
lea eax, [edx + 0xa0]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x43f52b
cmp eax, 2
jne 0x43f576
cmp byte [edx + 0x49], 0
jne 0x43f557
mov edx, dword [esp + 0x1c]
lea ebx, [esp + 0x20]
mov ecx, ebx
push 0x2000
push dword [ebp + 8]
call fcn.0043ff40
pop eax
pop ecx
cmp dword [ebx], 0
jne 0x43f54f
cmp dword [esp + 0x24], 0
je 0x43f5f6
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 8]
test edx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
sete byte [edi + 0x49]
jmp 0x43f60b
mov eax, dword [edx + 0x58]
mov ecx, dword [edx + 0x5c]
add eax, 0xfffffffe
adc ecx, 0xffffffff
xor edx, edx
push 3
pop esi
cmp esi, eax
sbb edx, ecx
jb 0x43f50a
test eax, eax
jne 0x43f50a
mov eax, dword [esp + 8]
mov edx, 0x4ba4a2
lea ecx, [eax + 0xb8]
lea eax, [0x4ba4bb]
push eax
call fcn.00408d0c
pop eax
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x54]
and dword [edx + 0x44], 0
mov dword [edx + 0x40], 2
push dword [ebp + 8]
call fcn.0043f418
pop eax
jmp 0x43f7ae
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
or ecx, eax
je 0x43f557
mov edx, dword [esp + 0x1c]
lea ebx, [esp + 0x20]
mov ecx, ebx
push eax
push dword [ebp + 8]
call fcn.0043ff40
pop eax
pop ecx
cmp dword [ebx], 0
je 0x43f58c
xor esi, esi
inc esi
jmp 0x43f670
mov dword [esp + 0x44], 0x4ba1c4
mov dword [esp + 0x48], 0x4e7238
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
jmp 0x43f687
movzx eax, byte [edx + 0x49]
and dword [esp + 0x60], 0
mov eax, dword [eax*4 + 0x43ff10]
add eax, dword [esp + 0x3c]
jmp eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test edx, edx
je 0x43f5c9
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x50]
mov edx, dword [edx + 0x54]
mov dword [esp + 0x18], esi
cmp eax, ecx
mov esi, edx
sbb esi, 0
jae 0x43f5d8
xor eax, eax
xor edx, edx
jmp 0x43f614
and dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
jmp 0x43f60b
test ecx, ecx
jne 0x43f60f
lea ebx, [esp + 0x48]
mov ecx, ebx
call fcn.0043ffb2
and dword [ebx - 4], 0
lea ecx, [esp + 0xc]
call fcn.0041c807
jmp 0x43f60b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
and dword [esp + 0x44], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], eax
xor esi, esi
jmp 0x43f670
sub eax, ecx
sbb edx, 0
mov ecx, dword [esp + 8]
movsd xmm0, qword [esp + 0xc]
movsd xmm1, qword [esp + 0x14]
mov dword [ecx + 0x54], edx
mov dword [ecx + 0x50], eax
mov edx, ecx
movsd qword [esp + 0x4c], xmm1
movsd qword [esp + 0x44], xmm0
jmp 0x43f687
add edx, 0x40
lea eax, [esp + 0x40]
lea ecx, [esp + 0x20]
mov dword [eax], edx
xor edx, edx
mov dword [ecx], 0x4ba504
mov dword [eax + 4], 0x425d78
inc edx
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x4ba50c
call fcn.00493a60
ud2
mov edx, dword [esp + 8]
test esi, esi
je 0x43f687
mov eax, dword [esp + 0x54]
mov dword [eax], 2
jmp 0x43f7ae
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea esi, [edx + 0x48]
test ebx, ebx
je 0x43f6c6
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], eax
movzx eax, byte [esi]
test eax, eax
je 0x43f6db
cmp eax, 1
jne 0x43f70c
cmp byte [edx + 0x49], 0xb
jne 0x43f6e3
jmp 0x43f712
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], ebx
xor ecx, ecx
xor ebx, ebx
inc ebx
push 4
pop eax
jmp 0x43f768
mov eax, dword [edx + 0x50]
or eax, dword [edx + 0x54]
je 0x43f712
test ecx, ecx
je 0x43f734
movsd xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x54]
movsd xmm1, qword [esp + 0x28]
movsd qword [eax + 0xc], xmm1
movsd qword [eax + 4], xmm0
mov dword [eax], 1
jmp 0x43f7ae
cmp byte [edx + 0x49], 0
je 0x43f6e3
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], ecx
setne al
mov dword [esp + 0x5c], eax
push 3
pop eax
jne 0x43f760
jmp 0x43f74f
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], 0
push 4
pop eax
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.0041c807
mov edx, dword [esp + 8]
mov eax, ebx
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov dword [edx + 0x44], ecx
mov dword [edx + 0x40], eax
mov ecx, edx
mov edx, dword [ebp + 8]
call fcn.0043b284
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x74]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 8], edi
mov dword [eax + 0x10], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret