Function at 0x1002d9e0
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008cf01
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x100d0040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0xc8], eax
add eax, 0x70
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0x2a0]
mov byte [ebp - 0xad], 0
cmp dword [eax + 0x18], 0
jne 0x1002da6e
cmp dword [eax + 0x1c], 0
jne 0x1002da6e
cmp dword [eax + 0x20], 0
jne 0x1002da6e
push 1
call fcn.1002bb80
mov ecx, dword [ebp - 0xa0]
mov esi, dword [ecx + 0x2a0]
mov esi, dword [esi + 0x18]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x1002da9a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 4], 1
mov eax, dword [ecx + 0x2a0]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1002daca
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp - 0xa0]
mov edi, dword [ecx + 0x2a0]
mov edi, dword [edi + 0x20]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xec], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x1002daf3
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xa0]
cmp byte [ebx + 0xc], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 5
mov dword [ebp - 0xd8], 1
movups xmmword [ebp - 0x34], xmm0
je 0x1002e6bd
mov eax, dword [ecx + 0x3c]
test dword [eax + 0x15c], 0xff000000
je 0x1002dca8
cmp byte [ecx + 0x29c], 0
jbe 0x1002dca8
mov edi, dword [ebp - 0xa0]
xor esi, esi
nop word [eax + eax]
cmp esi, 0x64
jge 0x1002dc96
mov eax, dword [edi + 0x30]
cmp esi, dword [eax + 0x54]
je 0x1002dc86
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x44]
push esi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0xa8]
push esi
push edx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp byte [edi + 0x1fc], 0
je 0x1002dc0f
push dword [edi + esi*4 + 0x64]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
movzx eax, byte [edi + 0x29c]
test esi, esi
jne 0x1002dbda
cmp eax, 1
jbe 0x1002dbda
mov dl, byte [ebp - 0xa8]
mov cl, byte [ebp - 0xa7]
mov dh, byte [ebp - 0xa6]
mov ch, byte [ebp - 0xa5]
mov byte [ebp - 0xa8], cl
mov byte [ebp - 0xa7], dl
mov byte [ebp - 0xa6], ch
mov byte [ebp - 0xa5], dh
jmp 0x1002dbf2
mov dh, byte [ebp - 0xa5]
mov ch, byte [ebp - 0xa6]
mov dl, byte [ebp - 0xa7]
mov cl, byte [ebp - 0xa8]
dec eax
cmp esi, eax
jne 0x1002dc0f
mov byte [ebp - 0xa8], dl
mov byte [ebp - 0xa7], cl
mov byte [ebp - 0xa6], dh
mov byte [ebp - 0xa5], ch
mov eax, dword [edi + 0x3c]
push dword [eax + 0x134]
push dword [eax + 0x130]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov ecx, dword [eax + 0x138]
mov eax, dword [eax + 0x15c]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xd8]
push eax
push ecx
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xb4]
call fcn.1002c400
movzx eax, byte [edi + 0x29c]
inc esi
cmp esi, eax
jl 0x1002db40
mov esi, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x3c]
test dword [eax + 0x158], 0xff000000
jne 0x1002dcc7
test dword [eax + 0x160], 0xff000000
je 0x1002de49
cmp byte [ecx + 0x29c], 0
jbe 0x1002de49
mov edi, dword [ebp - 0xa0]
xor esi, esi
nop dword [eax]
cmp esi, 0x64
jge 0x1002de37
mov eax, dword [edi + 0x30]
cmp esi, dword [eax + 0x54]
je 0x1002de27
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x44]
push esi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0xa8]
push esi
push edx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp byte [edi + 0x1fc], 0
je 0x1002ddaf
push dword [edi + esi*4 + 0x64]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
movzx eax, byte [edi + 0x29c]
test esi, esi
jne 0x1002dd7a
cmp eax, 1
jbe 0x1002dd7a
mov dl, byte [ebp - 0xa8]
mov cl, byte [ebp - 0xa7]
mov dh, byte [ebp - 0xa6]
mov ch, byte [ebp - 0xa5]
mov byte [ebp - 0xa8], cl
mov byte [ebp - 0xa7], dl
mov byte [ebp - 0xa6], ch
mov byte [ebp - 0xa5], dh
jmp 0x1002dd92
mov dh, byte [ebp - 0xa5]
mov ch, byte [ebp - 0xa6]
mov dl, byte [ebp - 0xa7]
mov cl, byte [ebp - 0xa8]
dec eax
cmp esi, eax
jne 0x1002ddaf
mov byte [ebp - 0xa8], dl
mov byte [ebp - 0xa7], cl
mov byte [ebp - 0xa6], dh
mov byte [ebp - 0xa5], ch
mov eax, dword [edi + 0x3c]
push dword [eax + 0x134]
push dword [eax + 0x130]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0xc0], 0
mov eax, dword [ecx + 0x160]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 0x158]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xd8]
push eax
push dword [ecx + 0x138]
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xb4]
call fcn.1002c400
movzx eax, byte [edi + 0x29c]
inc esi
cmp esi, eax
jl 0x1002dce0
mov esi, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx + 0x28]
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0xa0]
movups xmm0, xmmword [eax]
mov ecx, dword [ecx + 0x28]
movups xmmword [ebp - 0x34], xmm0
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x30]
push dword [eax + 0x54]
lea eax, [ebp - 0xd0]
push eax
call edx
mov ecx, dword [ebp - 0xa0]
cmp byte [ecx + 0x1fc], 0
je 0x1002df81
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x54]
push dword [ecx + eax*4 + 0x64]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x30]
movzx eax, byte [ecx + 0x29c]
mov dword [ebp - 0xc4], eax
cmp dword [edx + 0x54], 0
jne 0x1002df15
cmp eax, 1
jbe 0x1002df15
mov ah, byte [ebp - 0xd0]
mov al, byte [ebp - 0xcf]
mov byte [ebp - 0xad], ah
mov byte [ebp - 0xd1], al
mov byte [ebp - 0xd0], al
mov al, byte [ebp - 0xcd]
mov byte [ebp - 0xcf], ah
mov ah, byte [ebp - 0xce]
mov byte [ebp - 0xd2], ah
mov byte [ebp - 0xd3], al
mov byte [ebp - 0xce], al
mov byte [ebp - 0xcd], ah
jmp 0x1002df45
mov al, byte [ebp - 0xcd]
mov byte [ebp - 0xd2], al
mov al, byte [ebp - 0xce]
mov byte [ebp - 0xd3], al
mov al, byte [ebp - 0xcf]
mov byte [ebp - 0xad], al
mov al, byte [ebp - 0xd0]
mov byte [ebp - 0xd1], al
mov eax, dword [ebp - 0xc4]
dec eax
cmp dword [edx + 0x54], eax
jne 0x1002df81
mov al, byte [ebp - 0xad]
mov byte [ebp - 0xd0], al
mov al, byte [ebp - 0xd1]
mov byte [ebp - 0xcf], al
mov al, byte [ebp - 0xd2]
mov byte [ebp - 0xce], al
mov al, byte [ebp - 0xd3]
mov byte [ebp - 0xcd], al
mov eax, dword [ecx + 0x3c]
push dword [eax + 0x134]
push dword [eax + 0x130]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx + 0x3c]
mov eax, dword [ecx + 0x190]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 0x18c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ecx + 0x188]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd8]
push eax
push dword [ecx + 0x138]
lea eax, [ebp - 0xc0]
mov ecx, edx
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xb4]
call fcn.1002c400
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + 0x100], 0
jne 0x1002e6b1
mov ecx, dword [ecx + 0x19c]
movzx eax, cx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xbc], eax
test ecx, 0xff000000
je 0x1002e6b1
mov eax, ecx
mov dword [ebp - 0xf0], 0
sar eax, 0x10
mov dword [ebp - 0xd8], eax
mov eax, ecx
sar eax, 0x18
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0xb4]
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov eax, dword [ebp - 0xf0]
push 2
push eax
mov dword [ebp - 0xc4], eax
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
mov ecx, dword [ebp - 0xc0]
movzx eax, cl
mov ecx, dword [ebp - 0xc8]
movzx ecx, cl
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 0xbc]
movzx ecx, cx
and ecx, 0xffffff00
shl eax, 0x10
or eax, ecx
mov ecx, dword [ebp - 0xd8]
movzx ecx, cl
or eax, ecx
mov dword [ebp - 0xd8], 0
lea ecx, [ebp - 0xd8]
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], ecx
mov eax, dword [eax + 0x3c]
mov edx, dword [eax + 0x134]
mov eax, dword [eax + 0x138]
mov dword [ebp - 0xb4], edx
lea edx, [eax + eax]
mov eax, dword [ebp - 0xb4]
add eax, eax
sub ecx, eax
mov eax, dword [ebp - 0xac]
sub eax, edx
cmp ecx, eax
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x3c]
mov esi, dword [eax + 0x134]
cmovge esi, dword [eax + 0x138]
mov ecx, esi
mov esi, dword [ebp - 0x34]
add ecx, ecx
mov dword [ebp - 0xc0], esi
sub dword [ebp - 0xac], ecx
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, esi
mov esi, dword [eax + 0x130]
mov dword [ebp - 0xb8], ecx
lea eax, [esi + esi]
sub ecx, eax
mov eax, dword [ebp - 0xb8]
sub eax, edx
cmp ecx, eax
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x28]
mov dword [ebp - 0xbc], ecx
cmovge esi, dword [eax + 0x138]
add esi, esi
sub dword [ebp - 0xb8], esi
cmp dword [eax + 0xc], 2
jne 0x1002e3fd
mov eax, esi
mov esi, dword [ebp - 0xc8]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0xbc]
sar ecx, 1
add ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xac], ecx
mov eax, dword [eax + 0x14]
add eax, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb8]
add eax, ecx
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.gdiplus.dll_GdipCreatePath]
mov dword [ebp - 0x18], eax
mov ecx, 2
mov eax, dword [ebp - 0xc8]
sub eax, esi
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb8]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0xb8], 4
cmovl ecx, eax
mov eax, dword [ebp - 0xb4]
cdq
sub eax, edx
mov dword [ebp - 0xc0], ecx
sar eax, 1
mov edx, 2
cmp dword [ebp - 0xb4], 4
cmovl edx, eax
sub esp, 8
add ecx, ecx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xbc], ecx
mov dword [esp + 4], 0x42b40000
lea eax, [edx + edx]
mov dword [esp], 0x43340000
push eax
push ecx
push esi
push dword [ebp - 0xac]
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp - 0xac]
cmovne ecx, eax
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xc0]
add edx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0xc0]
push esi
push edx
push esi
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xc0], eax
call dword [sym.imp.gdiplus.dll_GdipAddPathLineI]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp - 0xbc]
cmovne ecx, eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xb8]
sub ecx, edx
add eax, ecx
mov dword [ebp - 0xb8], ecx
sub esp, 8
mov edi, dword [ebp - 0xa0]
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x43870000
lea ecx, [edi + edi]
push ecx
push edx
push esi
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, edi
cmovne ecx, eax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x18], ecx
add eax, dword [ebp - 0xb4]
push eax
mov dword [ebp - 0xdc], eax
lea ecx, [esi + edx]
mov eax, dword [ebp - 0xec]
push eax
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0xa8], ecx
call dword [sym.imp.gdiplus.dll_GdipAddPathLineI]
mov ecx, dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
sub esp, 8
mov eax, edi
mov dword [ebp - 0x18], ecx
mov dword [esp + 4], 0x42b40000
lea ecx, [eax + eax]
mov dword [esp], 0
mov eax, dword [ebp - 0xb4]
sub esi, ecx
push ecx
push dword [ebp - 0xbc]
add eax, esi
push eax
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xac]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 0xc8]
push eax
push dword [ebp - 0xc0]
mov dword [ebp - 0x18], ecx
push eax
push dword [ebp - 0xe4]
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathLineI]
mov ecx, dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
sub esp, 8
mov eax, edi
mov dword [ebp - 0x18], ecx
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42b40000
lea ecx, [eax + eax]
mov eax, dword [ebp - 0xb4]
push ecx
push dword [ebp - 0xbc]
add eax, esi
push eax
push dword [ebp - 0xac]
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
push dword [ebp - 0xdc]
cmovne ecx, eax
mov eax, dword [ebp - 0xac]
push eax
push dword [ebp - 0xa8]
push eax
jmp 0x1002e65c
mov eax, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc0]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0xbc]
sar ecx, 1
add ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], ecx
mov eax, dword [eax + 0xc]
add eax, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xac]
add eax, ecx
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.gdiplus.dll_GdipCreatePath]
mov dword [ebp - 0x18], eax
mov ecx, 2
mov eax, dword [ebp - 0xc0]
sub eax, esi
mov dword [ebp - 0xbc], eax
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp - 0xbc], 4
cmovl ecx, eax
mov eax, dword [ebp - 0xac]
cdq
sub eax, edx
mov dword [ebp - 0xa8], ecx
sar eax, 1
mov edx, 2
cmp dword [ebp - 0xac], 4
cmovl edx, eax
sub esp, 8
add ecx, ecx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xb4], ecx
mov dword [esp + 4], 0x42b40000
lea eax, [edx + edx]
mov dword [esp], 0x43340000
push eax
push ecx
push dword [ebp - 0xb8]
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp - 0xbc]
cmovne ecx, eax
mov eax, esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xa8]
sub eax, ecx
add edx, eax
mov dword [ebp - 0xec], edx
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0xb8]
push ecx
push edx
push ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0xe4], eax
call dword [sym.imp.gdiplus.dll_GdipAddPathLineI]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp - 0xb4]
cmovne ecx, eax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x18], ecx
add eax, dword [ebp - 0xbc]
sub esp, 8
mov dword [ebp - 0xa8], eax
mov dword [esp + 4], 0x42b40000
mov edi, dword [ebp - 0xa0]
mov dword [esp], 0x43870000
lea ecx, [edi + edi]
push ecx
mov ecx, dword [ebp - 0xb8]
push edx
push ecx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x18], ecx
sub eax, edi
mov ecx, dword [ebp - 0xb8]
add eax, ecx
push eax
mov dword [ebp - 0xc8], eax
add ecx, edi
mov eax, dword [ebp - 0xc0]
push eax
push ecx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathLineI]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp - 0xac]
cmovne ecx, eax
sub esp, 8
mov eax, edi
mov dword [ebp - 0x18], ecx
mov dword [esp + 4], 0x42b40000
lea ecx, [eax + eax]
mov dword [esp], 0
mov eax, dword [ebp - 0xb8]
sub edx, ecx
push ecx
push dword [ebp - 0xb4]
add eax, edx
mov dword [ebp - 0xac], edx
push eax
push dword [ebp - 0xa8]
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 0xdc]
push eax
push dword [ebp - 0xe4]
mov dword [ebp - 0x18], ecx
push eax
push dword [ebp - 0xec]
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathLineI]
mov ecx, dword [ebp - 0x18]
test eax, eax
cmovne ecx, eax
sub esp, 8
mov eax, edi
mov dword [ebp - 0x18], ecx
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42b40000
lea ecx, [eax + eax]
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0xb8]
push ecx
push dword [ebp - 0xb4]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipAddPathArcI]
mov ecx, dword [ebp - 0x18]
test eax, eax
push dword [ebp - 0xc8]
cmovne ecx, eax
mov eax, edi
push esi
add eax, dword [ebp - 0xb8]
push eax
push esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.gdiplus.dll_GdipAddPathLineI]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
test eax, eax
push dword [ebp - 0xd8]
mov esi, dword [ebp - 0xc4]
cmovne ecx, eax
push esi
mov dword [ebp - 0x18], ecx
call dword [sym.imp.gdiplus.dll_GdipFillPath]
push dword [ebp - 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDeletePath]
push dword [ebp - 0xd8]
mov edi, dword [ebp - 0xe0]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov esi, dword [ebp - 0xe8]
mov byte [ebp - 0xad], 1
jmp 0x1002ec4a
cmp byte [ecx + 0x29c], 0
mov dword [ebp - 0xac], 0
jbe 0x1002ea9d
xor eax, eax
lea edx, [ecx + 0x64]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
cmp eax, 0xe10
jge 0x1002ea9d
mov eax, dword [ecx + 0x30]
mov edi, dword [ebp - 0xac]
mov edx, dword [ecx + 0x3c]
cmp edi, dword [eax + 0x54]
mov edi, dword [ebp - 0xe0]
jne 0x1002e727
mov eax, dword [edx + 0x194]
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + 0x184]
mov dword [ebp - 0xc0], eax
mov eax, dword [edx + 0x198]
jmp 0x1002e745
mov eax, dword [edx + 0x164]
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + 0x154]
mov dword [ebp - 0xc0], eax
mov eax, dword [edx + 0x168]
mov ecx, dword [ecx + 0x28]
add edx, 0xd8
mov dword [ebp - 0xbc], eax
cmp dword [edx + 0x14], 7
mov eax, dword [ecx]
jbe 0x1002e75e
mov edx, dword [edx]
push edx
push dword [ebp - 0xac]
lea edx, [ebp - 0x8c]
push dword [ebp - 0xa8]
push edx
call dword [eax + 0x3c]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x7c], 0
je 0x1002e7f5
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x44]
push dword [ebp - 0xac]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0xa0]
movups xmmword [ebp - 0x34], xmm0
cmp byte [eax + 0x1fc], 0
je 0x1002e7c3
mov eax, dword [ebp - 0xb4]
push dword [eax]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x78], 7
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 0x7c]
cmova ecx, dword [ebp - 0x8c]
push eax
push ecx
push dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xa0]
push dword [ebp - 0xc4]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1002f870
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + 0x58]
mov ecx, dword [eax + 0x5c]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0xdc], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0xac]
jbe 0x1002eca8
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x74]
add eax, dword [ebp - 0xdc]
push eax
call fcn.1000b5b0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x64], 0
je 0x1002e8b0
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x24]
push dword [ebp - 0xac]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0xa0]
movups xmmword [ebp - 0x34], xmm0
cmp byte [eax + 0x1fc], 0
je 0x1002e889
mov eax, dword [ebp - 0xb4]
push dword [eax]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x60], 7
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x64]
cmova ecx, dword [ebp - 0x74]
push eax
push ecx
mov ecx, dword [ebp - 0xa0]
push esi
push dword [ebp - 0xc0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1002f870
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + 0x64]
mov ecx, dword [eax + 0x68]
mov eax, 0x38e38e39
sub ecx, edx
mov dword [ebp - 0xdc], edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0xac]
jbe 0x1002eca8
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x5c]
add eax, dword [ebp - 0xdc]
push eax
call fcn.1000b5b0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x4c], 0
je 0x1002e97a
test dword [ebp - 0xbc], 0xff000000
je 0x1002e97a
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
push dword [ebp - 0xac]
push edx
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0xa0]
movups xmmword [ebp - 0x34], xmm0
cmp byte [eax + 0x1fc], 0
je 0x1002e953
mov eax, dword [ebp - 0xb4]
push dword [eax]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
cmova ecx, dword [ebp - 0x5c]
push eax
push ecx
mov ecx, dword [ebp - 0xa0]
push edi
push dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1002f870
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 0xad], 1
cmp ecx, 7
jbe 0x1002e9bf
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e9b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eca3
push ecx
push edx
call fcn.1005ca64
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 7
jbe 0x1002ea11
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ea07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eca3
push ecx
push edx
call fcn.1005ca64
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp ecx, 7
jbe 0x1002ea66
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ea5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002eca3
push ecx
push edx
call fcn.1005ca64
add esp, 8
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xac]
add dword [ebp - 0xb4], 4
inc edx
add dword [ebp - 0xb8], 0x24
movzx eax, byte [ecx + 0x29c]
mov dword [ebp - 0xac], edx
cmp edx, eax
jge 0x1002ea9d
mov eax, dword [ebp - 0xb8]
jmp 0x1002e6e5
mov eax, dword [ecx + 0x3c]
cmp dword [eax + 0x100], 0
je 0x1002ec4a
test dword [eax + 0x19c], 0xff000000
je 0x1002ec4a
mov ecx, dword [ecx + 0x28]
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0xa0]
cmp byte [ecx + 0x1fc], 0
je 0x1002eaf4
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x54]
push dword [ecx + eax*4 + 0x64]
lea eax, [ebp - 0x24]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x3c]
push dword [eax + 0x134]
push dword [eax + 0x130]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x28]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x1002eb35
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 0x28]
jmp 0x1002eb3f
mov dword [ebp - 0xc4], 0
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xa8], edx
test edx, edx
je 0x1002eb67
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [ebp - 0xa8]
sar eax, 1
mov dword [ebp - 0xbc], eax
jmp 0x1002eb71
mov dword [ebp - 0xbc], 0
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0xe4], eax
cmp dword [eax + 0xc], 2
jne 0x1002ebbc
mov esi, dword [ecx + 0x28]
mov eax, dword [eax + 0x134]
add edx, dword [ebp - 0x24]
add edx, dword [ebp - 0xbc]
mov ecx, dword [esi + 0x14]
mov esi, dword [ebp - 0x20]
add ecx, eax
add ecx, esi
mov dword [ebp - 0xa8], ecx
lea ecx, [eax + esi]
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
jmp 0x1002ebeb
mov eax, dword [eax + 0x130]
add edx, eax
mov ecx, dword [ebp - 0x24]
add edx, ecx
mov edi, dword [ebp - 0x18]
add ecx, eax
mov eax, dword [ebp - 0xc4]
sub edi, eax
add eax, dword [ebp - 0x20]
mov dword [ebp - 0xa8], edi
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0xe4]
cmp dword [edx + 0x104], 7
mov dword [ebp - 0x38], eax
lea eax, [edx + 0xf0]
mov dword [ebp - 0xc4], eax
jbe 0x1002ec1a
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xa0]
push dword [edx + 0x100]
push dword [ebp - 0xc4]
mov eax, dword [ecx + 0x2a0]
push dword [eax + 0x18]
lea eax, [ebp - 0x44]
push dword [edx + 0x19c]
push dword [edx + 0x100]
push eax
call fcn.1002f870
mov byte [ebp - 4], 9
test edi, edi
je 0x1002ec58
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x1002ec6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xb
test esi, esi
je 0x1002ec7d
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov al, byte [ebp - 0xad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005ca26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1006bfdf
call fcn.10019660
int3