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

Disassembly:
mov eax, 0x4de094
call fcn.00471fb4
sub esp, 0x504
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, 8
mov edi, ecx
jg 0x412fa5
push 2
lea ecx, [eax - 1]
pop eax
shl eax, cl
jmp 0x412fa7
xor eax, eax
shl eax, 2
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x44], eax
je 0x412fe1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x412fe1
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 0x412fe8
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
jmp 0x413646
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 0x41304a
lea eax, [ebp + 0x14]
push str._M:_S
push eax
lea ecx, [ebp - 0x40]
call fcn.004cceff
push eax
lea ecx, [edi + 0x78]
mov dword [ebp - 4], ebx
call fcn.004d2dc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
jmp 0x413079
cmp eax, 0x15180
jge 0x41307e
lea eax, [ebp + 0x14]
push str._H:_M:_S
push eax
lea ecx, [ebp - 0x40]
call fcn.004cceff
push eax
lea ecx, [edi + 0x78]
mov dword [ebp - 4], 1
call fcn.004d2dc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004d2c89
lea eax, [edi + 0x78]
push eax
lea eax, [ebp + 0x14]
push 0x51a7c0
push eax
call fcn.004d2f92
push eax
lea ecx, [edi + 0x78]
mov dword [ebp - 4], 2
call fcn.004d2dc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004d2c89
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 0x51a7b8
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.004720a0
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.004d63ff
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 0x51a7b0
push eax
call fcn.004720a0
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.004d63ff
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.004d646c
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.004d63ff
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 [0x51f320]
imul eax, dword [ebp - 0x5c]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x1c], ecx
cmp eax, 0xe10
mov byte [ebp - 4], 7
jge 0x4132e2
lea eax, [ebp - 0x64]
push str._M:_S
push eax
lea ecx, [ebp + 0x10]
call fcn.004cceff
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 8
call fcn.004d2dc2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
jmp 0x413307
lea eax, [ebp - 0x60]
push str._H:_M:_S
push eax
lea ecx, [ebp + 0x10]
call fcn.004cceff
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 9
call fcn.004d2dc2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.004d2c89
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.004d29fe
lea eax, [ebp - 0xe0]
mov ecx, edi
push eax
call fcn.004136fb
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.004d29fe
lea eax, [ebp - 0xe8]
mov ecx, edi
push eax
call fcn.004136fb
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 0x413360
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.004d2c89
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], 8
jle 0x41329d
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.004d642c
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.004721c0
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.004d31ed
cmp eax, ebx
pop ecx
mov dword [ebp + 0x18], eax
jne 0x4134ce
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.004d6456
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.004d6456
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.004d6456
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0xd
jmp 0x41363c
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.004d2cf7
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 0x413594
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004d2c89
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.004d6456
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.004d6456
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.004d6456
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0x12
jmp 0x41363c
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.004d3216
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004d2c89
mov esi, vtable.CGdiObject.0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x13
call fcn.004d6456
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.004d6456
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.004d6456
mov dword [ebp - 0x34], esi
push 1
mov dword [ebp - 4], 0x16
pop ebx
lea ecx, [ebp - 0x34]
call fcn.004d6456
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c