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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
xorps xmm0, xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0xa0], 0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4159e9
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov dword [esp + 0x68], 0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov ecx, esp
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x20]
mov byte [esp + 0x68], 0
push eax
call fcn.0040f5e0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4155e2
mov dword [esp + 0x40], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4155f7
mov dword [esp + 0x34], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [ebp + 8]
mov dword [eax - 0x34], 0
mov eax, dword [esp + 4]
mov dword [eax - 0x30], ecx
mov eax, dword [esp + 4]
mov dword [eax - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 4]
mov dword [eax - 0x28], ecx
mov ecx, dword [esp + 4]
mov eax, dword [edi + 0x10]
mov edx, dword [ecx - 0x24]
mov ebx, dword [ecx - 0x20]
sub ebx, edx
sar ebx, 2
imul esi, ebx, 0xaaaaaaab
mov ebx, eax
sub ebx, esi
jbe 0x41564b
lea eax, [esp + 0x60]
add ecx, 0xffffffdc
push eax
push ebx
call fcn.0040f810
jmp 0x415656
jae 0x415656
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov dword [ecx - 0x20], eax
mov ecx, dword [esp + 4]
mov eax, dword [edi + 0x14]
mov bl, byte [ebp + 0x18]
mov edx, dword [ecx - 0x18]
mov esi, dword [ecx - 0x14]
mov edi, eax
sub esi, edx
sar esi, 3
sub edi, esi
jbe 0x41567c
add ecx, 0xffffffe8
push edi
call fcn.0040f940
jmp 0x415684
jae 0x415684
lea eax, [edx + eax*8]
mov dword [ecx - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
sub eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 4]
mov dword [eax - 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 4]
mov dword [eax - 8], ecx
xor ecx, ecx
mov eax, dword [esp + 4]
mov byte [eax - 4], bl
jmp 0x4156d8
add esi, 0xffffffcc
mov dword [esp + 4], esi
mov eax, dword [esp]
mov ecx, dword [esp + 0x14]
cmp eax, dword [esp + 4]
je 0x4159e2
inc ecx
test ecx, 0xfff
jne 0x4156f0
mov eax, ecx
shr eax, 0xc
cmp eax, dword [esp + 0x1c]
jge 0x415b0a
mov edi, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi - 0xc]
lea esi, [edi - 0x34]
test ecx, ecx
je 0x415708
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, 0x3e8
add eax, ecx
cmp eax, 9
ja case.0x41571d.1
lea ebx, [edi - 0xc]
jmp dword [eax*4 + 0x415b10]
mov eax, dword [ebp + 0x14]
test al, 0x20
je 0x415733
mov eax, dword [ebp + 8]
cmp dword [edi - 0x2c], eax
je case.0x41571d.7
test dword [ebp + 0x14], 0x1000
je 0x415885
mov eax, dword [ebp + 0xc]
cmp dword [edi - 0x2c], eax
je 0x415885
nop dword [eax]
mov esi, dword [esp + 4]
mov eax, dword [esi - 0x18]
test eax, eax
je 0x415767
mov dword [esi - 0x14], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [esi - 0x24]
test eax, eax
je 0x4156c0
mov dword [esi - 0x20], eax
push eax
call fcn.00417920
add esp, 4
jmp 0x4156c0
xorps xmm0, xmm0
lea edi, [esp + 0x20]
mov dword [esp + 0x50], 0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov ecx, edi
push esi
call fcn.0040f4a0
mov ecx, dword [ebx]
mov eax, dword [ecx]
push esi
push 1
call dword [eax + 0xc]
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
push edi
push 0
call dword [eax + 0xc]
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jae 0x415901
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
lea edx, [esp + 0x48]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x24], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov cl, byte [edx + 8]
mov byte [eax + 0x30], cl
movsd xmm0, qword [edx]
movsd qword [eax + 0x28], xmm0
add eax, 0x34
mov dword [esp + 4], eax
jmp 0x41591e
mov ecx, dword [edi - 0x2c]
mov eax, dword [esp + 0x18]
sub ecx, dword [edi - 0x30]
test byte [esp + 0x10], 1
je 0x41593c
cmp eax, ecx
jl 0x41593c
cmp eax, dword [esp + 0x1c]
jne 0x4159a2
mov esi, dword [esp]
mov edi, dword [esp + 4]
cmp edi, esi
jne 0x4158d6
mov ecx, dword [esp + 0x1c]
mov al, 1
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
jmp case.0x41571d.5
cmp esi, ebx
mov edi, ebx
je 0x4158b7
mov eax, dword [edi - 0x18]
test eax, eax
je 0x4158e9
mov dword [edi - 0x14], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [edi - 0x24]
lea ebx, [edi - 0x34]
test eax, eax
je 0x4158d0
mov dword [edi - 0x20], eax
push eax
call fcn.00417920
add esp, 4
jmp 0x4158d0
mov ecx, esp
push edi
call fcn.0040f5e0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41591e
mov dword [esp + 0x40], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je case.0x41571d.5
mov dword [esp + 0x34], eax
push eax
call fcn.00417920
add esp, 4
jmp case.0x41571d.5
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
lea eax, [esp + 0x70]
cmp eax, esi
lea esi, [esp + 0x80]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
je 0x415987
mov dword [esp + 0x10], ecx
mov ecx, esi
push dword [edi - 0x20]
push dword [edi - 0x24]
call fcn.00416e40
lea ecx, [esp + 0x8c]
push dword [edi - 0x14]
push dword [edi - 0x18]
call fcn.00416fb0
mov ecx, dword [esp + 0x10]
mov al, byte [ebx + 8]
mov byte [esi + 0x20], al
mov eax, ecx
movsd xmm0, qword [ebx]
movsd qword [esi + 0x18], xmm0
cmp eax, dword [esp + 0x1c]
je 0x4158ac
mov esi, dword [esp + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 0x18]
test eax, eax
je 0x4159bd
mov dword [esi - 0x14], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [esi - 0x24]
test eax, eax
je 0x4159d0
mov dword [esi - 0x20], eax
push eax
call fcn.00417920
add esp, 4
add esi, 0xffffffcc
mov al, 1
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
jmp case.0x41571d.5
test byte [esp + 0x10], 1
jne 0x4159ed
xor ebx, ebx
jmp 0x415a5d
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
add edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx]
mov dword [eax + 4], edx
mov eax, dword [ebx]
mov byte [eax + 8], 1
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x84], eax
je 0x415a5b
xor ecx, ecx
xor edx, edx
nop dword [eax]
mov esi, dword [ebx]
mov edi, dword [eax + ecx]
inc edx
mov dword [esi + ecx + 0xc], edi
mov edi, dword [eax + ecx + 4]
mov dword [esi + ecx + 0x10], edi
movzx eax, byte [eax + ecx + 8]
mov byte [esi + ecx + 0x14], al
add ecx, 0xc
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
sub esi, eax
sar esi, 2
imul esi, esi, 0xaaaaaaab
cmp edx, esi
jb 0x415a20
mov bl, 1
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x415a78
mov dword [esp + 0x90], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [esp + 0x80]
test eax, eax
je 0x415a93
mov dword [esp + 0x84], eax
push eax
call fcn.00417920
add esp, 4
mov esi, dword [esp]
test esi, esi
je 0x415af9
mov edi, dword [esp + 4]
cmp edi, esi
je 0x415aea
mov dword [esp + 0x14], ebx
jmp 0x415ab6
cmp esi, ebx
mov edi, ebx
je 0x415ae1
mov eax, dword [edi - 0x18]
test eax, eax
je 0x415ac9
mov dword [edi - 0x14], eax
push eax
call fcn.00417920
add esp, 4
mov eax, dword [edi - 0x24]
lea ebx, [edi - 0x34]
test eax, eax
je 0x415ab0
mov dword [edi - 0x20], eax
push eax
call fcn.00417920
add esp, 4
jmp 0x415ab0
mov eax, dword [esp]
mov ebx, dword [esp + 0x14]
jmp 0x415aec
mov eax, esi
mov dword [esp + 4], esi
push eax
call fcn.00417920
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
call fcn.0040f5d0
call fcn.0040f490
nop
and al, 0x57
inc ecx
add byte [0x500415b], al
pop ebx
inc ecx
add byte [0x500415b], al
pop ebx
inc ecx
add bh, al
push esi
inc ecx
add bh, al
push esi
inc ecx
add byte [eax + 0x57], dl
inc ecx
add byte [ebx - 0x38ffbea9], al
push esi
inc ecx
add ah, cl
int3