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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, dword [edx + 0x28]
mov edi, dword [ebp + 8]
cmp esi, 4
jbe 0x43e1cd
mov esi, dword [edx + 8]
mov edx, dword [edx + 4]
mov eax, dword [edi + 0x28]
cmp eax, 4
ja 0x43e1d8
add edi, 8
jmp 0x43e1de
add edx, 8
mov eax, dword [edi + 0x28]
cmp eax, 4
jbe 0x43e1c8
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
mov dword [esp + 0x40], esi
lea esi, [esi + eax + 1]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
cmp esi, 5
jb 0x43e265
xor eax, eax
cmp esi, 0x10000000
setb cl
jae 0x43e423
mov al, cl
lea ebx, [esi*8]
shl eax, 3
test ebx, ebx
mov dword [esp + 4], ebx
js 0x43e42a
je 0x43e40a
mov ebx, eax
mov eax, dword [0x56bbf8]
mov eax, dword [eax]
test eax, eax
jne 0x43e248
call sub.kernel32.dll_GetProcessHeap
test eax, eax
je 0x43e414
mov ecx, dword [0x56bbf8]
mov dword [ecx], eax
push dword [esp + 4]
push 8
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x43e414
mov ebx, 1
mov ecx, esi
jmp 0x43e2c1
test esi, esi
je 0x43e28a
lea eax, [esi*8]
lea ecx, [esp + 8]
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
jmp 0x43e28a
mov eax, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
movsd xmm2, qword [esp + 0xc]
movsd xmm1, qword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x90], eax
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm2
movsd xmm1, qword [esp + 0x80]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
movsd xmm0, qword [esp + 0x78]
mov ebx, dword [esp + 0x90]
cmp esi, 4
movsd qword [esp + 0x5c], xmm1
movsd xmm1, qword [esp + 0x88]
movsd qword [esp + 0x54], xmm0
mov dword [esp + 0x6c], ebx
movsd qword [esp + 0x64], xmm1
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edx
ja 0x43e315
lea eax, [esp + 0x50]
mov ecx, esi
push dword [esp + 0x3c]
push edi
push dword [esp + 0x48]
push dword [esp + 0x50]
push ecx
push eax
call fcn.004422d0
add esp, 0x18
movsd xmm3, qword [esp + 0x70]
movsd xmm2, qword [esp + 0x68]
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
lea ecx, [esp + 0x10]
movsd qword [esp + 0x30], xmm3
movsd qword [esp + 0x28], xmm2
movsd xmm3, qword [esp + 0x60]
movsd xmm2, qword [esp + 0x58]
movsd qword [esp + 8], xmm0
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 0x20], xmm3
movsd qword [esp + 0x18], xmm2
mov edx, dword [esp + 0xc]
nop dword [eax]
mov esi, dword [esp + 0x30]
mov edi, ecx
cmp esi, 5
mov ebx, esi
jb 0x43e393
mov ebx, dword [esp + 0x10]
mov edi, edx
test ebx, ebx
je 0x43e3bd
test edi, edi
je 0x43e3bd
mov eax, dword [edi + ebx*8 - 8]
or eax, dword [edi + ebx*8 - 4]
jne 0x43e3bd
cmp esi, 5
lea edi, [esp + 0x30]
jb 0x43e3b4
mov esi, dword [esp + 0x10]
mov edi, ecx
test esi, esi
je 0x43e380
dec esi
mov dword [edi], esi
jmp 0x43e380
mov eax, dword [esp + 0x38]
movsd xmm1, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x20]
movsd xmm0, qword [esp + 0x30]
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [esp + 8]
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, eax
test eax, eax
jne 0x43e25c
push ebx
push dword [esp + 8]
call fcn.004085f0
add esp, 8
ud2
call fcn.004085b0
ud2
call fcn.004085b0
ud2