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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov esi, dword [esp + 0x5c]
xor ebx, ebx
mov word [esp + 2], bx
mov word [esp], bx
test esi, esi
je 0x41a240
cmp dword [esi + 0x14], 1
je 0x41a24a
test byte [esi + 0x50], 0xf
je 0x41a099
lea eax, [esi + 0xc8]
xor ecx, ecx
lea edx, [esp + 0x14]
mov dword [edx], ecx
push 4
push ecx
push ecx
push edx
push 0x45615c
push eax
call fcn.00416641
add esp, 0x18
mov ebx, 0xfffffff4
cmp eax, 1
ja 0x41a24a
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
mov word [esi + 0xa8], 8
push dword [esi + 0x5c]
call fcn.0043ff10
add esp, 4
mov ebp, eax
mov ecx, dword [esi + 0x4e010]
mov edx, dword [esi + 0x4e014]
mov eax, esp
lea edi, [esp + 2]
push eax
push edi
call fcn.0041918c
add esp, 8
lea eax, [esp + 0x30]
mov dword [eax], 0x8074b50
mov ecx, dword [esi + 0x70]
mov dword [eax + 4], ecx
movsd xmm0, qword [esi + 0x68]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [esi + 0x60]
movsd qword [eax + 0x10], xmm0
push 0x18
push eax
push dword [esi + 0x7c]
push dword [esi + 0x78]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
mov ebx, 0xfffffff2
cmp eax, 0x18
jne 0x41a24a
add dword [esi + 0x78], 0x18
adc dword [esi + 0x7c], 0
lea eax, [esi + 0x68]
lea edi, [esi + 0xa0]
xor ebx, ebx
mov ecx, 0xfffffffe
cmp ecx, dword [esi + 0xa0]
mov edx, 0
sbb edx, dword [esi + 0xa4]
cmovae edi, ebx
cmp ecx, dword [esi + 0x68]
mov edx, 0
sbb edx, dword [esi + 0x6c]
cmovae eax, ebx
cmp ecx, dword [esi + 0x60]
mov ecx, 0
sbb ecx, dword [esi + 0x64]
lea ebx, [esi + 0x60]
mov edx, 0
cmovb edx, ebx
lea ecx, [esp + 0x14]
push edi
push eax
call fcn.00419297
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov edx, dword [esi + 0x5c]
and ebp, 0xffff
je 0x41a18c
cmp byte [ebp + edx - 1], 0x2f
jne 0x41a18c
mov ecx, dword [ebx]
or ecx, dword [ebx + 4]
jne 0x41a18c
or byte [esi + 0x4e008], 0x10
mov ecx, dword [esi + 0x4e008]
mov eax, dword [esi + 0xa0]
mov dword [esp + 4], eax
mov ebx, dword [esi + 0xa4]
movzx ebp, word [esp]
movzx eax, word [esp + 2]
mov dword [esp + 8], edx
movzx edx, word [esi + 0xa8]
mov edi, dword [esi + 0x70]
movups xmm0, xmmword [esi + 0x60]
sub esp, 0x4c
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], eax
movzx eax, word [esp + 0x58]
mov dword [esp + 8], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
movups xmmword [esp + 0x14], xmm0
movzx eax, word [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 0x2c], 0x808
mov dword [esp + 0xc], 0x45615c
mov ecx, esi
mov edx, dword [esp + 0x54]
call fcn.00419400
add esp, 0x4c
test eax, eax
je 0x41a245
inc dword [esi + 0x10]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esi + 4], ecx
mov dword [esi], eax
xor ebx, ebx
jmp 0x41a24a
xor ebx, ebx
dec ebx
jmp 0x41a26f
mov ebx, 0xfffffff1
xor eax, eax
mov dword [esi + 0x4e014], eax
mov dword [esi + 0x4e010], eax
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41a26f
push eax
call fcn.0043fa5a
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, ebx
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret