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

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, dword [esp + 0xa8]
push 0x90
push esi
call ebx
test eax, eax
mov dword [esp + 0x60], eax
je 0x43d05b
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
mov dword [esp + 0x60], edi
je 0x43d05a
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 + 0x78], eax
call ebx
push 0x5e86fc
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 + 0xac], 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 + 0x74]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ebp, dword [esp + 0x74]
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 [0x612918]
mov ecx, dword [eax*4 + 0x612830]
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 [0x612918]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax*4 + 0x612830]
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 [0x612956]
add edx, 5
add ebx, 3
test al, al
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 1
je 0x43c2fe
mov edi, 0x612956
mov eax, dword [edi + 0x36]
mov ecx, dword [eax*4 + 0x612830]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x2c], eax
mov eax, edi
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c220
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 0x43c2b5
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c260
push 0
push 0
push 0
sub eax, edx
push eax
push edi
push esi
call fcn.00522d60
mov edx, dword [esp + 0x3c]
add esp, 0x18
dec edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x24]
lea eax, [eax + edx + 2]
mov edx, dword [0x612918]
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 + 0x612830]
mov dword [esp + 0x40], ecx
jmp 0x43c2b9
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 0x43c2e0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add eax, 0x6e
mov dword [esp + 0x24], eax
add ebx, 3
cmp edi, 0x61367a
jge 0x43c2fe
movzx ecx, word [0x6136d0]
cmp dword [esp + 0x28], ecx
je 0x43c2fe
cmp byte [edi], 0
jne 0x43c202
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x1c]
movzx ebx, word [0x6136d0]
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 + 0x612918]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax*4 + 0x612830]
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 + 0x612920]
test eax, eax
je 0x43c3a4
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 + 0x612918]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx*4 + 0x612830]
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0x612918]
mov ecx, dword [eax*4 + 0x612830]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
movzx edi, word [0x6136cc]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
imul edi, edi, 0x74
mov edx, dword [edi + 0x612918]
mov dword [esp + 0x20], eax
mov eax, dword [edx*4 + 0x612830]
push eax
push esi
call ebx
lea ecx, [edi + 0x6128e2]
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 0x43c3f5
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 + 0x612920]
test eax, eax
je 0x43c4ad
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 1]
jmp 0x43c450
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c450
push 0
push 0
push 0
sub eax, edx
push eax
push edi
push esi
call fcn.00522d60
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
lea eax, [eax + ecx + 7]
add esp, 0x18
inc edx
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 [0x6136d0]
imul edx, edx, 0x74
mov eax, dword [edx + 0x612918]
mov edx, dword [eax*4 + 0x612830]
lea edi, [ecx + 4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edx
jmp 0x43c4b1
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 [0x612920], 0
mov dword [esp + 0x34], edi
je 0x43c4fc
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 [0x612918]
mov ecx, dword [ecx*4 + 0x612830]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], ecx
movzx edi, word [0x6136c0]
inc edx
imul edi, edi, 0x74
mov dword [esp + 0x30], edx
cdq
sub eax, edx
mov edx, dword [edi + 0x612918]
sar eax, 1
sub eax, 3
mov dword [esp + 0x3c], eax
mov eax, dword [edx*4 + 0x612830]
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 + 0x612920]
test eax, eax
je 0x43c592
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 [0x6136c0]
dec edx
dec eax
imul ecx, ecx, 0x74
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0x612918]
mov dword [esp + 0x50], eax
mov eax, dword [edx*4 + 0x612830]
mov dword [esp + 0x40], eax
mov ecx, dword [edi + 0x612918]
mov edx, dword [ecx*4 + 0x612830]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
movzx eax, word [0x6136bc]
imul eax, eax, 0x74
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x612918]
mov ecx, dword [eax*4 + 0x612830]
push ecx
push esi
add edi, 3
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x6128e2]
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 0x43c5f0
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 + 0x612920]
test ecx, ecx
je 0x43c690
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c635
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
sub eax, edx
push eax
push ecx
push esi
call fcn.00522d60
mov ecx, dword [esp + 0x48]
lea eax, [ecx + eax + 6]
mov dword [esp + 0x64], eax
movzx eax, word [0x6136c0]
add esp, 0x18
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 + 0x612918]
mov dword [esp + 0x50], edx
mov edx, dword [ecx*4 + 0x612830]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edx
movzx eax, word [0x6136c4]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0x74
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x612918]
add edi, ecx
mov ecx, dword [eax*4 + 0x612830]
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x6128e2]
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 0x43c6d0
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 + 0x612920]
test ecx, ecx
je 0x43c770
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c715
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
sub eax, edx
push eax
push ecx
push esi
call fcn.00522d60
mov ecx, dword [esp + 0x48]
lea eax, [ecx + eax + 6]
mov dword [esp + 0x64], eax
movzx eax, word [0x6136c0]
add esp, 0x18
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 + 0x612918]
mov dword [esp + 0x50], edx
mov edx, dword [ecx*4 + 0x612830]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edx
movzx eax, word [0x6136c8]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0x74
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x612918]
add edi, ecx
mov ecx, dword [eax*4 + 0x612830]
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x6128e2]
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 0x43c7b0
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 + 0x612920]
test eax, eax
je 0x43c85b
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c801
push 0
push 0
sub eax, edx
mov edx, dword [esp + 0x30]
push 0
push eax
push edx
push esi
call fcn.00522d60
mov ecx, dword [esp + 0x48]
lea edx, [ecx + 3]
lea eax, [ecx + eax + 6]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], edx
movzx edx, word [0x6136c0]
mov dword [esp + 0x60], edi
add edi, ecx
add esp, 0x18
imul edx, edx, 0x74
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x612918]
mov ecx, dword [eax*4 + 0x612830]
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
movzx edi, word [0x6136d4]
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 + 0x612918]
sub edx, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [eax*4 + 0x612830]
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 + 0x612918]
mov edx, dword [ecx*4 + 0x612830]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x20], eax
movzx eax, word [0x6136cc]
imul eax, eax, 0x74
mov ecx, dword [eax + 0x612918]
mov edx, dword [ecx*4 + 0x612830]
push edx
push esi
call ebx
lea ecx, [edi + 0x6128e2]
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 0x43c905
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 + 0x612920]
test eax, eax
je 0x43c986
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 + 0x612918]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax*4 + 0x612830]
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 [0x613700]
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 + 0x612918]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax*4 + 0x612830]
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 + 0x612920]
test eax, eax
je 0x43ca32
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 [0x613700]
dec eax
add ecx, 0xfffffffd
imul edx, edx, 0x74
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x612918]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax*4 + 0x612830]
mov dword [esp + 0x40], ecx
mov edx, dword [edi + 0x612918]
mov eax, dword [edx*4 + 0x612830]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
movzx edi, word [0x6136fc]
mov ecx, dword [esp + 0x34]
imul edi, edi, 0x74
mov edx, dword [edi + 0x612918]
mov eax, dword [edx*4 + 0x612830]
push eax
add ecx, 3
push esi
mov dword [esp + 0x28], ecx
call ebx
lea ecx, [edi + 0x6128e2]
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 0x43ca84
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 + 0x612920]
test eax, eax
je 0x43cb2a
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 1]
jmp 0x43cad0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cad0
push 0
push 0
push 0
sub eax, edx
push eax
push edi
push esi
call fcn.00522d60
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
lea edi, [ecx + 3]
lea ecx, [ecx + eax + 6]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x64], ecx
movzx ecx, word [0x6136fc]
mov dword [esp + 0x60], edx
add edx, eax
add esp, 0x18
imul ecx, ecx, 0x74
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 0x612918]
mov eax, dword [edx*4 + 0x612830]
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 0x43cba3
mov eax, dword [esp + 0xb0]
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 0x43cba3
mov eax, dword [esp + 0x40]
push 1
lea ecx, [esp + 0x48]
push ecx
mov edx, eax
shr edx, 0x10
or cl, 0xff
sub cl, dl
xor edx, edx
mov dh, cl
mov cl, ah
or bl, 0xff
sub bl, cl
or cl, 0xff
push eax
sub cl, al
mov dl, bl
movzx eax, cl
shl edx, 8
or edx, eax
push edx
push esi
call fcn.0043c000
add esp, 0x14
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 [0x613708]
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 [0x61370c]
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 [0x613704]
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 + 0x64]
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 + 0x6c]
push eax
push esi
call edi
mov ecx, dword [esp + 0x70]
push ecx
call ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x68]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x9c
ret