Function at 0x420719
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x24c
push ebx
mov ebx, ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
cmp byte [ebx + 0xdc], 0
mov dword [ebp + 0x50], eax
je 0x420ddf
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push edi
push 0x400000
call esi
push 0xc00000
mov dword [ebp + 0x44], eax
call esi
push 0xc0c0c0
xor edi, edi
push edi
push edi
mov dword [ebp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push edi
push edi
push 5
mov dword [ebp + 0x40], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xffffff
push edi
push edi
mov dword [ebp + 0x3c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push edi
mov dword [ebp + 0x38], eax
call esi
push str.Webdings
push edi
push 4
push edi
push 8
push 2
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0x1c
mov dword [ebp + 0x48], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push dword [ebp + 0x50]
mov dword [ebp + 0x4c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push esi
mov dword [ebp + 0x74], esi
call dword [sym.imp.GDI32.dll_GetTextColor]
push esi
mov dword [ebp], eax
call dword [sym.imp.GDI32.dll_GetBkColor]
push 0xc0c0c0
push esi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push edi
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [0x4ab9f4]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
push dword [ebp + 0x44]
mov dword [ebp + 8], eax
push dword [ebp + 0x74]
call esi
push dword [ebp + 0x40]
mov dword [ebp + 0xc], eax
push dword [ebp + 0x74]
call esi
mov dword [ebp + 4], eax
lea eax, [ebp + 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
call fcn.0042b710
test eax, eax
jl 0x420839
mov eax, dword [0x4a63a4]
cmp eax, edi
je 0x420839
cmp dword [eax + 0x14], edi
mov dword [ebp + 0x64], edi
jne 0x420840
mov dword [ebp + 0x64], 1
mov eax, dword [ebp + 0x64]
inc eax
cmp dword [ebx], eax
je 0x420a15
mov dword [ebx], eax
lea eax, [ebx + 0x1c]
mov dword [ebp + 0x70], edi
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x68], edi
push edi
push edi
push edi
push edi
push dword [ebp + 0x6c]
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp + 0x64], edi
je 0x420893
mov eax, dword [ebp + 0x68]
cmp eax, 4
je 0x42088a
cmp eax, edi
je 0x42088a
cmp eax, 8
je 0x42088a
cmp eax, 0x1c
je 0x42088a
cmp eax, 0xc
jne 0x420893
mov eax, dword [ebp + 0x6c]
or dword [eax + 8], 0xffffffff
jmp 0x420912
mov ecx, dword [ebp + 0x68]
mov eax, dword [ecx + 0x49c02c]
cmp eax, edi
je 0x4208b2
push edi
push eax
push edi
push edi
push dword [ebp + 0x6c]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp + 0x6c]
jmp 0x4208fc
cmp dword [ecx + 0x49bfd4], edi
mov eax, dword [ebp + 0x4c]
je 0x4208c2
mov eax, dword [0x4ab9f4]
push eax
push dword [ebp + 0x74]
call esi
mov eax, 0x100
push eax
push eax
push edi
push edi
push dword [ebp + 0x6c]
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0x68]
push 0x420
push dword [ebp + 0x6c]
push 0xffffffffffffffff
push dword [eax + 0x49c000]
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [ebp + 0x6c]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
add dword [ebp + 0x70], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
cmp dword [ebp + 0x60], eax
jg 0x420912
mov dword [ebp + 0x60], eax
add dword [ebp + 0x68], 4
add dword [ebp + 0x6c], 0x10
cmp dword [ebp + 0x68], 0x2c
jl 0x42085d
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x2c]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0x70]
cdq
push edi
sub eax, edx
push edi
sar eax, 1
sar ecx, 1
push edi
sub ecx, eax
push edi
lea eax, [ebx + 0xcc]
push eax
mov dword [ebp + 0x64], ecx
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [ebx + 0x1c]
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x68], 0xb
mov eax, dword [ecx + 8]
cmp eax, edi
jl 0x420a06
sub eax, dword [ecx]
mov dword [ebp + 0x5c], eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
jne 0x420984
mov eax, dword [ebp + 0x60]
add eax, eax
push 3
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp + 0x70]
cdq
sub eax, edx
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x60]
sar dword [ebp + 0x70], 1
cdq
sub eax, edx
mov edx, dword [ebp + 0x70]
sar eax, 1
mov dword [ebp + 0x58], eax
sub eax, edx
mov dword [ecx + 4], eax
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x58]
add eax, edx
mov edx, dword [ebp + 0x5c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x64]
mov dword [ecx], eax
add eax, edx
mov dword [ecx + 8], eax
cmp dword [ebx + 0xd8], edi
mov dword [ebp + 0x58], eax
jne 0x4209d7
mov edx, dword [ebp + 0x70]
mov dword [ebx + 0xd0], edx
mov edx, dword [ecx + 0xc]
mov dword [ebx + 0xd8], edx
jmp 0x420a03
mov eax, dword [ebx + 0xd0]
cmp eax, dword [ebp + 0x70]
jl 0x4209e5
mov eax, dword [ebp + 0x70]
mov edx, dword [ebx + 0xd8]
mov dword [ebx + 0xd0], eax
mov eax, dword [ecx + 0xc]
cmp edx, eax
jle 0x4209fa
mov eax, edx
mov dword [ebx + 0xd8], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x64], eax
add ecx, 0x10
dec dword [ebp + 0x68]
mov dword [ebp + 0x70], ecx
jne 0x42095e
mov ecx, dword [ebx + 0xd8]
sub ecx, dword [ebx + 0xd0]
mov eax, dword [ebp + 0x2c]
sub eax, dword [ebp + 0x24]
push ecx
push eax
push dword [ebp + 0x50]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp + 0x74]
mov dword [ebp + 0x58], eax
call esi
mov ecx, dword [ebp + 0x64]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x60]
push eax
push edi
mov dword [ebx + 0xc], eax
push edi
lea eax, [ebp - 0x24]
push eax
mov dword [ebx + 0x10], ecx
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp + 0x48]
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_FillRect]
mov dword [ebp + 0x6c], edi
mov eax, dword [ebp + 0x6c]
mov eax, dword [eax*4 + 0x49bfd4]
cmp eax, 2
jne 0x420b6d
mov eax, dword [ebp + 0x6c]
shl eax, 4
add eax, ebx
mov ecx, dword [eax + 0x24]
sub ecx, dword [eax + 0x1c]
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x6c]
dec eax
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x70], ecx
je 0x420abd
sub eax, 9
jne 0x420af4
movzx eax, byte [0x49bcc0]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
mov dword [ebp + 0x68], eax
jmp 0x420af4
cmp dword [0x4ac35c], edi
je 0x420aec
call fcn.0042b710
cmp eax, edi
mov dword [ebp + 0x54], eax
jle 0x420ae9
call fcn.0042b701
cdq
mov ecx, 0x3e8
idiv ecx
imul eax, dword [ebp + 0x70]
cdq
idiv dword [ebp + 0x54]
mov dword [ebp + 0x68], eax
mov ecx, dword [ebp + 0x70]
cmp dword [ebp + 0x68], ecx
jle 0x420af4
mov dword [ebp + 0x68], ecx
push dword [ebp + 0x44]
push dword [ebp + 0x74]
call esi
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebx + 8]
mov eax, dword [ebp + 0x38]
je 0x420b0a
mov eax, dword [ebp + 0x40]
push eax
push dword [ebp + 0x74]
call esi
mov eax, dword [ebp + 0x6c]
push 3
add eax, 2
shl eax, 4
push 3
lea ecx, [eax + ebx]
mov eax, dword [ebp + 0x5c]
push dword [eax + 0x28]
mov dword [ebp + 0x54], ecx
push dword [eax + 0x24]
push dword [ecx]
push dword [eax + 0x1c]
push dword [ebp + 0x74]
call dword [sym.imp.GDI32.dll_RoundRect]
push dword [ebp + 0x34]
push dword [ebp + 0x74]
call esi
push dword [ebp + 0x3c]
push dword [ebp + 0x74]
call esi
mov ecx, dword [ebp + 0x5c]
push dword [ecx + 0x28]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0x68]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x54]
mov ecx, dword [ecx]
inc ecx
push ecx
inc eax
push eax
push dword [ebp + 0x74]
call dword [sym.imp.GDI32.dll_Rectangle]
jmp 0x420bcb
cmp eax, edi
je 0x420b7a
cmp eax, 1
jne 0x420bcb
cmp eax, edi
jne 0x420b7f
mov eax, dword [ebp + 0x4c]
jmp 0x420b84
mov eax, dword [0x4ab9f4]
push eax
push dword [ebp + 0x74]
call esi
mov ecx, dword [ebp + 0x6c]
xor eax, eax
cmp ecx, dword [ebx + 8]
setne al
dec eax
and eax, 0x3f3f3f
add eax, 0xc0c0c0
push eax
push dword [ebp + 0x74]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x6c]
mov ecx, eax
push 0x20
shl ecx, 4
lea ecx, [ecx + ebx + 0x1c]
push ecx
push 0xffffffffffffffff
push dword [eax*4 + 0x49c000]
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_DrawTextA]
inc dword [ebp + 0x6c]
cmp dword [ebp + 0x6c], 0xb
jl 0x420a71
mov eax, dword [ebx + 0xd0]
sub eax, dword [ebx + 0xd8]
push 0xcc0020
add eax, dword [ebp + 0x30]
push edi
push edi
push dword [ebp + 0x74]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x64]
lea eax, [ebp - 0x14]
push dword [ebp + 0x60]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp + 0x48]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_FillRect]
push dword [0x4ab9f4]
push dword [ebp + 0x74]
call esi
push 0xc0c0c0
push dword [ebp + 0x74]
call dword [sym.imp.GDI32.dll_SetTextColor]
push edi
push edi
push 0x4b00e0
call fcn.00402b25
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x5c], eax
jne 0x420c5f
mov dword [ebp + 0x5c], 0x486d4c
push edi
push edi
push 0x1a5
call fcn.004720ed
push eax
push dword [0x4b0a14]
lea eax, [ebp - 0x1d4]
push dword [ebp + 0x5c]
push str._s___d__s_
push 0x1b0
push eax
call fcn.00402528
add esp, 0x24
cmp byte [ebp - 0x1d4], 0
lea eax, [ebp - 0x1d4]
jmp 0x420cc4
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_CharNextA]
test byte [0x49bca9], 2
je 0x420cc1
mov ecx, dword [ebp + 0x70]
lea edx, [ecx + 1]
cmp eax, edx
jne 0x420cc1
cmp byte [ecx], 0x5f
jne 0x420cc1
mov byte [ecx], 0x20
cmp byte [eax], 0
mov dword [ebp + 0x70], eax
jne 0x420c9d
push 0x21
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1d4]
push eax
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0x4c]
push dword [ebp + 0x74]
call esi
push 0x22
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push 0x489f84
push dword [ebp + 0x74]
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x64]
push 0x422
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x14]
push eax
push 0xffffffffffffffff
push 0x489f84
push dword [ebp + 0x74]
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
push 0xcc0020
push edi
push edi
mov edi, dword [ebp + 0x74]
push edi
push dword [ebp + 0x64]
mov dword [ebx + 0xe4], eax
push dword [ebp + 0x60]
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x28]
sub eax, dword [ebp + 0x14]
push dword [ebp + 0x24]
mov dword [ebx + 0xe8], eax
push dword [ebp + 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x54]
call dword [sym.imp.NSCRT.dll_free]
pop ecx
push dword [ebp + 4]
push edi
call esi
push dword [ebp + 0xc]
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push dword [ebp]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp + 0x44]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp + 0x34]
call edi
push dword [ebp + 0x48]
call edi
push dword [ebp + 0x40]
call edi
push dword [ebp + 0x3c]
call edi
push dword [ebp + 0x38]
call edi
push dword [ebp + 0x4c]
call edi
cmp dword [ebp + 0x74], 0
je 0x420dd2
push dword [ebp - 4]
push dword [ebp + 0x74]
call esi
push dword [ebp + 0x74]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 0x58], 0
je 0x420ddd
push dword [ebp + 0x58]
call edi
pop edi
pop esi
push dword [ebp + 0x50]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
add ebp, 0x78
leave
ret