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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x5b4ef4]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push ecx
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 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 0x46517f
cmp dword [esp + 0x30], 0
je 0x46517f
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x30]
mov dword [esp + 0x24], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push dword [edi + 0xc]
mov dword [esp + 0x84], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
movups xmm0, xmmword [ebp + 0x1c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
movups xmmword [esp + 0x44], xmm0
call fcn.0041c9b0
mov ecx, eax
call fcn.0041caf0
cmp byte [ebp + 0x2c], 0
je 0x4647ac
movups xmm0, xmmword [esp + 0x40]
movups xmmword [ebp + 0x1c], xmm0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
add eax, dword [esp + 0x40]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 4]
add eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 8]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x1c]
add eax, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
sub eax, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x464b81
cmp byte [ebp + 0x34], 0
jne 0x4649c0
cmp byte [ebp + 0x38], 0
jne 0x464880
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
jmp 0x464b81
mov ecx, dword [esi + 0xc]
sub ecx, dword [ebp + 0x28]
sub ecx, dword [ebp + 0x20]
sub ecx, dword [esi + 4]
cmp byte [ebp + 0x40], 0
mov edx, dword [ebp + 0x44]
mov dword [esp + 0x5c], ecx
lea eax, [ecx + edx]
mov dword [esp + 0x3c], eax
je 0x4648b3
mov eax, ecx
sub eax, dword [esp + 0x94]
add eax, dword [esp + 0x9c]
dec edx
jmp 0x4648c1
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
add eax, edx
cdq
idiv dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
add edx, eax
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
jle 0x464b81
movzx eax, byte [ebp + 0x30]
xor edx, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x94]
add eax, edx
mov edx, ecx
mov dword [esp + 0x34], eax
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0x24], eax
jle 0x464930
sub edx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esi]
add eax, dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
add ecx, dword [ebp + 0x20]
push dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
sub eax, dword [ebp + 0x24]
push dword [ebp + 0x10]
mov dword [esp + 0x20], eax
lea eax, [edx + ecx]
mov dl, byte [edi + 0x18]
sub esp, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov eax, esp
push dword [esp + 0x38]
mov dword [esp + 0x30], ecx
movups xmm0, xmmword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0xac]
movups xmmword [eax], xmm0
call fcn.00463fb0
mov edx, dword [esp + 0x5c]
add esp, 0x2c
add edx, dword [esp + 0x3c]
sub dword [esp + 0x2c], 1
mov dword [esp + 0x30], edx
je 0x464b81
mov ecx, dword [esp + 0x5c]
jmp 0x464904
mov edi, dword [esi + 8]
sub edi, dword [esi]
sub edi, dword [ebp + 0x24]
sub edi, dword [ebp + 0x1c]
mov eax, edi
sub eax, dword [esp + 0x90]
cmp byte [ebp + 0x38], 0
je 0x465195
mov ecx, dword [esi + 0xc]
sub ecx, dword [ebp + 0x28]
sub ecx, dword [ebp + 0x20]
sub ecx, dword [esi + 4]
mov esi, dword [esp + 0x98]
dec esi
mov dword [esp + 0x3c], ecx
add eax, esi
sub ecx, dword [esp + 0x94]
cdq
idiv edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x9c]
dec eax
add eax, ecx
cdq
idiv dword [esp + 0x3c]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x464b79
mov edx, dword [esp + 0x94]
xor ecx, ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
add ecx, esi
mov dword [esp + 0x6c], ecx
add ecx, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], esi
cmp ecx, eax
jle 0x464a5f
mov ecx, esi
sub ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, eax
cmp dword [esp + 0x70], 0
jle 0x464b66
mov eax, dword [esp + 0x2c]
add eax, edx
sub ecx, eax
movzx eax, byte [ebp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], ecx
xor ecx, ecx
mov dword [esp + 0x60], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x90]
lea esi, [ecx + eax]
add ecx, edi
mov dword [esp + 0x68], ecx
add ecx, eax
mov dword [esp + 0x74], esi
mov eax, edi
mov esi, dword [esp + 0x98]
cmp ecx, esi
jle 0x464ab9
sub eax, ecx
mov ecx, esi
add eax, esi
add edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x74]
push dword [esp + 0x64]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x34]
push dword [ebp + 0x10]
add ecx, edx
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov dword [esp + 0xb4], ecx
mov ecx, edx
mov dword [esp + 0xa8], esi
mov esi, dword [edx]
add esi, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
add eax, esi
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
add ecx, edx
mov eax, dword [esp + 0x74]
add eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
mov eax, esp
push dword [esp + 0x38]
mov dword [esp + 0x2c], esi
movups xmm0, xmmword [esp + 0x2c]
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esp + 0xbc]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x64]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.00463fb0
mov edx, dword [esp + 0xc0]
add esp, 0x2c
sub dword [esp + 0x60], 1
je 0x464b5f
mov ecx, dword [esp + 0x68]
jmp 0x464a90
mov eax, dword [esp + 0x9c]
sub dword [esp + 0x34], 1
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
jne 0x464a35
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov edx, dword [ebp + 0x1c]
test edx, edx
jle 0x464c3b
mov ecx, dword [ebp + 0x20]
test ecx, ecx
jle 0x464cf4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], eax
add eax, dword [esp + 0x40]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esi]
mov dword [esp + 0x10], eax
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x20]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov edi, dword [esp + 0x38]
test eax, eax
je 0x464c3b
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
mov edx, dword [ebp + 0x20]
test edx, edx
jle 0x464cf4
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
add eax, dword [esp + 0x40]
mov dword [esp + 0x90], eax
mov eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x9c], eax
mov eax, dword [esi]
add eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
sub eax, dword [ebp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [ecx + edx]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
mov dword [esp + 0x1c], ecx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x464cf4
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
mov edx, dword [ebp + 0x24]
test edx, edx
jle 0x464daf
cmp dword [ebp + 0x20], 0
jle 0x464daf
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
mov eax, ecx
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
add eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
add eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x464daf
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
mov edx, dword [ebp + 0x1c]
test edx, edx
jle 0x464e6a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [esi]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0xc]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
lea eax, [ecx + edx]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x464e6a
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
mov edx, dword [ebp + 0x24]
test edx, edx
jle 0x464f2c
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov eax, ecx
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x9c], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x464f2c
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
cmp dword [ebp + 0x1c], 0
jle 0x464fe5
cmp dword [ebp + 0x28], 0
jle 0x4650a1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov eax, edx
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x9c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x98], eax
mov eax, edx
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x90], ecx
mov ecx, dword [esi]
add eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x464fe5
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
mov edx, dword [ebp + 0x28]
test edx, edx
jle 0x4650a1
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
add eax, dword [esp + 0x40]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x90], eax
mov eax, ecx
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 8]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esi]
add eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
sub eax, dword [ebp + 0x24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4650a1
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
cmp dword [ebp + 0x24], 0
jle 0x46515c
cmp dword [ebp + 0x28], 0
jle 0x46515c
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 8]
mov eax, edx
sub eax, dword [esp + 0x48]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x90], eax
mov eax, ecx
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
mov edx, dword [esi + 8]
mov eax, edx
sub eax, dword [ebp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x9c], ecx
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb4]
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x46515c
movzx eax, byte [ebp + 0x30]
movups xmm0, xmmword [esp + 0x10]
mov dl, byte [edi + 0x18]
mov ecx, dword [edi + 0xc]
push eax
push dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00463fb0
add esp, 0x2c
push dword [esp + 0x78]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push dword [esp + 0x7c]
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.0053325b
mov esp, ebp
pop ebp
ret 0x40
mov ecx, dword [esp + 0x98]
dec eax
add eax, ecx
cdq
idiv edi
mov dword [esp + 0x34], eax
test eax, eax
jle 0x464b7d
movzx eax, byte [ebp + 0x30]
mov dword [esp + 0x68], eax
xor eax, eax
nop dword [eax + eax]
mov edx, dword [esp + 0x90]
lea esi, [eax + edx]
add eax, edi
mov dword [esp + 0x64], eax
add eax, edx
mov dword [esp + 0x6c], esi
mov edx, edi
mov esi, dword [esp + 0x24]
cmp eax, ecx
jle 0x4651e6
sub edx, eax
mov eax, ecx
add edx, ecx
mov ecx, dword [esp + 0x6c]
push dword [esp + 0x68]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
add dword [esp + 0xa0], eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 0x20]
push dword [ebp + 0x10]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi]
sub esp, 0x10
add ecx, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
lea eax, [ecx + edx]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebp + 0x28]
mov dword [esp + 0x34], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x28]
push dword [esp + 0x38]
movups xmmword [eax], xmm0
sub esp, 0x10
movups xmm0, xmmword [esp + 0xbc]
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x64]
mov dl, byte [eax + 0x18]
mov ecx, dword [eax + 0xc]
call fcn.00463fb0
add esp, 0x2c
sub dword [esp + 0x34], 1
je 0x464b7d
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x64]
jmp 0x4651c0