Function at 0x55058f
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
mov dword [0x6d3a84], 0
mov dword [0x6d3aac], 0
mov dword [0x6e9a6c], 0
push 0xd
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x6d3acc], eax
push 0xe
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x6d3ad0], eax
mov dword [0x6d3ad4], 0
mov dword [0x6d3ad8], 0
cmp dword [0x6e9bb4], 0
jne 0x5505f5
xor eax, eax
jmp 0x55100f
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x38], 0
jmp 0x55060e
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jae 0x550658
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x210
mov edx, dword [ecx + 0x61ab00]
cmp edx, dword [0x6d3acc]
jne 0x550656
mov eax, dword [ebp - 0x38]
imul eax, eax, 0x210
mov ecx, dword [eax + 0x61ab04]
cmp ecx, dword [0x6d3ad0]
jne 0x550656
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x210
add edx, 0x61ab00
mov dword [ebp - 0x64], edx
jmp 0x550658
jmp 0x550605
cmp dword [ebp - 0x64], 0
jne 0x5506c1
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x38], 0
jmp 0x550677
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jae 0x5506c1
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x210
mov edx, dword [ecx + 0x61ab00]
cmp edx, dword [0x6d3acc]
jge 0x5506bf
mov eax, dword [ebp - 0x38]
imul eax, eax, 0x210
mov ecx, dword [eax + 0x61ab04]
cmp ecx, dword [0x6d3ad0]
jge 0x5506bf
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x210
add edx, 0x61ab00
mov dword [ebp - 0x64], edx
jmp 0x5506c1
jmp 0x55066e
cmp dword [ebp - 0x64], 0
je 0x550fec
mov eax, dword [0x6d3acc]
mov dword [ebp - 0x6c], eax
mov ecx, dword [0x6d3ad0]
mov dword [ebp - 4], ecx
push 1
push 0x21c
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x55071b
call fcn.005554f0
push 1
push 0x21c
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x55071b
mov eax, 2
jmp 0x55100f
mov edx, dword [ebp - 0x68]
mov dword [edx], 0
mov eax, dword [ebp - 0x68]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 4]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
push 1
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x5507a0
call fcn.005554f0
mov edx, dword [ebp - 0x28]
push edx
push 1
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x5507a0
cmp dword [ebp - 0x68], 0
je 0x55078f
mov eax, dword [ebp - 0x68]
push eax
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x7c], 0
jmp 0x550796
mov dword [ebp - 0x7c], 1
mov eax, 2
jmp 0x55100f
mov ecx, dword [ebp - 0x28]
push ecx
push 1
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x550827
call fcn.005554f0
mov edx, dword [ebp - 0x28]
push edx
push 1
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x550827
cmp dword [ebp - 0x58], 0
je 0x5507ee
mov eax, dword [ebp - 0x58]
push eax
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x80], 0
jmp 0x5507f5
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x68], 0
je 0x550813
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x84], 0
jmp 0x55081d
mov dword [ebp - 0x84], 1
mov eax, 2
jmp 0x55100f
mov dword [ebp - 0x38], 0
jmp 0x550839
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x28]
jge 0x55084c
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x38]
mov byte [ecx], 0
jmp 0x550830
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
sub eax, dword [edx]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax + 4]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x64]
add edx, 0x10
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x44], 0
jmp 0x55088a
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x44]
cmp edx, dword [ecx + 4]
jge 0x5508ff
mov dword [ebp - 0x5c], 0
jmp 0x5508b0
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp dword [ebp - 0x5c], eax
jge 0x5508fd
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x6c]
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
mov eax, dword [ebp - 0x30]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edx, dword [ebp - 0x5c]
add edx, ecx
add eax, edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x55089e
jmp 0x550881
mov dword [ebp - 0x38], 0
jmp 0x550911
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x28]
jge 0x55092c
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x38]
mov cl, byte [eax]
mov byte [edx + 0x1c], cl
jmp 0x550908
cmp dword [0x6d3a60], 0
jne 0x550aa4
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x68]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + 8]
mov eax, dword [ebp - 0x68]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x78]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x68]
mov dword [eax + 0x10], edx
mov dword [ebp - 0x38], 0
jmp 0x55097d
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x28]
jge 0x550990
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x38]
mov byte [eax], 0xff
jmp 0x550974
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [0x6d3a0c]
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x68]
cmp dword [edx + 8], 0
jne 0x550a4f
cmp dword [ebp - 0x58], 0
je 0x5509eb
mov eax, dword [ebp - 0x58]
push eax
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x88], 0
jmp 0x5509f5
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x48], 0
je 0x550a13
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x8c], 0
jmp 0x550a1d
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x68], 0
je 0x550a3b
mov edx, dword [ebp - 0x68]
push edx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x90], 0
jmp 0x550a45
mov dword [ebp - 0x90], 1
mov eax, 1
jmp 0x55100f
cmp dword [ebp - 0x58], 0
je 0x550a6d
mov eax, dword [ebp - 0x58]
push eax
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x94], 0
jmp 0x550a77
mov dword [ebp - 0x94], 1
cmp dword [ebp - 0x48], 0
je 0x550a95
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0x98], 0
jmp 0x550a9f
mov dword [ebp - 0x98], 1
jmp 0x550fe4
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 8]
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 4]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 8]
mov edx, dword [ebp - 0x68]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x78]
add ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x68]
mov dword [edx + 0x10], ecx
mov dword [ebp - 0x38], 0
jmp 0x550b01
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x28]
jge 0x550b22
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x38]
xor eax, eax
mov al, byte [edx]
xor eax, 0xff
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x38]
mov byte [ecx], al
jmp 0x550af8
push 0
push 0
push 0
push 0x61b0f0
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
cmp dword [0x6d3a60], 2
jne 0x550b92
push 0
mov edx, dword [0x6d3a68]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
push eax
push 1
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
cmp dword [0x6d3a60], 2
setne al
dec eax
and eax, 0x2000000
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [0x6d3a60], 2
jne 0x550c10
xor edx, edx
mov dx, word [0x6d3a78]
or edx, 0x1000000
mov dword [ebp - 0x9c], edx
jmp 0x550c5c
mov eax, dword [0x6d3a78]
shl eax, 4
mov ecx, dword [0x6d3a80]
xor edx, edx
mov dl, byte [ecx + eax + 4]
mov eax, dword [0x6d3a78]
shl eax, 4
mov ecx, dword [0x6d3a80]
xor ebx, ebx
mov bl, byte [ecx + eax + 8]
shl ebx, 8
or edx, ebx
mov eax, dword [0x6d3a78]
shl eax, 4
mov ecx, dword [0x6d3a80]
xor ebx, ebx
mov bl, byte [ecx + eax + 0xc]
shl ebx, 0x10
or edx, ebx
mov dword [ebp - 0x9c], edx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x6c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
lea edx, [ebp - 0x20]
push edx
push 0x18
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
and edx, 0xffff
imul ecx, edx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
push eax
push 1
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x550dca
call fcn.005554f0
mov ecx, dword [ebp - 0x24]
push ecx
push 1
call fcn.005bf7e3
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x550dca
cmp dword [ebp - 0x58], 0
je 0x550d0f
mov edx, dword [ebp - 0x58]
push edx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xa0], 0
jmp 0x550d19
mov dword [ebp - 0xa0], 1
cmp dword [ebp - 0x48], 0
je 0x550d37
mov eax, dword [ebp - 0x48]
push eax
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xa4], 0
jmp 0x550d41
mov dword [ebp - 0xa4], 1
cmp dword [ebp - 0x68], 0
je 0x550d5f
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xa8], 0
jmp 0x550d69
mov dword [ebp - 0xa8], 1
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x6d3a60], 2
jne 0x550d97
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 2
jmp 0x55100f
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov al, byte [ebp - 0xe]
push eax
mov cl, byte [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [0x6d3a0c]
push ecx
call dword [sym.imp.USER32.dll_CreateIcon]
mov edx, dword [ebp - 0x68]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax + 8], 0
jne 0x550f15
cmp dword [ebp - 0x58], 0
je 0x550e32
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xac], 0
jmp 0x550e3c
mov dword [ebp - 0xac], 1
cmp dword [ebp - 0x48], 0
je 0x550e5a
mov edx, dword [ebp - 0x48]
push edx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xb0], 0
jmp 0x550e64
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0x34], 0
je 0x550e82
mov eax, dword [ebp - 0x34]
push eax
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xb4], 0
jmp 0x550e8c
mov dword [ebp - 0xb4], 1
cmp dword [ebp - 0x68], 0
je 0x550eaa
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xb8], 0
jmp 0x550eb4
mov dword [ebp - 0xb8], 1
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x6d3a60], 2
jne 0x550ee2
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 2
jmp 0x55100f
cmp dword [ebp - 0x58], 0
je 0x550f33
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xbc], 0
jmp 0x550f3d
mov dword [ebp - 0xbc], 1
cmp dword [ebp - 0x48], 0
je 0x550f5b
mov edx, dword [ebp - 0x48]
push edx
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xc0], 0
jmp 0x550f65
mov dword [ebp - 0xc0], 1
cmp dword [ebp - 0x34], 0
je 0x550f83
mov eax, dword [ebp - 0x34]
push eax
call fcn.005bf4e7
add esp, 4
mov dword [ebp - 0xc4], 0
jmp 0x550f8d
mov dword [ebp - 0xc4], 1
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x6d3a60], 2
jne 0x550fbb
push 0
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x68]
mov dword [0x6d3ad8], eax
cmp dword [0x6d3ad8], 0
je 0x551003
mov ecx, dword [0x6d3ad8]
mov dword [0x6d3ad4], ecx
jmp 0x55100d
mov dword [0x6d3ad4], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret