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

Disassembly:
sub esp, 0xa0
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, ecx
push 0x90
push esi
mov dword [esp + 0x68], esi
call ebx
test eax, eax
mov dword [esp + 0x64], eax
je 0x436e8a
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
mov dword [esp + 0x6c], edi
je 0x436e89
push ebp
lea eax, [esp + 0x10]
push eax
push 0x90
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
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 + 0x7c], eax
call ebx
push 0x5a6034
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x48
push 0x5a
push edi
mov dword [esp + 0xa4], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push esi
mov dword [esp + 0x64], eax
call ebx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x78]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ebp, dword [esp + 0x78]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp + 2]
push 0xffffffffffffffff
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x6c], ecx
add ebp, 5
mov dword [esp + 0x54], 0
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [0x5c8fc0]
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x10]
inc ecx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [0x5c8fc0]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
dec ebx
push ecx
dec edi
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov al, byte [0x5c8ffe]
add edx, 5
add ebx, 3
test al, al
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 1
je 0x43613d
mov edi, 0x5c8ffe
mov eax, dword [edi + 0x36]
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x2c], eax
mov eax, edi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436060
push 0
sub eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push edi
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
push eax
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov ecx, dword [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x3e]
test eax, eax
je 0x4360f4
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4360a0
push 0
push 0
sub eax, edx
push 0
push eax
mov edx, edi
mov ecx, esi
call fcn.00510470
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x24]
lea eax, [eax + edx + 2]
mov edx, dword [0x5c8fc0]
lea ecx, [ebx - 1]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], ecx
lea ecx, [ecx + eax + 1]
mov dword [esp + 0x50], ecx
mov ecx, dword [edx*4 + 0x5c8ed8]
mov dword [esp + 0x40], ecx
jmp 0x4360f8
mov eax, dword [esp + 0x58]
inc dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
sub edx, ebp
add ebx, eax
sub edx, eax
add edi, 0x74
cmp ebx, edx
jl 0x43611f
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add eax, 0x6e
mov dword [esp + 0x24], eax
add ebx, 3
cmp edi, 0x5c9d22
jge 0x43613d
movzx ecx, word [0x5c9d78]
cmp dword [esp + 0x28], ecx
je 0x43613d
cmp byte [edi], 0
jne 0x436041
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x1c]
movzx ebx, word [0x5c9d78]
mov eax, dword [esp + 0x10]
imul ebx, ebx, 0x74
mov edx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
sub edx, ebp
add edx, 2
mov dword [esp + 0x34], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x5c8fc0]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
lea edx, [esp + 0x34]
push edx
push esi
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebx + 0x5c8fc8]
test eax, eax
je 0x4361e3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
inc eax
inc ecx
dec edx
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x5c8fc0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx*4 + 0x5c8ed8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0x5c8fc0]
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
movzx edi, word [0x5c9d74]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
imul edi, edi, 0x74
mov edx, dword [edi + 0x5c8fc0]
mov dword [esp + 0x20], eax
mov eax, dword [edx*4 + 0x5c8ed8]
push eax
push esi
call ebx
lea ecx, [edi + 0x5c8f8a]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436234
mov edx, dword [esp + 0x24]
push 0
sub eax, edx
mov edx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push eax
push 4
add ecx, 2
push ecx
add edx, 5
push edx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x2c]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x20]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [edi + 0x5c8fc8]
test eax, eax
je 0x4362ea
mov edx, dword [esp + 0x28]
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436290
push 0
push 0
sub eax, edi
push 0
push eax
mov ecx, esi
call fcn.00510470
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
inc edx
lea eax, [eax + ecx + 7]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
add edx, eax
mov dword [esp + 0x50], edx
movzx edx, word [0x5c9d78]
imul edx, edx, 0x74
mov eax, dword [edx + 0x5c8fc0]
mov edx, dword [eax*4 + 0x5c8ed8]
lea edi, [ecx + 4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edx
jmp 0x4362ee
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [eax - 0x5a]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
sub eax, ebp
cmp dword [0x5c8fc8], 0
mov dword [esp + 0x34], edi
je 0x436339
inc edi
inc ecx
mov dword [esp + 0x44], ecx
lea ecx, [edx - 3]
mov dword [esp + 0x4c], ecx
lea ecx, [eax - 3]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x5c8fc0]
mov ecx, dword [ecx*4 + 0x5c8ed8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], ecx
movzx edi, word [0x5c9d68]
inc edx
imul edi, edi, 0x74
mov dword [esp + 0x30], edx
cdq
sub eax, edx
mov edx, dword [edi + 0x5c8fc0]
sar eax, 1
sub eax, 3
mov dword [esp + 0x3c], eax
mov eax, dword [edx*4 + 0x5c8ed8]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x5c8fc8]
test eax, eax
je 0x4363cf
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
inc eax
add ecx, 2
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
movzx ecx, word [0x5c9d68]
dec edx
dec eax
imul ecx, ecx, 0x74
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0x5c8fc0]
mov dword [esp + 0x50], eax
mov eax, dword [edx*4 + 0x5c8ed8]
mov dword [esp + 0x40], eax
mov ecx, dword [edi + 0x5c8fc0]
mov edx, dword [ecx*4 + 0x5c8ed8]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
movzx eax, word [0x5c9d64]
imul eax, eax, 0x74
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x5c8fc0]
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
push esi
add edi, 3
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x5c8f8a]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436430
mov edx, dword [esp + 0x54]
push 0
sub eax, edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push 4
push edi
add ecx, 4
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esp + 0x2c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x5c8fc8]
test ecx, ecx
je 0x4364cd
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436475
push 0
push 0
sub eax, edx
mov edx, dword [esp + 0x30]
push 0
push eax
mov ecx, esi
call fcn.00510470
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax + 6]
mov dword [esp + 0x4c], eax
movzx eax, word [0x5c9d68]
imul eax, eax, 0x74
lea edx, [ecx + 3]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
lea edx, [edi + ecx]
mov ecx, dword [eax + 0x5c8fc0]
mov dword [esp + 0x50], edx
mov edx, dword [ecx*4 + 0x5c8ed8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edx
movzx eax, word [0x5c9d6c]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0x74
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x5c8fc0]
add edi, ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x5c8f8a]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436510
mov edx, dword [esp + 0x54]
push 0
sub eax, edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push 4
push edi
add ecx, 4
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esp + 0x2c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x5c8fc8]
test ecx, ecx
je 0x4365ad
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436555
push 0
push 0
sub eax, edx
mov edx, dword [esp + 0x30]
push 0
push eax
mov ecx, esi
call fcn.00510470
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax + 6]
mov dword [esp + 0x4c], eax
movzx eax, word [0x5c9d68]
imul eax, eax, 0x74
lea edx, [ecx + 3]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
lea edx, [edi + ecx]
mov ecx, dword [eax + 0x5c8fc0]
mov dword [esp + 0x50], edx
mov edx, dword [ecx*4 + 0x5c8ed8]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edx
movzx eax, word [0x5c9d70]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0x74
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x5c8fc0]
add edi, ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x5c8f8a]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4365f0
mov edx, dword [esp + 0x54]
push 0
sub eax, edx
push eax
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push 4
push edi
add ecx, 4
push ecx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov edx, dword [esp + 0x2c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x20]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x5c8fc8]
test eax, eax
je 0x436698
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436641
push 0
push 0
sub eax, edx
mov edx, dword [esp + 0x30]
push 0
push eax
mov ecx, esi
call fcn.00510470
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 3]
lea eax, [ecx + eax + 6]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
movzx edx, word [0x5c9d68]
mov dword [esp + 0x48], edi
add edi, ecx
imul edx, edx, 0x74
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x5c8fc0]
mov ecx, dword [eax*4 + 0x5c8ed8]
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
movzx edi, word [0x5c9d7c]
mov eax, ecx
imul edi, edi, 0x74
cdq
sub eax, edx
sar eax, 1
add eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x5c8fc0]
sub edx, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
add edx, 2
push ecx
mov dword [esp + 0x38], edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea edx, [esp + 0x34]
push edx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [edi + 0x5c8fc0]
mov edx, dword [ecx*4 + 0x5c8ed8]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x20], eax
movzx eax, word [0x5c9d74]
imul eax, eax, 0x74
mov ecx, dword [eax + 0x5c8fc0]
mov edx, dword [ecx*4 + 0x5c8ed8]
push edx
push esi
call ebx
lea ecx, [edi + 0x5c8f8a]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x54], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x436742
mov edx, dword [esp + 0x54]
push 0
sub eax, edx
mov edx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push eax
push 4
add ecx, 2
push ecx
add edx, 5
push edx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x2c]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x20]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [edi + 0x5c8fc8]
test eax, eax
je 0x4367c3
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
inc edx
inc eax
dec ecx
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x5c8fc0]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [edi - 0x59]
sub ecx, ebp
mov dword [esp + 0x38], edi
movzx edi, word [0x5c9da8]
mov eax, ecx
imul edi, edi, 0x74
mov dword [esp + 0x30], edx
cdq
sub eax, edx
sar eax, 1
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x5c8fc0]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea edx, [esp + 0x34]
push edx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x5c8fc8]
test eax, eax
je 0x43686f
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
inc ecx
add edx, 2
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
movzx edx, word [0x5c9da8]
dec eax
add ecx, 0xfffffffd
imul edx, edx, 0x74
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x5c8fc0]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax*4 + 0x5c8ed8]
mov dword [esp + 0x40], ecx
mov edx, dword [edi + 0x5c8fc0]
mov eax, dword [edx*4 + 0x5c8ed8]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
movzx edi, word [0x5c9da4]
mov ecx, dword [esp + 0x34]
imul edi, edi, 0x74
mov edx, dword [edi + 0x5c8fc0]
mov eax, dword [edx*4 + 0x5c8ed8]
push eax
add ecx, 3
push esi
mov dword [esp + 0x28], ecx
call ebx
lea ecx, [edi + 0x5c8f8a]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4368c1
mov edx, dword [esp + 0x54]
push 0
sub eax, edx
mov edx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push 4
push ecx
add edx, 4
push edx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [esp + 0x2c]
push eax
push esi
call ebx
mov eax, dword [edi + 0x5c8fc8]
test eax, eax
je 0x43695f
mov edx, dword [esp + 0x28]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436908
push 0
push 0
sub eax, edi
push 0
push eax
mov ecx, esi
call fcn.00510470
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea edi, [ecx + 3]
lea ecx, [ecx + eax + 6]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
movzx ecx, word [0x5c9da4]
mov dword [esp + 0x48], edx
add edx, eax
imul ecx, ecx, 0x74
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 0x5c8fc0]
mov eax, dword [edx*4 + 0x5c8ed8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x60]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call edi
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x44], 0xffffffff
je 0x4369d2
mov eax, dword [esp + 0x68]
push 0x8f
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, ebx
jne 0x4369d2
mov eax, dword [esp + 0x40]
push 1
lea ecx, [esp + 0x48]
push ecx
or cl, 0xff
mov edx, eax
shr edx, 0x10
sub cl, dl
xor edx, edx
mov dh, cl
mov cl, ah
or bl, 0xff
sub bl, cl
or cl, 0xff
sub cl, al
push eax
mov dl, bl
movzx eax, cl
mov ecx, esi
shl edx, 8
or edx, eax
call fcn.00435e40
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
dec edx
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [0x5c9db0]
push ecx
inc eax
push 1
inc ebx
push 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push esi
mov dword [esp + 0x2c], eax
call edi
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.GDI32.dll_MoveToEx]
push 0
sub edx, ebp
sub edx, 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_LineTo]
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0xffffffa3
push ecx
push esi
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
sub ecx, ebp
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x1c]
sub eax, ebp
push eax
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
sub eax, edx
push 0
sar eax, 1
push ecx
add eax, 2
push eax
push esi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, ebp
push edx
cdq
sub eax, edx
sar eax, 1
add eax, 2
push eax
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ebp
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x1c]
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
push 0
sar eax, 1
sub eax, 3
push eax
add edx, 0xffffffa6
push edx
push esi
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0xffffffa6
push ecx
push esi
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
sub ecx, ebp
sub ecx, 3
push ecx
add edx, 0xffffffa6
push edx
push esi
call ebx
mov eax, dword [esp + 0x1c]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x1c]
add eax, 0xffffffa6
push eax
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
push esi
call edi
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x5c9db4]
push ecx
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push 0
sub edx, ebp
sub edx, 3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ecx, ebp
sub ecx, 3
push ecx
add edx, 0xffffffa3
push edx
push esi
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0xffffffa3
push ecx
push esi
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
dec edx
push edx
push eax
push esi
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
sub eax, edx
dec ecx
sar eax, 1
push ecx
dec eax
push eax
push esi
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, ebp
sub edx, 3
push edx
cdq
sub eax, edx
sar eax, 1
dec eax
push eax
push esi
call edi
mov eax, dword [esp + 0x1c]
dec eax
push 0
push eax
mov eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
add eax, 2
push eax
push esi
call ebx
mov ecx, dword [esp + 0x1c]
dec ecx
mov edx, dword [esp + 0x18]
push ecx
dec edx
push edx
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ebp
sub eax, 3
push eax
dec ecx
push ecx
push esi
call edi
mov eax, dword [esp + 0x1c]
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
push 0
sar eax, 1
sub eax, 3
push eax
add edx, 0xffffffa7
push edx
push esi
call ebx
mov eax, dword [esp + 0x1c]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
sub eax, 3
push eax
mov eax, dword [esp + 0x1c]
dec eax
push eax
push esi
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
dec edx
push edx
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
sub eax, ebp
sub eax, 3
push eax
add ecx, 0xffffffa7
push ecx
push esi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, ebp
sub edx, 3
push edx
dec eax
push eax
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
push eax
dec ecx
push ecx
push esi
call edi
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x5c9dac]
push ecx
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push 0
sub edx, ebp
sub edx, 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ecx, ebp
sub ecx, 2
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
sub eax, ebp
dec eax
push eax
push ecx
push esi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, ebp
dec edx
push edx
push eax
push esi
call edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
push 0
sub ecx, ebp
sub ecx, 2
sub eax, edx
push ecx
sar eax, 1
push eax
push esi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
cdq
sub eax, edx
sar eax, 1
push eax
push esi
call edi
mov eax, dword [esp + 0x1c]
sub eax, ebp
dec eax
push 0
push eax
mov eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
inc eax
push eax
push esi
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
push ecx
inc eax
push eax
push esi
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0
push edx
add eax, 0xffffffa4
push eax
push esi
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ecx, ebp
sub ecx, 2
push ecx
add edx, 0xffffffa4
push edx
push esi
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push eax
add ecx, 0xffffffa5
push ecx
push esi
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, ebp
sub edx, 2
push edx
add eax, 0xffffffa5
push eax
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ebp
cdq
sub eax, edx
push 0
sar eax, 1
sub eax, 2
push eax
add ecx, 0xffffffa6
push ecx
push esi
call ebx
mov eax, dword [esp + 0x1c]
sub eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
sub eax, 2
push eax
push edx
push esi
call edi
mov eax, dword [esp + 0x1c]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
push 0
dec eax
push eax
mov eax, dword [esp + 0x20]
add eax, 0xffffffa6
push eax
push esi
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
dec eax
push eax
push ecx
push esi
call edi
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push esi
call edi
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x70]
push 0xcc0020
push 0
push 0
push esi
push ecx
push edx
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x64]
push eax
push esi
call edi
mov ecx, dword [esp + 0x74]
push ecx
call ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x6c]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xa0
ret