Function at 0x41f840
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 0x41f8dd
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x41fc6a
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 0x14], ebx
js 0x41fc71
mov dword [esp + 0x10], edx
je 0x41f8e6
movzx eax, byte [0x7f7060]
mov eax, dword [0x7f70c0]
test eax, eax
je 0x41f8ee
mov ebx, dword [esp + 0x14]
jmp 0x41f904
mov eax, 2
xor ebx, ebx
jmp 0x41f915
mov ebx, dword [esp + 0x14]
mov eax, edx
jmp 0x41f90d
call sub.KERNEL32.dll_GetProcessHeap
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x41fc56
mov dword [0x7f70c0], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x41fc56
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 0x41f9b1
xor eax, eax
cmp ecx, 0x8000000
setb byte [esp + 8]
jae 0x41fc78
movzx ebx, byte [esp + 8]
mov edx, ecx
shl edx, 4
mov al, bl
shl eax, 3
test edx, edx
js 0x41fc78
mov dword [esp + 8], eax
je 0x41f9ba
movzx eax, byte [0x7f7060]
mov eax, dword [0x7f70c0]
test eax, eax
jne 0x41f997
mov dword [esp + 4], edx
call sub.KERNEL32.dll_GetProcessHeap
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x41fc63
mov dword [0x7f70c0], 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 0x41f9c8
jmp 0x41fc63
mov eax, 8
xor edx, edx
jmp 0x41f9c8
mov ecx, dword [esp + 8]
mov eax, ecx
test eax, eax
je 0x41fc63
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 0x41fa64
mov dword [esp], edx
xor edx, edx
cmp ecx, 0x20000000
setb al
jae 0x41fc7f
mov dl, al
lea ebx, [ecx*4]
add edx, edx
test ebx, ebx
mov dword [esp + 4], ebx
js 0x41fc7f
mov dword [esp + 0x18], edx
je 0x41fc26
movzx eax, byte [0x7f7060]
mov eax, dword [0x7f70c0]
test eax, eax
jne 0x41fa43
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x41fc37
mov dword [0x7f70c0], 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 0x41fc37
mov ecx, dword [esp + 4]
jmp 0x41fa6b
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 0x41fb02
mov dword [esp + 0x20], eax
xor eax, eax
cmp ecx, 0x2492493
setb bl
jae 0x41fc86
mov al, bl
imul edx, ecx, 0x38
shl eax, 3
test edx, edx
js 0x41fc86
mov dword [esp], eax
je 0x41fc42
movzx eax, byte [0x7f7060]
mov eax, dword [0x7f70c0]
test eax, eax
jne 0x41fae2
mov ebx, edx
call sub.KERNEL32.dll_GetProcessHeap
mov ecx, dword [esp]
mov edx, ebx
test eax, eax
je 0x41fc4f
mov dword [0x7f70c0], 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 0x41fc4f
mov eax, dword [esp + 0x20]
jmp 0x41fb09
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 0x41fb42
movaps xmm1, xmmword [0x4461c0]
jmp 0x41fb60
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.004236f0
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 0x41fa5e
mov edx, dword [esp + 4]
call fcn.00403710
jmp 0x41fc8b
mov ecx, dword [esp]
mov ebx, ecx
test ebx, ebx
jne 0x41fafc
call fcn.00403710
jmp 0x41fc8b
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.00403710
ud2
call fcn.00403710
jmp 0x41fc8b
call fcn.004036d0
ud2
call fcn.004036d0
ud2
call fcn.004036d0
jmp 0x41fc8b
call fcn.004036d0
jmp 0x41fc8b
call fcn.004036d0
ud2