Function at 0x404dc0
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
mov eax, dword [esp + 0x100]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.user32.dll_GetWindowDC]
mov edi, eax
push edi
mov dword [esp + 0x4c], edi
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ecx, dword [0x41e17c]
mov edx, dword [0x41e178]
push ecx
push edx
push edi
mov esi, eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov ebx, dword [sym.imp.gdi32.dll_SelectObject]
push eax
push esi
mov dword [esp + 0x54], eax
call ebx
push 0xf
call dword [sym.imp.user32.dll_GetSysColorBrush]
push eax
push 0x41e170
push esi
call dword [sym.imp.user32.dll_FillRect]
mov eax, dword [0x41e17c]
mov edx, dword [0x41e174]
mov ecx, dword [0x41e178]
push 0x1e
dec eax
push 0x1e
push eax
mov eax, dword [0x41e170]
inc edx
push ecx
inc eax
push edx
push eax
call dword [sym.imp.gdi32.dll_CreateRoundRectRgn]
push eax
push esi
mov dword [esp + 0x4c], eax
call dword [sym.imp.gdi32.dll_SelectClipRgn]
mov ecx, dword [0x41f4fc]
push ecx
push esi
call ebx
mov edx, dword [0x41e174]
mov edi, dword [0x41e170]
mov ecx, dword [0x41e17c]
mov dword [esp + 0x54], edx
mov edx, 0xff00
mov dword [esp + 0x20], eax
mov eax, dword [0x41e178]
mov word [esp + 0x58], dx
mov word [esp + 0x68], dx
mov word [esp + 0x6a], dx
mov edx, dword [0x41e32c]
mov dword [esp + 0x50], edi
cmp edx, ebp
mov word [esp + 0x5a], 0xfe00
mov word [esp + 0x5c], 0xd900
mov word [esp + 0x5e], bp
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov word [esp + 0x6c], 0x9a00
mov word [esp + 0x6e], bp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], 1
je 0x404ef7
push 1
lea eax, [esp + 0x74]
push 1
push eax
lea ecx, [esp + 0x5c]
push 2
push ecx
push esi
call edx
jmp 0x404f14
mov edx, dword [0x41e174]
sub eax, edi
sub ecx, edx
push 0x1e
dec ecx
push 0x1e
dec eax
push ecx
push eax
push 1
push 1
push esi
call dword [sym.imp.gdi32.dll_RoundRect]
mov edx, dword [esp + 0x20]
push edx
push esi
call ebx
cmp dword [0x41f704], ebp
je 0x404fc0
cmp dword [0x41c288], 0x258
jbe 0x404fc0
mov eax, dword [0x41e17c]
mov edx, dword [0x41e174]
mov dword [esp + 0x40], eax
sub eax, edx
cdq
mov ecx, dword [0x41e170]
sub eax, edx
sar eax, 1
sub eax, 0x14
add ecx, 0xf
mov dword [esp + 0x38], eax
mov eax, dword [0x41e178]
add eax, 0xfffffff1
push 0xaac8c8
push esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.gdi32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.gdi32.dll_SetBkMode]
mov edx, dword [0x41c080]
push edx
push esi
call ebx
mov dword [esp + 0x10], eax
push ebp
lea eax, [esp + 0x38]
push 0x8015
push eax
mov edi, 0x4182f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4182f0
push esi
call dword [sym.imp.user32.dll_DrawTextExA]
mov ecx, dword [esp + 0x10]
push ecx
push esi
call ebx
push ebp
push esi
call dword [sym.imp.gdi32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.gdi32.dll_SetBkMode]
mov eax, dword [0x41f3e4]
mov dword [esp + 0x1c], 0x64
cmp eax, 0xffffffff
mov eax, dword [0x41c258]
jne 0x404ff1
cmp eax, 0x64
jge 0x404ff1
mov dword [esp + 0x1c], eax
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jns 0x405004
add eax, 0x3e8
mov dword [esp + 0x14], eax
mov edx, dword [0x41b030]
push edx
push esi
call ebx
mov dword [esp + 0x20], eax
mov eax, dword [0x41bfec]
push eax
push esi
call ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0xa
mov ebp, 0x5a
fild dword [esp + 0x18]
fmul dword [0x41e330]
call fcn.0040c150
mov ebx, eax
push 0
push ebx
push 1
push esi
call dword [sym.imp.gdi32.dll_MoveToEx]
mov ecx, dword [0x41e178]
push ebx
dec ecx
push ecx
push esi
call dword [sym.imp.gdi32.dll_LineTo]
push ebp
lea edx, [esp + 0xe0]
push 0x418a54
push edx
call fcn.0040b8dc
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xdc]
push ecx
inc ebx
push eax
push ebx
push 5
push esi
call dword [sym.imp.gdi32.dll_TextOutA]
mov edx, dword [esp + 0x18]
sub ebp, 0xa
add edx, 0xa
cmp ebp, 0xa
mov dword [esp + 0x18], edx
jge 0x40502c
mov ecx, dword [0x41e184]
mov ebx, dword [sym.imp.gdi32.dll_SelectObject]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x18], edi
jle 0x4051b2
lea eax, [ebp + 1]
shl eax, 4
mov dword [esp + 0x14], eax
add edi, ebp
mov ecx, 0xa
mov eax, edi
cdq
idiv ecx
test edx, edx
jne 0x405192
fild dword [esp + 0x18]
fmul dword [0x41e334]
call fcn.0040c150
mov ebx, eax
push 0
push 1
push ebx
push esi
call dword [sym.imp.gdi32.dll_MoveToEx]
mov edx, dword [0x41e17c]
dec edx
push edx
push ebx
push esi
call dword [sym.imp.gdi32.dll_LineTo]
mov eax, dword [esp + 0x14]
cmp edi, 0x3e8
jl 0x40512c
add eax, 0xffffc180
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 0x41f72c]
mov dx, word [eax + 0x41f72a]
push ecx
xor ecx, ecx
mov cx, word [eax + 0x41f728]
push edx
push ecx
lea edx, [esp + 0xe8]
push str._02d:_02d:_02d
push edx
call fcn.0040b8dc
lea edi, [esp + 0xf0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xdc]
push ecx
mov ecx, dword [0x41e17c]
add ecx, 0xfffffffb
push eax
inc ebx
push ecx
push ebx
push esi
call dword [sym.imp.gdi32.dll_TextOutA]
mov ebx, dword [sym.imp.gdi32.dll_SelectObject]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc edi
add ecx, 0x10
cmp edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
jl 0x4050da
mov edx, dword [esp + 0x20]
push edx
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
mov ecx, dword [0x41bfe8]
push ecx
push esi
call ebx
mov edi, dword [ebp*4 + 0x41e448]
mov edx, 0x64
sub edx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul dword [0x41e330]
fadd dword [0x4153dc]
call fcn.0040c150
mov edi, eax
push 0
push edi
push 1
push esi
call dword [sym.imp.gdi32.dll_MoveToEx]
fld dword [0x4235a4]
fmul dword [0x4153a4]
fmul dword [0x41e168]
fmul dword [0x41e330]
fadd dword [0x4153dc]
call fcn.0040c150
add eax, edi
push eax
mov eax, dword [0x41e178]
dec eax
push eax
push esi
call dword [sym.imp.gdi32.dll_LineTo]
mov ecx, dword [0x41e188]
fld dword [ecx*4 + 0x418370]
fcomp qword [0x4153e0]
fnstsw ax
and eax, 0x4100
jne 0x4052d0
mov edx, dword [0x41c240]
push edx
push esi
call ebx
mov edi, dword [ebp*4 + 0x41e448]
mov eax, 0x64
sub eax, edi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x41e330]
fadd dword [0x4153dc]
call fcn.0040c150
mov edi, eax
push 0
push edi
push 1
push esi
call dword [sym.imp.gdi32.dll_MoveToEx]
fld dword [0x4235a4]
fmul dword [0x4153a4]
mov ecx, dword [0x41e188]
fmul dword [ecx*4 + 0x418370]
fmul dword [0x41e330]
fadd dword [0x4153dc]
call fcn.0040c150
mov edx, dword [0x41e178]
add eax, edi
dec edx
push eax
push edx
push esi
call dword [sym.imp.gdi32.dll_LineTo]
mov eax, dword [esp + 0x20]
push eax
push esi
call ebx
mov ecx, dword [0x41f708]
push ecx
push esi
call ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp*4 + 0x41e448]
mov edx, 0x64
push 0
sub edx, eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x41e330]
fadd dword [0x4153dc]
call fcn.0040c150
push eax
push 0
push esi
call dword [sym.imp.gdi32.dll_MoveToEx]
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], edi
jle 0x40538e
cmp ebp, 0x3e8
jl 0x40533b
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp*4 + 0x41e448]
mov eax, 0x64
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x41e330]
fadd dword [0x4153dc]
call fcn.0040c150
fild dword [esp + 0x18]
push eax
fmul dword [0x41e334]
fadd dword [0x4153dc]
call fcn.0040c150
push eax
push esi
call dword [sym.imp.gdi32.dll_LineTo]
mov eax, dword [esp + 0x1c]
inc ebp
inc edi
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x405327
mov eax, dword [0x4250c0]
test eax, eax
je 0x4056f2
mov edx, dword [esp + 0x110]
lea ecx, [esp + 0xfc]
push ecx
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.user32.dll_GetClientRect]
mov ebx, dword [esp + 0x104]
mov eax, dword [esp + 0xfc]
mov ecx, dword [0x4250c0]
sub ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 0
mov ebp, 0x2160
mov edi, 0x104c
mov eax, dword [ecx + edi + 0x1100]
test eax, eax
je 0x4053fc
mov eax, dword [ecx + ebp]
cmp eax, 0xffffffff
je 0x4053fc
add dword [esp + 0x28], eax
cmp dword [ecx + edi], 0
je 0x40549e
mov eax, dword [ecx + edi + 0x1190]
mov edx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx + 0x106c]
mov edx, dword [esp + 0x30]
add edx, eax
mov eax, dword [ecx + ebp + 8]
cmp eax, 0x80000000
mov dword [esp + 0x30], edx
jne 0x40547b
lea ecx, [esp + 0x14]
push ecx
call fcn.0040c117
mov ebx, dword [esp + 0x18]
mov edx, dword [0x425214]
mov ecx, dword [0x4250c0]
sub ebx, edx
add esp, 4
xor eax, eax
test ebx, ebx
jle 0x405477
mov eax, dword [ecx + ebp]
mov edx, dword [ecx + edi + 0x11ac]
sub eax, edx
cdq
idiv ebx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 4
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
test dword [ecx + edx + 0x105c], 0x40000000
je 0x40549e
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x10]
add edi, 4
add ebp, 0x10
add edx, 0x24
cmp edi, 0x105c
mov dword [esp + 0x10], edx
jl 0x4053e5
mov eax, dword [0x41c254]
push eax
push esi
call dword [sym.imp.gdi32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.gdi32.dll_SetBkMode]
mov eax, dword [0x4250bc]
test eax, eax
je 0x405510
mov ecx, dword [0x41c150]
mov edx, dword [0x41e328]
push ecx
mov ecx, dword [0x41e178]
push 0x5a
push 0xaf
push 0
push 0
push edx
push 0x5a
push 0xaf
add ecx, 0xffffff46
push 0xa
push ecx
push esi
call eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x80]
push 0x418a40
push ecx
call fcn.0040b8dc
mov eax, dword [esp + 0x2c]
add esp, 0x10
test eax, eax
je 0x405553
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [str._mWh]
repne scasb al, byte es:[edi]
mov al, byte [0x418a3c]
dec edi
mov dword [edi], edx
mov byte [edi + 4], al
lea ecx, [esp + 0x34]
lea edi, [esp + 0x78]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x78]
push ecx
push eax
mov eax, dword [esp + 0x3c]
mov ecx, ebx
sub ecx, eax
push 0x14
sub ecx, 0x14
push ecx
push esi
call dword [sym.imp.gdi32.dll_TextOutA]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub eax, ecx
lea ebp, [edx + 0x14]
jns 0x4055be
neg eax
push eax
lea eax, [esp + 0x7c]
push 0x418a24
push eax
jmp 0x4055c9
push eax
lea ecx, [esp + 0x7c]
push 0x418a10
push ecx
call fcn.0040b8dc
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4055f5
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [str._mWh]
repne scasb al, byte es:[edi]
mov al, byte [0x418a3c]
dec edi
mov dword [edi], edx
mov byte [edi + 4], al
lea ecx, [esp + 0x34]
lea edi, [esp + 0x78]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov edx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x78]
push ecx
lea ecx, [ebp + 0xa]
push eax
push ecx
sub edx, dword [esp + 0x40]
sub edx, 0x14
push edx
push esi
call dword [sym.imp.gdi32.dll_TextOutA]
mov eax, dword [esp + 0x38]
lea ebp, [eax + ebp + 0xa]
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x405660
cdq
xor eax, edx
lea ecx, [esp + 0x78]
sub eax, edx
push eax
push 0x4189fc
push ecx
jmp 0x40566b
push eax
lea edx, [esp + 0x7c]
push 0x4189ec
push edx
call fcn.0040b8dc
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x40568e
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x4189e8]
mov dword [edi - 1], eax
lea ecx, [esp + 0x34]
lea edi, [esp + 0x78]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x78]
sub ebx, edx
push ecx
add ebp, 0xa
push eax
sub ebx, 0x14
push ebp
push ebx
push esi
call dword [sym.imp.gdi32.dll_TextOutA]
push 2
push esi
call dword [sym.imp.gdi32.dll_SetBkMode]
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.gdi32.dll_SelectObject]
mov ebx, dword [sym.imp.gdi32.dll_SelectObject]
mov edx, dword [esp + 0x20]
push edx
push esi
call ebx
mov eax, dword [0x41e17c]
mov ecx, dword [0x41e178]
mov edi, dword [esp + 0x48]
push 0xcc0020
push 0
push 0
push esi
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.gdi32.dll_BitBlt]
mov edx, dword [esp + 0x110]
push edi
push edx
call dword [sym.imp.user32.dll_ReleaseDC]
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.gdi32.dll_DeleteObject]
push eax
call esi
mov ecx, dword [esp + 0x44]
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret