Function at 0x404c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427f58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x43400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 0x128], eax
test eax, eax
je 0x404e63
cmp byte [edi + 0x80], 0
je 0x404cc3
mov ecx, edi
call fcn.00405110
mov eax, dword [edi + 4]
test eax, eax
je 0x404f39
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
sub esp, 8
and eax, 0xfffbffff
mov edx, eax
mov ecx, edi
call fcn.0040b1e3
add esp, 8
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 1
push 0x9c46
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [edi + 4]
test eax, eax
je 0x404f3e
lea esi, [edi + 0x108]
push esi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
call esi
lea eax, [edi + 0x110]
push eax
push dword [edi + 4]
call esi
lea esi, [edi + 0x134]
lea ebx, [esi + 0x40]
cmp esi, ebx
je 0x404d7c
mov ecx, dword [edi + 0x114]
sub ecx, dword [edi + 0x10c]
mov eax, dword [edi + 0x110]
sub eax, dword [edi + 0x108]
push 0
push 1
push dword [edi + 0x128]
push ecx
push eax
mov ecx, esi
call fcn.0040b42f
test al, al
je 0x404e5a
add esi, 0x20
cmp esi, ebx
jne 0x404d42
sub esp, 8
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
call fcn.0040f431
mov dword [edi + 0x1b0], eax
add esp, 8
mov dword [edi + 0x1d8], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [edi + 0x1b4], edx
mov dword [edi + 0x1dc], edx
mov dword [edi + 0x1e0], 0
movsd qword [edi + 0x1e8], xmm0
mov dword [edi + 0x1f0], eax
mov word [edi + 0x1f8], 0
cmp eax, 2
jne 0x404ec3
push str.index.txt
lea edx, [edi + 0xf0]
lea ecx, [ebp - 0x2c]
call fcn.00409990
add esp, 4
push 0
push 0x80
push 2
push 0
push 0x40000000
push eax
lea ecx, [edi + 0x208]
mov dword [ebp - 4], 0
call fcn.0040e069
test al, al
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
sete bl
cmp edx, 8
jb 0x404e89
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404e7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f43
jmp 0x404e7f
push 1
mov ecx, edi
call fcn.00404f50
push 0x10010
push 0x42ede0
push str.Regrettably_something_somewhere_didnt_work._Capture_failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x404f1b
push edx
push ecx
call fcn.004103f8
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test bl, bl
je 0x404ec3
push 1
mov ecx, edi
call fcn.00404f50
push 0x10010
push 0x42ede0
push str.Failed_to_create_a_temporary_capture_file._nIs_another_capture_already_running_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x404f1b
mov eax, dword [edi + 0x88]
test eax, eax
je 0x404eeb
push eax
mov eax, dword [edi + 0x8c]
and eax, 0xf
or eax, 0x4000
push eax
push 0x1234
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RegisterHotKey]
push 0
push 0
push edi
push 0x405f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0xa
push 0x10
push dword [edi + 4]
mov dword [edi + 0x1fc], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, edi
call fcn.004078c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004102b9
mov esp, ebp
pop ebp
ret 4
call fcn.0041906a
call fcn.0041906a
call fcn.00413f74
int3