Function at 0x43c720
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 0x43d73e
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
mov dword [esp + 0x60], edi
je 0x43d73d
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 0x5f679c
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 [0x638318]
mov ecx, dword [eax*4 + 0x638030]
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 [0x638318]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax*4 + 0x638030]
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 [0x638456]
add edx, 5
add ebx, 3
test al, al
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 1
je 0x43c9b1
mov edi, 0x638456
mov eax, dword [edi + 0x136]
mov ecx, dword [eax*4 + 0x638030]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x2c], eax
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c8d0
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 + 0x13e]
test eax, eax
je 0x43c965
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43c910
push 0
push 0
push 0
sub eax, edx
push eax
push edi
push esi
call fcn.0052a000
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 [0x638318]
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 + 0x638030]
mov dword [esp + 0x40], ecx
jmp 0x43c969
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, 0x274
cmp ebx, edx
jl 0x43c993
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
add eax, 0x6e
mov dword [esp + 0x24], eax
add ebx, 3
cmp edi, 0x63cb7a
jge 0x43c9b1
movzx ecx, word [0x63cad0]
cmp dword [esp + 0x28], ecx
je 0x43c9b1
cmp byte [edi], 0
jne 0x43c8b2
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x1c]
movzx ebx, word [0x63cad0]
mov eax, dword [esp + 0x10]
imul ebx, ebx, 0x274
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 + 0x638318]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax*4 + 0x638030]
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 + 0x638320]
test eax, eax
je 0x43ca5a
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 + 0x638318]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx*4 + 0x638030]
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0x638318]
mov ecx, dword [eax*4 + 0x638030]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
movzx edi, word [0x63cacc]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
imul edi, edi, 0x274
mov edx, dword [edi + 0x638318]
mov dword [esp + 0x20], eax
mov eax, dword [edx*4 + 0x638030]
push eax
push esi
call ebx
lea ecx, [edi + 0x6381e2]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43cab0
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 + 0x638320]
test eax, eax
je 0x43cb66
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cb06
push 0
push 0
push 0
sub eax, edx
push eax
push edi
push esi
call fcn.0052a000
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 [0x63cad0]
imul edx, edx, 0x274
mov eax, dword [edx + 0x638318]
mov edx, dword [eax*4 + 0x638030]
lea edi, [ecx + 4]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edx
jmp 0x43cb6a
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 [0x638320], 0
mov dword [esp + 0x34], edi
je 0x43cbb5
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 [0x638318]
mov ecx, dword [ecx*4 + 0x638030]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], ecx
movzx edi, word [0x63cac0]
inc edx
imul edi, edi, 0x274
mov dword [esp + 0x30], edx
cdq
sub eax, edx
mov edx, dword [edi + 0x638318]
sar eax, 1
sub eax, 3
mov dword [esp + 0x3c], eax
mov eax, dword [edx*4 + 0x638030]
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 + 0x638320]
test eax, eax
je 0x43cc51
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 [0x63cac0]
dec edx
dec eax
imul ecx, ecx, 0x274
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0x638318]
mov dword [esp + 0x50], eax
mov eax, dword [edx*4 + 0x638030]
mov dword [esp + 0x40], eax
mov ecx, dword [edi + 0x638318]
mov edx, dword [ecx*4 + 0x638030]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], eax
movzx eax, word [0x63cabc]
imul eax, eax, 0x274
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x638318]
mov ecx, dword [eax*4 + 0x638030]
push ecx
push esi
add edi, 3
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x6381e2]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], edx
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43ccb0
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 + 0x638320]
test ecx, ecx
je 0x43cd53
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ccf5
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
sub eax, edx
push eax
push ecx
push esi
call fcn.0052a000
mov ecx, dword [esp + 0x48]
lea eax, [ecx + eax + 6]
mov dword [esp + 0x64], eax
movzx eax, word [0x63cac0]
add esp, 0x18
imul eax, eax, 0x274
lea edx, [ecx + 3]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
lea edx, [edi + ecx]
mov ecx, dword [eax + 0x638318]
mov dword [esp + 0x50], edx
mov edx, dword [ecx*4 + 0x638030]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edx
movzx eax, word [0x63cac4]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0x274
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x638318]
add edi, ecx
mov ecx, dword [eax*4 + 0x638030]
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x6381e2]
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 0x43cd96
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 + 0x638320]
test ecx, ecx
je 0x43ce3e
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
jmp 0x43cde0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43cde0
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
sub eax, edx
push eax
push ecx
push esi
call fcn.0052a000
mov ecx, dword [esp + 0x48]
lea eax, [ecx + eax + 6]
mov dword [esp + 0x64], eax
movzx eax, word [0x63cac0]
add esp, 0x18
imul eax, eax, 0x274
lea edx, [ecx + 3]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], edx
lea edx, [edi + ecx]
mov ecx, dword [eax + 0x638318]
mov dword [esp + 0x50], edx
mov edx, dword [ecx*4 + 0x638030]
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], edx
movzx eax, word [0x63cac8]
mov ecx, dword [esp + 0x58]
imul eax, eax, 0x274
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x638318]
add edi, ecx
mov ecx, dword [eax*4 + 0x638030]
push ecx
push esi
call ebx
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + 0x6381e2]
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 0x43ce81
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 + 0x638320]
test eax, eax
je 0x43cf2f
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ced2
push 0
push 0
sub eax, edx
mov edx, dword [esp + 0x30]
push 0
push eax
push edx
push esi
call fcn.0052a000
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 [0x63cac0]
mov dword [esp + 0x60], edi
add edi, ecx
add esp, 0x18
imul edx, edx, 0x274
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x638318]
mov ecx, dword [eax*4 + 0x638030]
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
movzx edi, word [0x63cad4]
mov eax, ecx
imul edi, edi, 0x274
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 + 0x638318]
sub edx, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [eax*4 + 0x638030]
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 + 0x638318]
mov edx, dword [ecx*4 + 0x638030]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x20], eax
movzx eax, word [0x63cacc]
imul eax, eax, 0x274
mov ecx, dword [eax + 0x638318]
mov edx, dword [ecx*4 + 0x638030]
push edx
push esi
call ebx
lea ecx, [edi + 0x6381e2]
mov dword [esp + 0x2c], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x54], edx
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43cfe0
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 + 0x638320]
test eax, eax
je 0x43d061
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 + 0x638318]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax*4 + 0x638030]
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 [0x63cb00]
mov eax, ecx
imul edi, edi, 0x274
mov dword [esp + 0x30], edx
cdq
sub eax, edx
sar eax, 1
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x638318]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax*4 + 0x638030]
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 + 0x638320]
test eax, eax
je 0x43d113
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 [0x63cb00]
dec eax
add ecx, 0xfffffffd
imul edx, edx, 0x274
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x638318]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax*4 + 0x638030]
mov dword [esp + 0x40], ecx
mov edx, dword [edi + 0x638318]
mov eax, dword [edx*4 + 0x638030]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
movzx edi, word [0x63cafc]
mov ecx, dword [esp + 0x34]
imul edi, edi, 0x274
mov edx, dword [edi + 0x638318]
mov eax, dword [edx*4 + 0x638030]
push eax
add ecx, 3
push esi
mov dword [esp + 0x28], ecx
call ebx
lea ecx, [edi + 0x6381e2]
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 0x43d168
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 + 0x638320]
test eax, eax
je 0x43d20d
mov edi, dword [esp + 0x28]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d1b0
push 0
push 0
push 0
sub eax, edx
push eax
push edi
push esi
call fcn.0052a000
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 [0x63cafc]
mov dword [esp + 0x60], edx
add edx, eax
add esp, 0x18
imul ecx, ecx, 0x274
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 0x638318]
mov eax, dword [edx*4 + 0x638030]
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 0x43d286
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 0x43d286
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.0043c6b0
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 [0x63cb08]
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 [0x63cb0c]
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 [0x63cb04]
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