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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, edx
mov edi, ecx
mov edx, dword [edx + 0x50]
movzx eax, byte [esi + 0x95]
mov ecx, dword [esi + 0x5c]
movsd xmm0, qword [esi + 0x84]
mov ebx, dword [esi + 0x54]
mov dword [esp + 0x24], edx
mov byte [esp + 0xf], al
mov eax, dword [esi + 0x8c]
test ecx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
je 0x41f8ed
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x41fc7a
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 0x14], ebx
js 0x41fc81
mov dword [esp + 0x10], edx
je 0x41f8f6
movzx eax, byte [0x8fa060]
mov eax, dword [0x8fa0c0]
test eax, eax
je 0x41f8fe
mov ebx, dword [esp + 0x14]
jmp 0x41f914
mov eax, 2
xor ebx, ebx
jmp 0x41f925
mov ebx, dword [esp + 0x14]
mov eax, edx
jmp 0x41f91d
call sub.KERNEL32.dll_GetProcessHeap
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x41fc66
mov dword [0x8fa0c0], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x41fc66
push ebx
push dword [esp + 0x20]
mov dword [esp + 0x24], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x60]
test ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
je 0x41f9c1
xor eax, eax
cmp ecx, 0x8000000
setb byte [esp + 8]
jae 0x41fc88
movzx ebx, byte [esp + 8]
mov edx, ecx
shl edx, 4
mov al, bl
shl eax, 3
test edx, edx
js 0x41fc88
mov dword [esp + 8], eax
je 0x41f9ca
movzx eax, byte [0x8fa060]
mov eax, dword [0x8fa0c0]
test eax, eax
jne 0x41f9a7
mov dword [esp + 4], edx
call sub.KERNEL32.dll_GetProcessHeap
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x41fc73
mov dword [0x8fa0c0], eax
push edx
push 0
push eax
mov ebx, edx
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [esp + 8]
mov edx, ebx
test eax, eax
jne 0x41f9d8
jmp 0x41fc73
mov eax, 8
xor edx, edx
jmp 0x41f9d8
mov ecx, dword [esp + 8]
mov eax, ecx
test eax, eax
je 0x41fc73
push edx
push dword [esp + 0x14]
mov dword [esp + 0x18], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x6c]
test ecx, ecx
mov dword [esp + 8], ecx
je 0x41fa74
mov dword [esp], edx
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x41fc8f
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 4], ebx
js 0x41fc8f
mov dword [esp + 0x18], edx
je 0x41fc36
movzx eax, byte [0x8fa060]
mov eax, dword [0x8fa0c0]
test eax, eax
jne 0x41fa53
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x41fc47
mov dword [0x8fa0c0], eax
push dword [esp + 4]
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edx, dword [esp]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x41fc47
mov ecx, dword [esp + 4]
jmp 0x41fa7b
mov eax, 2
xor ecx, ecx
push ecx
push edx
mov dword [esp + 0xc], eax
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x78]
test ecx, ecx
mov dword [esp + 0x18], ecx
je 0x41fb12
mov dword [esp + 0x20], eax
xor eax, eax
cmp ecx, 0x2492493
setb bl
jae 0x41fc96
mov al, bl
imul edx, ecx, 0x38
shl eax, 3
test edx, edx
js 0x41fc96
mov dword [esp], eax
je 0x41fc52
movzx eax, byte [0x8fa060]
mov eax, dword [0x8fa0c0]
test eax, eax
jne 0x41faf2
mov ebx, edx
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp]
mov edx, ebx
test eax, eax
je 0x41fc5f
mov dword [0x8fa0c0], eax
push edx
push 0
push eax
mov ebx, edx
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [esp]
mov edx, ebx
mov ebx, eax
test ebx, ebx
je 0x41fc5f
mov eax, dword [esp + 0x20]
jmp 0x41fb19
mov ebx, 8
xor edx, edx
push edx
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x48]
xor eax, 0x2e
mov dword [esp], ecx
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x30], edx
or eax, dword [esi + 4]
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
jne 0x41fb52
movaps xmm1, xmmword [0x4461c0]
jmp 0x41fb70
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.00423700
movups xmm2, xmmword [esi + 0x10]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
movups xmm0, xmmword [esi + 0x28]
movups xmm1, xmmword [esp + 0x58]
mov edx, dword [esp + 0x24]
movaps xmm3, xmmword [esp + 0x40]
mov dword [edi + 0x50], edx
mov edx, dword [esp + 0x34]
movlps qword [edi + 0x84], xmm3
mov dword [edi + 0x8c], edx
mov edx, dword [esi + 0x90]
mov dword [edi + 0x90], edx
movzx edx, byte [esi + 0x94]
mov esi, dword [esp + 0x18]
mov byte [edi + 0x94], dl
movzx edx, byte [esp + 0xf]
mov byte [edi + 0x95], dl
mov edx, dword [esp + 0x38]
mov dword [edi + 0x38], edx
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x3c], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x54], edx
mov edx, dword [esp + 0x28]
mov dword [edi + 0x58], edx
mov dword [edi + 0x5c], edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0x60], edx
mov edx, dword [esp + 0x14]
mov dword [edi + 0x64], edx
mov dword [edi + 0x68], edx
mov edx, dword [esp + 4]
mov dword [edi + 0x6c], edx
mov edx, dword [esp + 8]
mov dword [edi + 0x70], edx
mov dword [edi + 0x74], edx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], esi
mov ebx, dword [esp]
mov esi, dword [esp + 0x20]
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], esi
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], esi
movups xmmword [edi], xmm1
movups xmmword [edi + 0x10], xmm2
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
movups xmmword [edi + 0x28], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [esp]
mov eax, ecx
test eax, eax
jne 0x41fa6e
mov edx, dword [esp + 4]
call fcn.00403720
jmp 0x41fc9b
mov ecx, dword [esp]
mov ebx, ecx
test ebx, ebx
jne 0x41fb0c
call fcn.00403720
jmp 0x41fc9b
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.00403720
ud2
call fcn.00403720
jmp 0x41fc9b
call fcn.004036e0
ud2
call fcn.004036e0
ud2
call fcn.004036e0
jmp 0x41fc9b
call fcn.004036e0
jmp 0x41fc9b
call fcn.004036e0
ud2