Function at 0x4ef990
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x565300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x320]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x330], eax
call fcn.004dca80
mov eax, dword [ebp - 0x320]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jle 0x4ef9ee
push 1
push eax
call sub.VCRUNTIME140.dll_wcschr
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x320]
test ecx, ecx
je 0x4ef9ee
sub ecx, eax
sar ecx, 1
je 0x4efb87
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ecx
mov esi, esp
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4f0190
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
push 0x5261bc
mov dword [esi], eax
call fcn.004037a0
test al, al
jne 0x4efa2f
push 5
push 0x5261bc
mov ecx, esi
call fcn.00403c10
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004ef680
add esp, 0xc
mov ecx, 0x568c58
push eax
call fcn.00403280
mov edx, dword [ebp - 0x31c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4efa6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4f019a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
push str.__wd
mov dword [esi], eax
call fcn.004037a0
test al, al
jne 0x4efaa7
push 5
push str.__wd
mov ecx, esi
call fcn.00403c10
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004ef680
mov eax, dword [ebp - 0x318]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4efadd
push dword [eax - 0xc]
lea ecx, [ebp - 0x318]
call fcn.004038f0
mov eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov dword [0x568c10], eax
mov esi, esp
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4f01a4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
push str.__outfile
mov dword [esi], eax
call fcn.004037a0
test al, al
jne 0x4efb22
push 0xa
push str.__outfile
mov ecx, esi
call fcn.00403c10
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004ef680
add esp, 0xc
mov ecx, 0x568c54
push eax
call fcn.00403280
mov edx, dword [ebp - 0x31c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4efb60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x318]
mov eax, ebx
mov dword [0x568c14], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4efb87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x330]
mov dword [0x568650], esi
call fcn.004ecef0
test eax, eax
je 0x4efba3
xor esi, esi
jmp 0x4f015a
push str.RecordScreen
push 0x5312ac
push 0x63
push 0x568a80
call fcn.004f0210
push str.RecordScreenClass
push 0x5312ac
push 0x63
push 0x568b48
call fcn.004f0210
add esp, 0x20
push 0
push 0x568a80
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4efbeb
or esi, 0xffffffff
jmp 0x4f015a
mov eax, dword [ebp - 0x320]
cmp dword [eax - 0xc], 0
jl 0x4efc20
push str.fullscreeenmode
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x4efc20
sub eax, dword [ebp - 0x320]
sar eax, 1
cmp eax, 0xffffffff
je 0x4efc20
mov dword [0x568a78], 1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x328]
mov dword [ebp - 0x328], 8
push eax
mov dword [ebp - 0x324], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push esi
push 0
mov ecx, 0x568c18
call fcn.004ecdc0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.skinScreener
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esp
push eax
call fcn.00403e40
call fcn.00402820
mov ecx, eax
call fcn.004028f0
cmp dword [0x568c14], 0
jne 0x4f010c
push 0xc
mov dword [ebp - 0x324], 0
call fcn.0050e592
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x328], eax
mov eax, 0x20
mov word [ebp - 0x32c], ax
lea eax, [ebp - 0x32c]
push eax
push edi
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
call edi
add esp, 0xc
lea ecx, [ebp - 0x31c]
mov ebx, eax
push ebx
call fcn.004dca80
push eax
lea ecx, [ebp - 0x328]
call fcn.004ef8c0
mov edx, dword [ebp - 0x31c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4efd4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor eax, eax
mov dword [ebp - 0x31c], eax
test ebx, ebx
je 0x4f0010
test eax, eax
jne 0x4efe03
test ebx, ebx
je 0x4efdc3
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4efd71
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x4efdbb
lea eax, [edi + edi]
call fcn.0050ef20
mov esi, esp
test esi, esi
je 0x4efdb5
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
mov word [esi], ax
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 3
call eax
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4efdbd
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor eax, eax
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
push eax
push 0x5312ac
push 0x104
push 0x568660
call fcn.004f0210
add esp, 0x10
push str.feedback
push 0x568660
call esi
test eax, eax
jne 0x4efe61
mov eax, dword [ebp - 0x320]
cmp dword [eax - 0xc], 0
jge 0x4eff9f
or ecx, 0xffffffff
jmp 0x4effc2
cmp eax, 1
jne 0x4efe61
lea eax, [ebp - 0x318]
mov dword [ebp - 0x318], 0
push eax
push 0x5327cc
push ebx
call fcn.004d6ed0
push 0x105
lea eax, [ebp - 0x314]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x318]
lea eax, [ebp - 0x314]
push 0x5327cc
push 0x104
push eax
call fcn.004f01d0
mov eax, dword [ebp - 0x318]
add esp, 0x28
mov dword [0x56886c], eax
lea eax, [ebp - 0x32c]
push eax
push 0
call edi
add esp, 8
mov ebx, eax
call fcn.00404590
test eax, eax
je 0x4f0190
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x318]
push ebx
mov dword [ebp - 0x318], eax
call fcn.004037a0
test al, al
jne 0x4eff12
test ebx, ebx
je 0x4eff07
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x4eff07
mov esi, dword [ebp - 0x318]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edi
or ecx, eax
jge 0x4efee3
push edi
lea ecx, [ebp - 0x318]
call fcn.004039e0
mov esi, dword [ebp - 0x318]
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
call eax
cmp edi, dword [esi - 8]
jg 0x4f01ae
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x4eff18
lea ecx, [ebp - 0x318]
call fcn.00403860
mov esi, dword [ebp - 0x318]
cmp dword [ebp - 0x324], 0x15555555
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x318], eax
je 0x4f01b8
push 0xc
call fcn.0050e592
add esi, 0xfffffff0
mov edi, eax
push esi
call fcn.00403fb0
mov ecx, dword [ebp - 0x318]
add eax, 0x10
mov dword [edi + 8], eax
add esp, 8
inc dword [ebp - 0x324]
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [ecx + 4], edi
mov dword [eax], edi
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4eff7d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x31c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
inc eax
mov dword [ebp - 0x31c], eax
test ebx, ebx
je 0x4f0010
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
jmp 0x4efd60
push 0x5261b8
push eax
call sub.VCRUNTIME140.dll_wcsstr
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x320]
test ecx, ecx
jne 0x4effbe
or ecx, 0xffffffff
jmp 0x4effc2
sub ecx, eax
sar ecx, 1
mov eax, dword [eax - 0xc]
inc ecx
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x320]
call fcn.0041fc40
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x328]
call fcn.004ef8c0
mov edx, dword [ebp - 0x31c]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f0013
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4f0013
or ebx, 0xffffffff
cmp dword [ebp - 0x324], 2
jb 0x4f0096
push str.feedback
push 0x568660
call esi
test eax, eax
jne 0x4f0096
mov eax, dword [ebp - 0x328]
mov esi, dword [eax]
mov ecx, dword [esi]
dec dword [ebp - 0x324]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, ebx
mov edx, dword [esi + 8]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f0061
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xc
push esi
call fcn.0050e5c2
mov eax, dword [ebp - 0x328]
add esp, 8
mov ecx, 0x568c54
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00403280
push 0x52ca68
push 0x53330c
mov ecx, 0x568c54
call fcn.0041fe60
push 0x52627c
push 0x5312ac
push 0x104
push 0x568660
call fcn.004f0210
mov ecx, dword [ebp - 0x328]
add esp, 0x10
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov esi, dword [ecx]
test esi, esi
je 0x4f00f4
mov edx, dword [esi + 8]
mov eax, ebx
mov edi, dword [esi]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f00e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xc
push esi
call fcn.0050e5c2
add esp, 8
mov esi, edi
test edi, edi
jne 0x4f00c7
push 0xc
push dword [ebp - 0x328]
call fcn.0050e5c2
mov esi, dword [ebp - 0x330]
add esp, 8
jmp 0x4f0128
push 0x526290
push 0x5312ac
push 0x104
push 0x568660
call fcn.004f0210
add esp, 0x10
push 0x6b
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push 1
push 0
mov dword [0x56865c], eax
call fcn.004ee970
mov esi, eax
add esp, 8
mov eax, dword [0x56865c]
test eax, eax
je 0x4f0154
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x320]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4f0175
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
lea esp, [ebp - 0x33c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ea5d
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404110
push 0x80004005
call fcn.00404110
push 0x80004005
call fcn.00404110
push 0x80070057
call fcn.00404110
push str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3