Function at 0x4121bc
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
mov eax, 0x4d919c
call fcn.0046d048
sub esp, 0x504
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, 8
mov edi, ecx
jg 0x4121e5
push 2
lea ecx, [eax - 1]
pop eax
shl eax, cl
jmp 0x4121e7
xor eax, eax
shl eax, 2
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x44], eax
je 0x412221
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x412221
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x412228
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
jmp 0x412886
push eax
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
push 0xcc0020
mov dword [ebp - 0x54], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 0x84]
cmp eax, 0xe10
mov dword [ebp - 0x40], eax
jge 0x41228a
lea eax, [ebp + 0x14]
push 0x51459c
push eax
lea ecx, [ebp - 0x40]
call fcn.004c817f
push eax
lea ecx, [edi + 0x78]
mov dword [ebp - 4], ebx
call fcn.004ce065
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
jmp 0x4122b9
cmp eax, 0x15180
jge 0x4122be
lea eax, [ebp + 0x14]
push 0x514590
push eax
lea ecx, [ebp - 0x40]
call fcn.004c817f
push eax
lea ecx, [edi + 0x78]
mov dword [ebp - 4], 1
call fcn.004ce065
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004cdf2c
lea eax, [edi + 0x78]
push eax
lea eax, [ebp + 0x14]
push 0x514584
push eax
call fcn.004ce235
push eax
lea ecx, [edi + 0x78]
mov dword [ebp - 4], 2
call fcn.004ce065
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004cdf2c
push 0xffffff
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], vtable.CFont.0
push 0x48
push 0x5a
push ebx
mov dword [ebp - 4], 3
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xb
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xa4]
push 0x51457c
push eax
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], 0x3e8
mov byte [ebp - 0xac], bl
mov byte [ebp - 0xab], bl
mov byte [ebp - 0xaa], bl
mov byte [ebp - 0xa9], 0x86
mov byte [ebp - 0xa8], bl
mov byte [ebp - 0xa7], bl
mov byte [ebp - 0xa6], bl
mov byte [ebp - 0xa5], bl
call fcn.0046d130
pop ecx
lea eax, [ebp - 0xc0]
pop ecx
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp - 0x34]
call fcn.004d162d
lea eax, [ebp - 0x34]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call esi
mov dword [ebp + 0x1c], eax
mov eax, dword [edi + 0x7c]
push dword [eax - 8]
push eax
push 4
push 5
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [edi + 0x78]
push dword [eax - 8]
push eax
push 0x18
push 5
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [edi + 0x80]
push dword [eax - 8]
push eax
push 0x2c
push 5
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_TextOutA]
push dword [ebp + 0x1c]
push dword [ebp - 0x10]
call esi
push 0x48
push 0x5a
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xd
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xa4]
push 0x514574
push eax
call fcn.0046d130
pop ecx
mov dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp - 0x20], vtable.CFont.0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [ebp - 0x20]
call fcn.004d162d
lea eax, [ebp - 0x20]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call esi
push ebx
push 1
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
call fcn.004d169a
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], vtable.CBrush.0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call esi
push 5
mov dword [ebp - 0x48], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [ebp - 0x18]
call fcn.004d162d
lea eax, [ebp - 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x84]
push 8
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp + 0x14], 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x518cb0]
imul eax, dword [ebp - 0x5c]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x1c], ecx
cmp eax, 0xe10
mov byte [ebp - 4], 7
jge 0x412522
lea eax, [ebp - 0x64]
push 0x51459c
push eax
lea ecx, [ebp + 0x10]
call fcn.004c817f
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 8
call fcn.004ce065
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
jmp 0x412547
lea eax, [ebp - 0x60]
push 0x514590
push eax
lea ecx, [ebp + 0x10]
call fcn.004c817f
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 9
call fcn.004ce065
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.004cdf2c
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.004cdca1
lea eax, [ebp - 0xe0]
mov ecx, edi
push eax
call fcn.0041293b
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.004cdca1
lea eax, [ebp - 0xe8]
mov ecx, edi
push eax
call fcn.0041293b
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x14], 1
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
je 0x4125a0
inc eax
imul eax, dword [ebp + 0x14]
add eax, 0x3c
lea edx, [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
push 0x2a
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BeginPath]
mov eax, dword [ebp + 0x1c]
lea edx, [ebp - 0x74]
push 0x2a
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_EndPath]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_StrokeAndFillPath]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.004cdf2c
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], 8
jle 0x4124dd
push dword [ebp - 0x50]
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x48]
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x4c]
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x18]
call fcn.004d165a
lea eax, [ebp - 0xd8]
push eax
push 0x18
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_GetObjectA]
push 0x28
lea eax, [ebp - 0x510]
pop edi
push edi
push ebx
push eax
call fcn.0046d250
mov eax, dword [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0x50c], eax
mov ecx, dword [ebp - 0xd0]
push 0x60
mov dword [ebp - 0x510], edi
pop eax
mov edi, dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], eax
mov ax, word [ebp + 0xc]
push ebx
mov word [ebp - 0x502], ax
lea eax, [ebp - 0x510]
push eax
push ebx
push ecx
push ebx
push dword [ebp - 0x24]
mov dword [ebp - 0x508], ecx
mov word [ebp - 0x504], 1
mov dword [ebp - 0x4f0], ebx
push dword [ebp + 8]
mov dword [ebp - 0x500], ebx
call edi
mov eax, dword [ebp - 0x4fc]
add eax, 0x80
push eax
call fcn.004ce490
cmp eax, ebx
pop ecx
mov dword [ebp + 0x18], eax
jne 0x41270e
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.004d1684
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.004d1684
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.004d1684
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0xd
jmp 0x41287c
lea ecx, [ebp - 0x510]
push ebx
push ecx
push eax
push dword [ebp - 0xd0]
push ebx
push dword [ebp - 0x24]
push dword [ebp + 8]
call edi
push dword [ebp - 0x54]
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 0x20]
lea ecx, [ebp - 0x38]
call fcn.004cdf9a
mov edi, dword [ebp - 0x44]
push ebx
push ebx
push 2
lea eax, [edi + 0x36]
push ebx
mov dword [ebp - 0x7a], eax
mov eax, dword [ebp - 0x4fc]
push ebx
push 0xc0000000
push dword [ebp - 0x38]
lea eax, [eax + edi + 0xe]
mov word [ebp - 0x84], 0x4d42
mov word [ebp - 0x7e], bx
mov word [ebp - 0x7c], bx
mov dword [ebp - 0x82], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4127d4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004cdf2c
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.004d1684
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.004d1684
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.004d1684
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0x12
jmp 0x41287c
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x3c]
push ebx
push ecx
lea ecx, [ebp - 0x84]
push 0xe
push ecx
push eax
mov dword [ebp - 0x3c], ebx
call esi
lea eax, [ebp - 0x3c]
push ebx
push eax
add edi, 0x28
lea eax, [ebp - 0x510]
push edi
push eax
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x3c]
push ebx
push eax
push dword [ebp - 0x4fc]
push dword [ebp + 0x18]
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x18]
call fcn.004ce4b9
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004cdf2c
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x13
call fcn.004d1684
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.004d1684
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.004d1684
mov dword [ebp - 0x34], esi
push 1
mov dword [ebp - 4], 0x16
pop ebx
lea ecx, [ebp - 0x34]
call fcn.004d1684
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c