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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x47c020]
xor eax, esp
mov dword [esp + 0xe4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
push edi
mov edi, dword [ebp + 0x18]
test eax, eax
jle 0x4451bb
mov eax, edi
sub eax, esi
cdq
idiv dword [esp + 0x20]
mov dword [ecx + 0x1c], eax
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0x1c]
mov dword [esp + 0x3c], eax
jne 0x4451ce
mov dword [eax], 1
mov ecx, dword [eax]
mov eax, edi
sub eax, esi
mov dword [esp + 0x14], 0
cdq
idiv ecx
mov dword [esp + 0x28], 0
imul ecx, eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
sub edi, ecx
mov dword [esp + 0x24], 0
sub edi, esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], edi
mov edi, dword [eax]
mov dword [esp + 0x20], edi
cmp edi, dword [eax + 4]
je 0x4455a5
mov esi, dword [edi]
mov ecx, esi
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x44558f
cmp byte [esi + 0x58], 0
je 0x445263
movdqu xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0xb8]
mov eax, esp
mov edx, esi
movdqu xmmword [eax], xmm0
call fcn.00439780
add esp, 0x10
jmp 0x44558f
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
add eax, dword [esp + 0x58]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
test ecx, ecx
jle 0x445291
inc eax
dec ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
cdq
idiv dword [ecx]
test edx, edx
jne 0x4453e8
mov eax, dword [esp + 0x24]
mov esi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
cmp edi, dword [eax + 4]
je 0x4453e4
mov edi, dword [esp + 0x1c]
mov edi, edi
mov ecx, dword [esi]
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4453d1
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x58], 0
jne 0x4453d1
mov eax, dword [ecx]
lea edx, [esp + 0xcc]
push edx
call dword [eax + 0xc0]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0xd4]
sub ecx, dword [esp + 0xcc]
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
je 0x44532c
mov edi, dword [esp + 0x3c]
inc eax
cdq
idiv dword [edi]
mov edi, dword [esp + 0x1c]
test edx, edx
je 0x44532c
mov eax, dword [esp + 0x38]
sub ecx, dword [eax + 0x14]
jmp 0x44533c
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x14]
cdq
sub eax, edx
sar eax, 1
neg eax
add ecx, eax
cmp ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x38]
cmovl ecx, dword [edi + 0x30]
test eax, eax
js 0x44534f
cmp ecx, eax
cmovg ecx, eax
sub esp, 8
lea edx, [esp + 0x50]
mov eax, esp
push edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], 0x270f
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x38]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x48], ecx
test eax, eax
js 0x44538a
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x4c]
cmp edx, dword [edi + 0x34]
mov eax, dword [esp + 0xd8]
cmovl edx, dword [edi + 0x34]
cmp edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x28]
cmovg edx, dword [edi + 0x3c]
add eax, dword [esp + 0xd0]
add eax, edx
mov dword [esp + 0x4c], edx
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
cdq
idiv dword [ecx]
test edx, edx
je 0x4453e0
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x4452c0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
lea ecx, [esp + 0xdc]
push ecx
mov ecx, esi
call dword [eax + 0xc0]
mov eax, dword [esp + 0x38]
sub esp, 8
movdqa xmm0, xmmword [esp + 0x68]
movdqa xmmword [esp + 0xb8], xmm0
mov esi, dword [esp + 0xc0]
mov eax, dword [eax + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + 0xe4]
mov ecx, eax
mov eax, dword [esp + 0xec]
sar ecx, 1
add eax, ecx
add edx, ecx
add edx, dword [esp + 0x20]
sub esi, eax
mov eax, dword [esp + 0xe8]
add eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x48]
mov ecx, eax
mov dword [esp + 0x1c], eax
sub ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x58], esi
sub esi, edx
mov dword [esp + 0x78], edx
lea edx, [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax], esi
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [esp + 0x30]
cmp edx, 0xffffffff
mov ecx, dword [esp + 0x1c]
cmove edx, esi
mov esi, dword [esp + 0x34]
cmp esi, 0xffffffff
mov dword [esp + 0x30], edx
cmove esi, dword [esp + 0x20]
mov dword [esp + 0x34], esi
cmp edx, dword [ecx + 0x30]
cmovl edx, dword [ecx + 0x30]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x18], edx
test eax, eax
js 0x4454c2
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], edx
cmp esi, dword [ecx + 0x34]
mov eax, dword [esp + 0x50]
cmovl esi, dword [ecx + 0x34]
mov dword [esp + 0x34], esi
mov ecx, dword [ecx + 0x3c]
cmp esi, ecx
cmovg esi, ecx
sub eax, edx
add eax, dword [esp + 0x70]
sub esp, 0x10
cdq
sub eax, edx
mov dword [esp + 0x44], esi
mov esi, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x44]
add eax, dword [esp + 0x3c]
cdq
sub eax, edx
sar esi, 1
mov ecx, eax
mov dword [esp + 0xa0], esi
mov eax, dword [esp + 0x28]
add eax, esi
sar ecx, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
mov eax, esp
movdqu xmm0, xmmword [esp + 0xa0]
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x24], eax
cdq
idiv dword [ecx]
test edx, edx
jne 0x44557c
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x28]
add dword [esp + 0x40], eax
mov dword [esp + 0x28], edx
jmp 0x445584
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
sub eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
add edi, 4
mov dword [esp + 0x20], edi
cmp edi, dword [eax + 4]
jne 0x445222
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x88]
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x14]
sub ecx, esi
pop edi
mov dword [edx], ecx
mov ecx, dword [esp + 0xe8]
pop esi
mov dword [edx + 4], eax
xor ecx, esp
mov eax, edx
call fcn.0044e224
mov esp, ebp
pop ebp
ret 0x18