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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x599680]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x54], ecx
push esi
push edi
mov ecx, dword [eax + 0x20]
lea esi, [eax + 0x1c]
mov edi, dword [ebp + 0x18]
test ecx, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
jle 0x446f92
mov eax, edi
sub eax, ecx
cdq
idiv dword [esp + 0x38]
mov dword [esi], eax
jmp 0x446f96
mov dword [esp + 0x20], esi
mov eax, dword [esi]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x446fae
mov dword [esi], 1
mov dword [esp + 0x10], 1
mov eax, edi
mov dword [esp + 0x54], ecx
sub eax, ecx
xor esi, esi
cdq
idiv dword [esp + 0x10]
mov dword [esp + 8], esi
mov edx, eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x10]
imul eax, edx
mov dword [esp + 0x48], edx
mov edx, edi
mov dword [esp + 0x1c], esi
sub edx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
sub edx, ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x58], edx
mov dword [esp + 0x10], edx
mov edi, dword [eax]
mov dword [esp + 0x38], edi
cmp edi, dword [eax + 4]
je 0x447054
nop dword [eax]
mov esi, dword [edi]
mov ecx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], esi
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x44703a
cmp byte [esi + 0x58], 0
je 0x447078
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x84]
mov eax, esp
mov edx, esi
movups xmmword [eax], xmm0
call fcn.0043f400
add esp, 0x10
mov esi, dword [esp + 8]
mov eax, dword [ebp + 0xc]
add edi, 4
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edi
cmp edi, dword [eax + 4]
jne 0x447000
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp + 0x18]
sub edx, ecx
mov ecx, dword [esp + 0x9c]
pop edi
mov dword [eax + 4], esi
pop esi
xor ecx, esp
mov dword [eax], edx
call fcn.00509f60
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x44708d
dec eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0xc], 0
lea eax, [ecx + 1]
cmovle eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
cdq
idiv dword [ecx]
test edx, edx
jne 0x4471ed
mov eax, dword [esp + 0x1c]
mov esi, edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
cmp edi, dword [eax + 4]
je 0x4471e9
mov edi, dword [esp + 0x14]
nop dword [eax]
mov ecx, dword [esi]
mov dword [esp + 0xc], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4471da
mov ecx, dword [esp + 0xc]
cmp byte [ecx + 0x58], 0
jne 0x4471da
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push edx
call dword [eax + 0xc0]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x7c]
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x1c]
je 0x447136
mov edi, dword [esp + 0x20]
inc eax
cdq
idiv dword [edi]
mov edi, dword [esp + 0x14]
test edx, edx
je 0x447136
mov eax, dword [esp + 0x30]
sub ecx, dword [eax + 0x14]
jmp 0x447144
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov edx, dword [edi + 0x30]
cmp ecx, edx
mov eax, dword [edi + 0x38]
cmovge edx, ecx
test eax, eax
js 0x447158
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xc]
sub esp, 8
mov eax, esp
mov dword [eax], edx
lea edx, [esp + 0x48]
mov dword [eax + 4], 0x270f
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x40]
cmp ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x38]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x40], ecx
test eax, eax
js 0x447193
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x44]
cmp edx, dword [edi + 0x34]
mov eax, dword [esp + 0x88]
cmovl edx, dword [edi + 0x34]
cmp edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x24]
cmovg edx, dword [edi + 0x3c]
add eax, dword [esp + 0x80]
add eax, edx
mov dword [esp + 0x44], edx
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], eax
cdq
idiv dword [ecx]
test edx, edx
je 0x4471e9
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x4470d0
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call dword [eax + 0xc0]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x14]
test edx, edx
jns 0x44720d
add edx, 1
sar edx, 1
mov ecx, dword [esp + 0x18]
sub esp, 8
mov esi, dword [esp + 0x44]
add ecx, edx
add ecx, dword [esp + 0x94]
sub esi, edx
sub esi, dword [esp + 0x9c]
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x98]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], esi
sub esi, ecx
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, esp
mov dword [esp + 0x58], edx
sub ecx, edx
lea edx, [esp + 0x30]
mov dword [esp + 0x14], ecx
push edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax], esi
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
cmove edx, esi
mov esi, dword [esp + 0x2c]
cmp esi, 0xffffffff
mov dword [esp + 0x28], edx
cmove esi, dword [esp + 0xc]
mov dword [esp + 0x2c], esi
cmp edx, dword [ecx + 0x30]
cmovl edx, dword [ecx + 0x30]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xc], edx
test eax, eax
js 0x4472b7
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x28], edx
cmp esi, dword [ecx + 0x34]
mov eax, dword [esp + 0x18]
cmovl esi, dword [ecx + 0x34]
mov dword [esp + 0x2c], esi
cmp esi, dword [ecx + 0x3c]
cmovg esi, dword [ecx + 0x3c]
sub eax, edx
add eax, dword [esp + 0x4c]
sub esp, 0x10
cdq
sub eax, edx
mov dword [esp + 0x3c], esi
mov esi, eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x3c]
add eax, dword [esp + 0x18]
cdq
sub eax, edx
sar esi, 1
mov ecx, eax
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x1c]
add eax, esi
sar ecx, 1
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x70]
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x1c], eax
cdq
idiv dword [ecx]
test edx, edx
jne 0x44736a
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x24]
add dword [esp + 0x34], eax
sub esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
jmp 0x44703e
mov esi, dword [esp + 8]
sub esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 8], esi
jmp 0x44703e