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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov ebx, dword [ebp + 8]
cmp dword [edx + 0xc], 0
mov esi, edx
mov dword [esp + 0x4c], ecx
je 0x41d11c
mov eax, dword [esp + 0x4c]
movsd xmm1, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x18]
movsd xmm0, qword [esi + 0x38]
movsd xmm3, qword [esi + 0x20]
lea edi, [esp + 0xb8]
mov ecx, 0x12
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [esp + 0xb0], xmm2
movsd xmm2, qword [esi]
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm3
movsd qword [eax + 8], xmm1
movsd xmm1, qword [esi + 0x10]
movsd qword [esp + 0x98], xmm2
add eax, 0x20
movsd qword [esp + 0xa8], xmm1
movsd xmm1, qword [esi + 8]
mov esi, ebx
movsd qword [esp + 0xa0], xmm1
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x98]
mov ecx, 0x1a
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x41d62e
mov eax, dword [ebx]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x2c]
cmp byte [ebx + 0x38], 0
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], edx
je 0x41d185
mov edx, dword [esi + 0x18]
mov ebx, dword [esi + 0x24]
mov ecx, dword [esi + 0x14]
test eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
je 0x41d3f8
mov edx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
mov ecx, 1
mov dword [esp + 0x28], eax
jmp 0x41d5dd
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x20], edi
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x34]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 8]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 4], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
test eax, eax
jne 0x41d68a
mov eax, dword [esp + 4]
test eax, eax
jne 0x41d693
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x41d652
mov edx, dword [esp + 0x40]
cmp edx, edi
je 0x41d5ce
add edi, 0xffffffe0
jmp 0x41d22b
cmp edi, edx
lea edi, [edi - 0x20]
je 0x41d5c8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
cmp eax, dword [edi + 0x10]
sbb ecx, dword [edi + 0x14]
jae 0x41d5bc
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
cmp eax, dword [edi + 8]
sbb ecx, dword [edi + 0xc]
jae 0x41d220
mov ebx, dword [esp + 0x3c]
mov eax, dword [edi + 4]
cmp dword [edi], ebx
sbb eax, dword [esp + 0x44]
jae 0x41d220
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x54]
mov dword [eax + 0x24], edi
mov eax, dword [edi + 0x18]
mov ecx, dword [edx + 0x10]
cmp eax, ecx
jae 0x41d69c
imul ebx, eax, 0x150
add ebx, dword [edx + 0xc]
mov edx, ebx
lea ecx, [esp + 0x98]
push dword [esp + 0x48]
call fcn.00419960
add esp, 4
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x98], 0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
je 0x41d2e9
xor ebx, ebx
lea edx, [esp + 0x88]
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x58]
push eax
call fcn.00419dc0
mov edx, dword [esp + 0x34]
add esp, 4
jmp 0x41d357
lea eax, [esp + 0xa0]
mov dword [esp + 0x50], ebx
mov ebx, ecx
movsd xmm0, qword [eax + 0x20]
lea eax, [esp + 0x68]
movsd qword [eax + 0x18], xmm0
lea eax, [esp + 0xa0]
movsd xmm0, qword [eax + 0x18]
lea eax, [esp + 0x68]
movsd qword [eax + 0x10], xmm0
lea eax, [esp + 0xa0]
movsd xmm0, qword [eax + 8]
movsd xmm1, qword [eax + 0x10]
lea eax, [esp + 0x68]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esp + 0xa0]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
lea eax, [esp + 0xa0]
movsd xmm0, qword [eax - 4]
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x30], edx
mov dword [esi], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
test ebx, ebx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esi + 8], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esi + 0xc], ebx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x10], eax
mov ebx, dword [ebp + 8]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x38], ecx
je 0x41d1e4
jmp 0x41d092
test ecx, ecx
mov dword [esp + 0x20], edi
je 0x41d636
mov eax, ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 4
mov dword [esp + 0xa0], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x41d579
mov eax, dword [esp + 4]
mov dword [esp + 8], 0
mov dword [esp + 0x2c], esi
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], eax
mov edi, ebx
xor ecx, ecx
mov dword [esp + 0x44], ebx
jmp 0x41d492
mov ecx, dword [esp + 0xc]
mov ebx, edi
mov edx, eax
mov edi, ebx
sub edi, ecx
jbe 0x41d579
mov eax, edx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 8]
shr edi, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], ecx
add edi, ecx
lea ebx, [edi + edi*2]
cmp dword [esi + ebx*8 + 0x10], edx
ja 0x41d480
mov edx, eax
jae 0x41d4c0
inc edi
jmp 0x41d4eb
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
lea esi, [ecx + ebx*8]
mov ecx, dword [esp + 0x38]
cmp eax, dword [esi]
sbb ecx, dword [esi + 4]
jae 0x41d4de
mov ecx, dword [esp + 0xc]
mov ebx, edi
jmp 0x41d488
inc edi
cmp eax, dword [esi + 8]
mov ecx, dword [esp + 0x38]
sbb ecx, dword [esi + 0xc]
jb 0x41d4f3
mov ebx, dword [esp + 0x1c]
mov ecx, edi
jmp 0x41d488
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ebx*8 + 0x14]
cmp ecx, dword [esp + 0x3c]
mov eax, ecx
mov dword [esp + 0xc], ecx
jae 0x41d6b1
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x44]
cmp eax, dword [esp + 0x98]
jne 0x41d53e
mov edx, dword [esp + 8]
lea ecx, [esp + 0x98]
call fcn.0040cc50
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 8]
mov dword [edx + ecx*4], eax
inc ecx
sub ebx, edi
lea eax, [edi + edi*2]
mov edi, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 0xa0], ecx
lea edx, [edx + eax*8]
mov dword [esp + 0x10], edx
mov edx, edi
jne 0x41d467
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
lea eax, [esi + eax*4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x44]
mov ecx, dword [eax + 0x40]
mov eax, dword [edi]
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
xor ecx, ecx
add eax, 8
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
jmp 0x41d5dd
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], edi
mov byte [eax + 0x38], 1
jmp 0x41d5ce
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], edx
mov dword [esp + 4], 0
mov eax, 3
xor ecx, ecx
mov ebx, dword [esp + 0x4c]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], ecx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x78], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
cmp eax, 2
jne 0x41d652
mov dword [esp + 4], 0
mov eax, 3
jmp 0x41d5db
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
mov eax, 4
jmp 0x41d5dd
mov edi, dword [esp + 0x20]
jmp 0x41d16b
mov dword [esp + 0x24], edx
jmp 0x41d406
mov dword [esp + 0x2c], esi
push 0x49f600
push ecx
push eax
call fcn.0047ee30
add esp, 0xc
jmp 0x41d6c6
push 0x49f64c
push dword [esp + 0x40]
push dword [esp + 0x14]
call fcn.0047ee30
add esp, 0xc
ud2