Function at 0x1000eab0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a674e
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100d2fa4]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x100d2fa4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 9
mov dword [esi + 0x60], eax
mov dword [esi + 0xd4], eax
mov ecx, 0x19
mov eax, 0x72
push 8
mov dword [esi + 0x58], 8
mov dword [esi + 0x5c], 0x18
mov dword [esi + 0x64], 0x21
mov dword [esi + 0x68], 0x1d3
mov dword [esi + 0x6c], 0x129
mov dword [esi + 0xd8], ecx
mov dword [esi + 0xdc], 0x62
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], 0x171
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xec], 0x1ca
mov dword [esi + 0xf0], eax
call fcn.1001f3a2
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x1000eb80
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBrush.0
mov edi, eax
jmp 0x1000eb82
xor edi, edi
push 0xff0000
mov dword [esi + 0x128], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1002f9e5
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], edi
call fcn.1002ef05
push edi
lea ecx, [esp + 0x50]
mov dword [esp + 0xac], ebx
call fcn.1002f71e
lea edi, [esi + 0x104]
mov dword [esp + 0x18], 3
push 0x10
call fcn.1001f3a2
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov byte [esp + 0xa8], 1
je 0x1000ebf5
mov ecx, eax
call fcn.1002ef05
mov ebx, eax
jmp 0x1000ebf7
xor ebx, ebx
mov eax, dword [esp + 0x50]
push eax
mov byte [esp + 0xac], 0
mov dword [edi], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.1002f71e
mov ecx, dword [edi]
push 1
call fcn.1002e832
push 8
call fcn.1001f3a2
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x1000ec38
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov ebx, eax
mov dword [edi + 0xc], ebx
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push eax
push ecx
mov ecx, dword [esp + 0x58]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.1002f9e5
mov eax, dword [edi + 0xc]
test eax, eax
mov ecx, dword [edi]
je 0x1000ec62
mov eax, dword [eax + 4]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.1002fae5
mov dword [edi + 0x18], eax
add edi, 4
sub dword [esp + 0x18], 1
jne 0x1000ebd0
lea ecx, [esp + 0x4c]
call fcn.1002f751
mov eax, dword [esp + 0x1c]
push eax
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], vtable.CBrush.0
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xfef6e9
mov byte [esp + 0xac], 2
call ebx
push eax
lea ecx, [esp + 0x24]
call fcn.1002f9e5
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x10c]
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_FillRect]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
call edi
lea ecx, [esp + 0x20]
call fcn.1002fa38
push 0xe4b889
call ebx
push eax
lea ecx, [esp + 0x24]
call fcn.1002f9e5
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x10c]
mov eax, dword [eax + 4]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x20]
call fcn.1002fa38
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
lea edx, [eax + 0xf0]
push edx
lea edx, [ecx + 0x1c2]
push edx
push eax
push ecx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [esi + 0x10c]
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 4]
push edx
push eax
call edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.CPen.0
push 0xf6e6df
push 1
push 0
mov byte [esp + 0xb4], 3
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x30]
call fcn.1002f9e5
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x10c]
call fcn.1002fb38
mov edi, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 9
mov ecx, dword [esi + 0x10c]
push ebx
push edi
lea edx, [esp + 0x3c]
push edx
call fcn.1002f2fa
mov ecx, dword [esi + 0x10c]
push ebx
lea eax, [edi + 0x1c2]
push eax
call fcn.1002eb5d
add ebx, 0x1e
sub dword [esp + 0x18], 1
jne 0x1000edc0
mov ebx, dword [esi + 0x5c]
mov dword [esp + 0x18], 0x10
lea ebx, [ebx]
mov ecx, dword [esi + 0x10c]
push ebx
push edi
lea eax, [esp + 0x3c]
push eax
call fcn.1002f2fa
mov ecx, dword [esi + 0x10c]
lea eax, [ebx + 0xf0]
push eax
push edi
call fcn.1002eb5d
add edi, 0x1e
sub dword [esp + 0x18], 1
jne 0x1000ee00
mov eax, dword [esp + 0x1c]
test eax, eax
mov ecx, dword [esi + 0x10c]
je 0x1000ee40
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push eax
push ecx
call fcn.1002fae5
lea ecx, [esp + 0x2c]
call fcn.1002fa38
push 0x3c
lea edx, [esp + 0x60]
push 0
push edx
call fcn.1005dac0
mov eax, dword [0x100b1c9c]
mov cl, byte [0x100b1ca0]
push 8
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], cl
mov dword [esp + 0x7c], 0x190
mov dword [esp + 0x6c], 0xc
call fcn.1001f3a2
add esp, 0x10
test eax, eax
je 0x1000eea9
mov dword [eax + 4], 0
mov dword [eax], vtable.CFont.0
mov edi, eax
jmp 0x1000eeab
xor edi, edi
lea edx, [esp + 0x5c]
push edx
mov dword [esi + 0x12c], edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, edi
call fcn.1002f9e5
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
mov edx, dword [esi + 0x12c]
mov eax, dword [eax + 0x28]
push edx
call eax
push 0x100b1c80
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.100016ea
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x68]
push ecx
push edx
push 0
push 0
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xbc], 4
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x10c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
push 0xb5630b
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x10c]
mov ebx, dword [ecx]
push 0x125
lea edx, [esp + 0x40]
push edx
mov edx, dword [eax - 0xc]
push edx
push eax
mov eax, dword [ebx + 0x68]
call eax
lea ecx, [esp + 0x28]
push 0x100b1c7c
push ecx
call fcn.1000110e
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx - 0xc]
mov eax, dword [esi + 0x10c]
add esp, 8
lea ebx, [esp + 0x34]
push ebx
push edx
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
test edi, edi
mov eax, dword [esi + 0x10c]
je 0x1000ef76
mov edi, dword [edi + 4]
mov eax, dword [eax + 4]
push edi
push eax
call fcn.1002fae5
mov eax, dword [esi + 0x68]
sub eax, dword [esi + 0x60]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x9c], eax
lea ecx, [edi + edi*4]
sub eax, ecx
lea ebx, [eax - 2]
mov eax, dword [esi + 0x64]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
mov edx, dword [esi + 0x6c]
sar eax, 1
neg eax
sar ecx, 1
sub eax, ecx
lea ecx, [eax + edx - 1]
mov eax, dword [esp + 0x38]
lea eax, [eax + ecx + 2]
mov dword [esp + 0x1c], eax
mov dword [esi + 0xa0], eax
lea eax, [ebx - 4]
mov dword [esi + 0xbc], eax
lea edx, [edi + edi*2]
sub eax, edx
mov dword [esi + 0x94], ebx
sub eax, 2
lea ebx, [esi + 0xb4]
mov dword [ebx], eax
mov dword [esi + 0x98], ecx
mov dword [esi + 0xb8], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0xa4]
push ebx
push eax
mov dword [esi + 0xc0], ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [edi + edi*2]
push 0
mov edx, 0xfffffffc
sub edx, eax
push edx
lea eax, [esi + 0xa4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esi + 0xc4]
push ebx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [edi + edi*2]
add eax, eax
push 0
mov ecx, 0xfffffff8
sub ecx, eax
push ecx
lea eax, [esi + 0xc4]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x10c]
test eax, eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
mov edi, dword [esi + 0x104]
je 0x1000f068
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
push eax
push ecx
push edx
mov edx, dword [edi + 4]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push 0
push 0
push edx
call edi
mov eax, dword [esi + 0x10c]
test eax, eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
mov ebx, dword [esi + 0x108]
je 0x1000f09d
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push 0
push 0
push eax
call edi
xor edi, edi
push edi
push 2
mov ecx, esi
call fcn.100010eb
push edi
push 3
mov ecx, esi
call fcn.100010eb
push edi
push 5
mov ecx, esi
call fcn.100010eb
push 0x10
call fcn.1001f3a2
add esp, 4
cmp eax, edi
je 0x1000f0ec
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
jmp 0x1000f0ee
xor eax, eax
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xa8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000f11c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 2
mov dword [esp + 0x2c], esi
call fcn.1002fa38
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 0
mov dword [esp + 0x20], esi
call fcn.1002fa38
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa8], 0xffffffff
call fcn.1002f798
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1005ca47
mov esp, ebp
pop ebp
ret