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

Disassembly:
sub esp, 0x6c
push esi
mov esi, ecx
mov eax, dword [esi + 0x184]
test eax, eax
je 0x4408f2
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4408f2
mov eax, dword [esi + 0x9c]
test eax, eax
jne 0x44006a
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x78]
push ebx
push ebp
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
test eax, eax
jne 0x4400a1
push 0x44ed58
push 0
push 4
push 0
push 8
push 0
push 0
push 0
push 0
push 0x258
push 0
push 0
push 0
push 0x1c
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x4400cf
push str.Webdings
push 0
push 4
push 0
push 8
push 2
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x1c
call edi
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x80]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
test eax, eax
jne 0x4400ec
push 0x400000
call edi
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x440103
push 0xc00000
call edi
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x440117
push 0
call edi
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x88]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
test eax, eax
jne 0x440138
push 0xc0c0c0
push 0
push 0
call edi
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x440150
push 0
push 0
push 5
call edi
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x44016b
push 0xffffff
push 0
push 0
call edi
mov dword [esi + 0x90], eax
mov ecx, dword [esi + 0x9c]
push ecx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi + 0x9c]
mov dword [esp + 0x34], eax
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x9c]
push 0xc0c0c0
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esi + 0x9c]
push 0
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x9c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push eax
call ebx
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x9c]
push ecx
push edx
mov dword [esp + 0x38], eax
call ebx
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x88]
push eax
push ecx
call ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea ecx, [esp + 0x3c]
push ecx
push edx
call edi
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x44]
push eax
push ecx
call edi
mov eax, dword [esi + 0x184]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov edx, dword [eax + 0x208]
sub ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x204]
sub ebp, ecx
mov dword [esp + 0x3c], ebp
mov edx, dword [eax + 0x204]
sub edi, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x44], edi
mov eax, dword [eax + 0x208]
sub edx, eax
mov dword [esp + 0x48], edx
call fcn.00419bd0
test eax, eax
jl 0x44027b
mov eax, dword [0x45c230]
test eax, eax
je 0x44027b
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x44027b
xor eax, eax
jmp 0x440280
mov eax, 1
mov ecx, dword [esi + 0x178]
mov dword [esp + 0x18], eax
inc eax
cmp ecx, eax
je 0x440469
xor ebp, ebp
mov dword [esi + 0x178], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
lea edi, [esi + 0xb8]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4402e4
cmp ebp, 4
je 0x4402d8
test ebp, ebp
je 0x4402d8
cmp ebp, 8
je 0x4402d8
cmp ebp, 0x1c
je 0x4402d8
cmp ebp, 0xc
jne 0x4402e4
mov dword [edi + 8], 0xffffffff
jmp 0x440373
mov eax, dword [ebp + 0x44edb8]
test eax, eax
je 0x4402fe
push 0
push eax
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x44034e
mov eax, dword [ebp + 0x44ed60]
test eax, eax
jne 0x44030d
mov eax, dword [esi + 0x7c]
jmp 0x440310
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call ebx
push 0x100
push 0x100
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [ebp + 0x44ed8c]
mov eax, dword [esi + 0x9c]
push 0x420
push edi
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [edi + 4]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
sub eax, edx
cmp ecx, eax
jg 0x440373
mov dword [esp + 0x10], eax
add ebp, 4
add edi, 0x10
cmp ebp, 0x2c
jl 0x4402a9
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
add eax, edx
push 0
cdq
sub eax, edx
push 0
mov ebp, eax
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
push 0
lea ecx, [esi + 0x168]
push 0
sar ebp, 1
sar eax, 1
push ecx
sub ebp, eax
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esi + 0xb8]
mov dword [esp + 0x18], 0xb
mov eax, dword [ecx + 8]
test eax, eax
jl 0x440457
mov edi, dword [ecx]
mov edx, dword [ecx + 4]
sub eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xc]
sub eax, edx
jne 0x4403f4
mov edx, dword [esp + 0x10]
mov eax, 0x55555556
add edx, edx
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edx
cdq
sub eax, edx
mov dword [ecx], ebp
mov edi, eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
sar edi, 1
mov edx, eax
add eax, edi
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x1c]
sub edx, edi
add ebp, eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
mov eax, dword [esi + 0x174]
test eax, eax
jne 0x440436
mov dword [esi + 0x16c], edx
mov edx, dword [ecx + 0xc]
mov dword [esi + 0x174], edx
jmp 0x440457
mov edi, dword [esi + 0x16c]
cmp edi, edx
jge 0x440442
mov edx, edi
mov dword [esi + 0x16c], edx
mov edx, dword [ecx + 0xc]
cmp eax, edx
jg 0x440451
mov eax, edx
mov dword [esi + 0x174], eax
mov eax, dword [esp + 0x18]
add ecx, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x4403c1
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esi + 0x16c]
mov eax, dword [esi + 0xa0]
sub edi, ebp
mov ebp, dword [esi + 0x174]
sub ebp, edx
mov dword [esp + 0x1c], edi
test eax, eax
mov dword [esp + 0x18], ebp
je 0x4404c4
cmp dword [esi + 0xa8], edi
jne 0x4404a3
cmp dword [esi + 0xac], ebp
je 0x4404f6
test eax, eax
je 0x4404c4
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call ebx
mov edx, dword [esi + 0xa0]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x80]
push ebp
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
mov dword [esi + 0xa0], eax
call ebx
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], ebp
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
push 0
lea ecx, [esp + 0x78]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 0x94]
mov ecx, dword [esi + 0x9c]
lea eax, [esp + 0x6c]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
xor ebp, ebp
mov eax, dword [ebp*4 + 0x44ed60]
cmp eax, 2
jne 0x44068b
lea edx, [ebp + 0xc]
mov ecx, ebp
shl edx, 4
shl ecx, 4
lea eax, [edx + esi]
mov dword [esp + 0x10], 0
lea edi, [ecx + esi]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov ecx, dword [edi + 0xb8]
sub eax, ecx
mov ecx, ebp
dec ecx
mov dword [esp + 0x14], eax
je 0x440593
sub ecx, 9
jne 0x4405e0
xor ecx, ecx
mov cl, byte [0x44ae60]
imul ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
jmp 0x4405e0
mov ecx, dword [0x45289c]
test ecx, ecx
je 0x4405d6
call fcn.00419bd0
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4405d2
call fcn.00419bc0
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov ecx, edx
mov eax, edx
shr ecx, 0x1f
add eax, ecx
imul eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jle 0x4405e0
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x80]
mov eax, dword [esi + 0x9c]
push edx
push eax
call ebx
cmp ebp, dword [esi + 0x98]
jne 0x440600
mov eax, dword [esi + 0x90]
jmp 0x440606
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call ebx
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 0xc4]
push 3
push 3
mov ecx, dword [eax]
mov eax, dword [edi + 0xb8]
push edx
mov edx, dword [edi + 0xbc]
push ecx
mov ecx, dword [esi + 0x9c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x9c]
push edx
push eax
call ebx
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x9c]
push ecx
push edx
call ebx
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xc4]
mov edx, dword [esp + 0x10]
push ecx
lea ecx, [eax + edx]
mov edx, dword [edi + 0xbc]
inc edx
push ecx
inc eax
push edx
push eax
mov eax, dword [esi + 0x9c]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
jmp 0x4406f8
test eax, eax
je 0x440698
cmp eax, 1
jne 0x4406f8
test eax, eax
jne 0x44069d
mov eax, dword [esi + 0x7c]
jmp 0x4406a0
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call ebx
mov eax, dword [esi + 0x98]
mov edx, ebp
sub edx, eax
mov eax, dword [esi + 0x9c]
neg edx
sbb edx, edx
and edx, 0xffc0c0c1
add edx, 0xffffff
push edx
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp*4 + 0x44ed8c]
mov ecx, ebp
shl ecx, 4
push 0x20
lea edx, [ecx + esi + 0xb8]
mov ecx, dword [esi + 0x9c]
push edx
push 0xffffffffffffffff
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
inc ebp
cmp ebp, 0xb
jl 0x44052a
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0x16c]
mov ecx, dword [esi + 0x174]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x58]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
push edi
add eax, edx
mov edx, dword [esp + 0x94]
push ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push ebp
push 0
lea eax, [esp + 0x68]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x9c]
lea edx, [esp + 0x5c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x9c]
push ecx
push edx
call ebx
mov eax, dword [esi + 0x9c]
push 0xc0c0c0
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, 0x45bbe0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x1f
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [0x45c224]
mov edi, eax
push ecx
push 0x45bbe0
push str._s___d_kbps_
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov cl, byte [edi]
add esp, 0x14
test cl, cl
mov eax, edi
je 0x4407da
cmp byte [eax], 0x5f
jne 0x4407d2
mov byte [eax], 0x20
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4407ca
mov eax, dword [esi + 0x9c]
lea edx, [esp + 0x5c]
push 0x21
push edx
push 0xffffffffffffffff
push edi
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x9c]
add esp, 4
push ecx
push edx
call ebx
mov ecx, dword [esi + 0x9c]
lea eax, [esp + 0x5c]
push 0x22
push eax
push 0xffffffffffffffff
push 0x44e608
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov edi, dword [esp + 0x18]
xor eax, eax
lea edx, [esp + 0x4c]
push 0x422
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x9c]
push edx
push 0xffffffffffffffff
push 0x44e608
push eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], edi
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
sub ecx, edx
mov edx, dword [esp + 0x54]
mov dword [0x459bbc], ecx
mov ecx, dword [esp + 0x40]
sub edx, eax
mov dword [0x459bb8], edx
mov eax, dword [esi + 0x9c]
mov edx, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x90]
push edi
push ebp
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x9c]
push ecx
push edx
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x9c]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x9c]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x9c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x6c
ret 8