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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x599680]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x450a0f
cmp dword [esp + 0x1c], 0
je 0x450a0f
mov eax, dword [esp + 0x14]
push dword [eax + 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
push 4
push dword [eax + 0xc]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
movups xmm0, xmmword [esi]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
movups xmmword [esp + 0x54], xmm0
call fcn.00432e70
mov ecx, eax
call fcn.00432ff0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
add eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 8]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
mov eax, dword [esi]
add eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
add eax, dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
sub eax, dword [esi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
sub eax, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4503e6
cmp byte [ebp + 0x24], 0
jne 0x450206
cmp byte [ebp + 0x28], 0
jne 0x4500e3
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
jmp 0x4503e6
mov eax, dword [edi + 0xc]
sub eax, dword [esi + 4]
sub eax, dword [esi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x38], eax
sub eax, dword [esp + 0x94]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x38]
mov dword [esp + 0x68], eax
test eax, eax
jle 0x4503e6
movzx eax, byte [ebp + 0x20]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x1c], eax
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esp + 0x94]
lea esi, [eax + edx]
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
add eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov edx, eax
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x44]
cmp dword [esp + 0x40], ecx
jle 0x45016a
sub edx, dword [esp + 0x40]
add edx, ecx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x4c]
push dword [esp + 0x70]
mov ecx, dword [esi + 4]
add ecx, dword [edi + 4]
push dword [ebp + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
sub esp, 0x10
add dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
mov eax, dword [esi]
add eax, dword [edi]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
sub eax, dword [esi + 8]
mov dword [esp + 0x40], eax
lea eax, [ecx + edx]
mov dword [esp + 0x44], eax
mov eax, esp
push dword [esp + 0x30]
mov dword [esp + 0x40], ecx
movups xmm0, xmmword [esp + 0x3c]
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0xbc]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
sub dword [esp + 0x68], 1
je 0x4503e6
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x1c]
jmp 0x450130
cmp byte [ebp + 0x28], 0
je 0x450a25
mov eax, dword [edi + 0xc]
sub eax, dword [esi + 4]
sub eax, dword [esi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [esi]
sub ecx, dword [edi]
sub ecx, dword [esi + 8]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x40], eax
dec esi
mov eax, ecx
mov dword [esp + 0x78], ecx
sub eax, dword [esp + 0x90]
add eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x94]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x9c]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x40]
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x4503e2
mov edx, dword [esp + 0x94]
xor ecx, ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
add ecx, edi
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x6c], ecx
add ecx, edx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jle 0x4502b5
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x7c], ecx
mov ecx, eax
cmp dword [esp + 0x68], 0
jle 0x4503cb
mov eax, dword [esp + 0x38]
add eax, edx
sub ecx, eax
movzx eax, byte [ebp + 0x20]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x70], eax
mov esi, dword [esp + 0x98]
lea eax, [ecx + edi]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x74], eax
lea ecx, [eax + edi]
mov edi, dword [esp + 0x78]
mov eax, edi
cmp ecx, esi
jle 0x45030f
sub eax, ecx
mov ecx, esi
add eax, esi
add edx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x80]
push dword [esp + 0x84]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x20]
push dword [ebp + 0x10]
add ecx, edx
mov dword [esp + 0x98], esi
mov esi, dword [edi]
sub esp, 0x10
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xac], edx
add esi, dword [ecx]
mov ecx, dword [ecx + 4]
add eax, esi
add ecx, dword [edi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
add eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov eax, esp
push dword [esp + 0x30]
mov dword [esp + 0x3c], esi
movups xmm0, xmmword [esp + 0x3c]
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0xbc]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
mov edx, dword [esp + 0xc0]
add esp, 0x2c
sub dword [esp + 0x70], 1
je 0x4503c4
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x74]
jmp 0x4502e1
mov eax, dword [esp + 0x9c]
sub dword [esp + 0x4c], 1
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
jne 0x450282
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov eax, dword [esi]
test eax, eax
jle 0x4504a1
mov edx, dword [esi + 4]
test edx, edx
jle 0x4504a1
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], eax
add eax, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [edi]
mov dword [esp + 0x20], eax
add eax, dword [esi]
mov dword [esp + 0x28], eax
lea eax, [ecx + edx]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4504a1
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
mov edx, dword [esi + 4]
test edx, edx
jle 0x45055d
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
add eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
add eax, ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esi]
add eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
sub eax, dword [esi + 8]
mov dword [esp + 0x28], eax
lea eax, [ecx + edx]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45055d
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
cmp dword [esi + 8], 0
jle 0x45061c
mov edx, dword [esi + 4]
test edx, edx
jle 0x45061c
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov eax, ecx
sub eax, dword [esp + 0x58]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
add eax, dword [esp + 0x54]
mov dword [esp + 0x9c], eax
mov eax, ecx
sub eax, dword [esi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45061c
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
mov edx, dword [esi]
test edx, edx
jle 0x4506da
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [edi]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0xc]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 4]
add eax, dword [edi + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + edx]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
sub eax, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4506da
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
mov edx, dword [esi + 8]
test edx, edx
jle 0x4507a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov eax, ecx
sub eax, dword [esp + 0x58]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
add eax, dword [edi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
sub eax, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4507a0
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
mov eax, dword [esi]
test eax, eax
jle 0x45085c
cmp dword [esi + 0xc], 0
jle 0x45085c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, edx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
add eax, ecx
mov dword [esp + 0x9c], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x98], eax
mov eax, edx
sub eax, dword [esi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x90], ecx
mov ecx, dword [edi]
add eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
mov dword [esp + 0x28], ecx
push eax
mov dword [esp + 0x38], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45085c
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
mov edx, dword [esi + 0xc]
test edx, edx
jle 0x45091b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
add eax, dword [esp + 0x50]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x90], eax
mov eax, ecx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x9c], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 8]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [esi]
add eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
sub eax, dword [esi + 8]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x45091b
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
mov eax, dword [esi + 8]
mov dword [esp + 0x6c], eax
test eax, eax
jle 0x4509e0
mov esi, dword [esi + 0xc]
test esi, esi
jle 0x4509e0
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov eax, edx
sub eax, dword [esp + 0x58]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x90], eax
mov eax, ecx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
mov edx, dword [edi + 8]
mov eax, edx
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x9c], ecx
mov ecx, dword [edi + 0xc]
mov eax, ecx
sub eax, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
lea eax, [esp + 0xb4]
mov dword [esp + 0x34], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4509e0
movzx eax, byte [ebp + 0x20]
movups xmm0, xmmword [esp + 0x20]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
mov eax, dword [esp + 0x14]
push dword [esp + 0x88]
push dword [eax + 0xc]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push dword [esp + 0x8c]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.00509f60
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [edi + 8]
sub eax, dword [esi]
sub eax, dword [edi]
sub eax, dword [esi + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], eax
sub eax, dword [esp + 0x90]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x4503e6
movzx eax, byte [ebp + 0x20]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x38], eax
nop dword [eax]
nop word [eax + eax]
add eax, dword [esp + 0x90]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
add eax, dword [esp + 0x90]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov edx, eax
cmp dword [esp + 0x44], ecx
jle 0x450aac
sub edx, dword [esp + 0x44]
mov eax, ecx
add edx, ecx
jmp 0x450ab0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
push dword [esp + 0x74]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
add dword [esp + 0xa0], eax
mov eax, dword [esi + 4]
add eax, dword [edi + 4]
push dword [ebp + 0x10]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi]
sub esp, 0x10
add ecx, dword [edi]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
lea eax, [ecx + edx]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
sub eax, dword [esi + 0xc]
mov dword [esp + 0x44], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x38]
push dword [esp + 0x30]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.0044f910
add esp, 0x2c
sub dword [esp + 0x4c], 1
je 0x4503e6
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x38]
jmp 0x450a70