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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov edi, ecx
mov esi, dword [ebp + 8]
call fcn.00426d90
lea ecx, [edi + 4]
mov dword [esp + 0x18], ecx
call fcn.00426d90
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x10]
movups xmmword [edi + 0xc], xmm0
movups xmmword [edi + 0x1c], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x2c], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x3c], xmm0
mov dword [esp], edi
cmp dword [edi + 0x68], 0
je 0x412fef
mov eax, dword [esp]
lea ecx, [eax + 0xc]
mov dword [esp + 0x3c], ecx
add eax, 0x60
mov dword [esp + 0x1c], eax
xor edx, edx
lea edi, [esp + 0x40]
jmp 0x412da3
mov edx, dword [esp + 0x20]
add edx, 1
mov eax, dword [esp]
cmp edx, dword [eax + 0x68]
jae 0x412fef
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
push edx
call fcn.0041fd70
mov esi, dword [eax]
mov ecx, esi
call fcn.00418e20
lea eax, [esi + 0x20]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
lea eax, [esi + 0x78]
mov dword [esp + 0x24], eax
xor edx, edx
jmp 0x412def
mov edx, dword [esp + 0x10]
add edx, 1
cmp edx, 0x100
je 0x412d90
mov eax, edx
shr eax, 4
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [esp + 0x10], edx
mov ecx, edx
and ecx, 0xf
test eax, eax
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
cmove eax, dword [esp + 0x2c]
cmp dword [eax + 8], 0
je 0x412de0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push esi
call fcn.00418640
mov ebx, eax
mov ecx, dword [esp + 0x24]
push esi
call fcn.00418b30
mov dword [esp + 0x14], eax
cmp dword [ebx + 8], 0
je 0x412de0
add dword [esp + 0x14], 4
xor eax, eax
mov dword [esp + 0x34], ebx
jmp 0x412e60
mov eax, dword [esp + 0x38]
add eax, 1
mov ebx, dword [esp + 0x34]
cmp eax, dword [ebx + 8]
jae 0x412de0
mov ecx, ebx
mov dword [esp + 0x38], eax
push eax
call fcn.0041fd70
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
push 0x20
call fcn.004227e0
add esp, 4
mov ebx, eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0x54e978
lea esi, [eax + 0xc]
mov ecx, esi
push 7
push 4
call fcn.0041f240
mov eax, dword [esp + 4]
mov dword [ebx + 0xc], 0x54e71c
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
cmp dword [eax + 0x20], 0
je 0x412fb0
xor esi, esi
xor ebx, ebx
jmp 0x412ef3
add ebx, 1
add esi, 4
mov eax, dword [esp + 4]
cmp ebx, dword [eax + 0x20]
jae 0x412fb0
mov ecx, edi
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov edi, dword [eax + 0x14]
add eax, 0x14
cmp edi, 0x40
jb 0x412f50
movups xmm0, xmmword [eax + 0x30]
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [eax + 0x20]
movaps xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esp + 0x50], xmm1
movaps xmmword [esp + 0x40], xmm0
mov edi, ecx
jmp 0x412f78
push edi
push eax
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
lea eax, [esp + edi]
add eax, 0x40
mov ecx, 0x40
sub ecx, edi
lea edi, [esp + 0x40]
push ecx
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [esp + 0x40], 0x40
mov ecx, edi
push dword [esp + 0x3c]
call fcn.0040e610
test al, al
je 0x412ee0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x1c]
add eax, esi
push eax
call fcn.0041fc10
jmp 0x412ee0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
call fcn.0041fc10
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x412e50
mov eax, 0xffffffff
lock xadd dword [ebx + 4], eax
test eax, eax
jne 0x412e50
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov ecx, ebx
call fcn.00439db0
jmp 0x412e50
mov ecx, dword [esp + 0x18]
call fcn.00426da0
mov ecx, dword [esp]
call fcn.00426da0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4