Function at 0x405980
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d776
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x698
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0041fa10
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00402bf0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x120
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.00406df0
add esp, 8
push 0x5c
lea ecx, [ebp - 0x220]
call fcn.00406d90
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x120
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.00420836
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.0041fa10
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x634]
push eax
call fcn.0041fa10
add esp, 0xc
mov byte [ebp - 0x648], 0
xor eax, eax
mov dword [ebp - 0x647], eax
mov dword [ebp - 0x643], eax
mov dword [ebp - 0x63f], eax
mov dword [ebp - 0x63b], eax
push 0x11
push 0
lea eax, [ebp - 0x648]
push eax
call fcn.0041fa10
add esp, 0xc
push 0x10
push 0x4530a0
lea eax, [ebp - 0x648]
push eax
call fcn.0041f4a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x648]
push ecx
call fcn.0041fe00
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x648]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x42c]
push eax
push str.key__s.zzz
lea ecx, [ebp - 0x634]
push ecx
call fcn.004207c7
add esp, 0xc
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00420781
add esp, 8
lea ecx, [ebp - 0x658]
call fcn.00436539
mov byte [ebp - 4], 1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x658]
call fcn.004367d5
test eax, eax
je 0x405b44
push 0x104
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x658]
call fcn.0043624c
mov dword [ebp - 0x65c], eax
push 0
push 0x64
push 3
mov ecx, dword [ebp - 0x10]
call fcn.00407050
jmp 0x405c21
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x660], eax
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x664], eax
mov eax, dword [0x4530c0]
and eax, 0x800
je 0x405b94
push 0x20
push 0
push 0
mov eax, dword [ebp - 0x660]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x664]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00434568
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x74], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00406520
test eax, eax
je 0x405c17
push 0
push 0x1002
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x658]
call fcn.004367d5
test eax, eax
je 0x405bf7
push 0x10
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x658]
call fcn.0043628c
lea ecx, [ebp - 0x658]
call fcn.004364d7
push 0
push 0x64
push 3
mov ecx, dword [ebp - 0x10]
call fcn.00407050
jmp 0x405c15
push 0
push 0x440180
push 0x4401a0
mov ecx, dword [ebp - 0x10]
call fcn.00431c05
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x405c21
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x658]
call fcn.00436578
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00402c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4