Function at 0x41a80d
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x459ef2
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
push edi
lea edi, [esi + 0x24]
xor ebx, ebx
cmp eax, ebx
jne 0x41a83d
cmp edi, ebx
je 0x41a826
lea eax, [edi - 0x24]
jmp 0x41a828
xor eax, eax
mov eax, dword [eax + 4]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x5ef
push eax
call ebp
mov dword [edi], eax
jmp 0x41a843
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esi + 0x28], ebx
jne 0x41a861
cmp edi, ebx
je 0x41a851
lea eax, [edi - 0x24]
jmp 0x41a853
xor eax, eax
mov ecx, dword [eax + 4]
push 0x5f1
push ecx
call ebp
mov dword [esi + 0x28], eax
cmp dword [esi + 0x2c], ebx
jne 0x41a87f
cmp edi, ebx
je 0x41a86f
lea eax, [edi - 0x24]
jmp 0x41a871
xor eax, eax
mov edx, dword [eax + 4]
push 0x5ee
push edx
call ebp
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x30], ebx
jne 0x41a89d
cmp edi, ebx
je 0x41a88d
lea eax, [edi - 0x24]
jmp 0x41a88f
xor eax, eax
mov eax, dword [eax + 4]
push 0x5f0
push eax
call ebp
mov dword [esi + 0x30], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov edi, dword [0x467cc0]
add edi, 0x10
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [0x4a1ab0]
call fcn.00418440
push edi
mov ebp, eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
cmp esi, ebx
je 0x41a8dd
lea edx, [esi + 0x20]
mov dword [esp + 0x10], edx
jmp 0x41a8e1
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [ebp + 4]
call fcn.00418250
call dword [sym.imp.kernel32.dll_GetVersion]
mov dword [0x4a1508], eax
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, ebx
mov dword [esp + 0xc0], ebx
je 0x41a99c
mov ebp, dword [sym.imp.USER32.dll_AppendMenuA]
push ebx
push ebx
push 0x800
push edi
call ebp
push 0x45e15c
push 0x7f
push ebx
push edi
call ebp
push ebx
push ebx
push 0x800
push edi
call ebp
push 0x45e150
push 0x81
push ebx
push edi
call ebp
push 0x45e144
push 0x82
push ebx
push edi
call ebp
push 0x45e138
push 0x83
push ebx
push edi
call ebp
push 0x45e12c
push 0x84
push ebx
push edi
call ebp
push 0x45e120
push 0x85
push ebx
push edi
call ebp
push ebx
push ebx
push 0x800
push edi
call ebp
push 0x45e114
push 0x80
push ebx
push edi
call ebp
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push edx
call edi
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 4]
push ebx
push 0x80
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [0x4a1584], ecx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [0x4a17b4]
push eax
call fcn.004105f0
add esp, 4
test eax, eax
jne 0x41aa02
mov ecx, dword [esi + 4]
push ebx
push 0x45e104
push 0x45e0e8
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
call fcn.00425e30
mov edx, dword [0x4a1668]
push edx
lea ecx, [esp + 0x18]
call fcn.00406a40
push 7
push 0x45e0e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc8], 1
call fcn.00402e90
mov eax, dword [esp + 0x14]
push eax
call fcn.00426c60
mov edi, dword [esi + 4]
add esp, 4
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push 0xc
push ebp
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 0x10
jmp 0x41aa9f
push ebp
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
call fcn.00426b60
call fcn.00427280
call fcn.00427310
call fcn.004271b0
push 0x1b0
mov dword [0x4a1434], 1
call fcn.0044dda6
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0xc0], 2
je 0x41aaed
mov ecx, eax
call fcn.0043e4c0
mov edi, eax
jmp 0x41aaef
xor edi, edi
mov ebp, dword [esi + 0x28]
push edi
lea ecx, [edi + 8]
push ecx
push 0x490cd0
mov byte [esp + 0xcc], 1
call fcn.0040da70
mov edx, dword [0x4a1de4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x40dc90
push ebp
push 0xbd
push edx
call ebx
mov eax, dword [edi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x10c
call fcn.0044dda6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xc0], 3
je 0x41ab58
mov ecx, eax
call fcn.0043c880
mov edi, eax
jmp 0x41ab5a
xor edi, edi
mov ebp, dword [esi + 0x30]
push edi
lea ecx, [edi + 8]
push ecx
push 0x490cd0
call fcn.0040da70
mov edx, dword [0x4a1de4]
push 0
push 0x40dc90
push ebp
push 0xbc
push edx
call ebx
mov eax, dword [edi + 4]
mov ebx, 5
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x5a5
push 0x5a6
mov dword [0x4a1ab8], ebx
mov ecx, dword [esi + 4]
push 0x5a1
push ecx
call dword [sym.imp.USER32.dll_CheckRadioButton]
mov edx, dword [esi + 4]
push 0x5a6
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, 0x4a08b4
nop
mov dword [eax - 4], esi
mov dword [eax], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 4
mov dword [eax + 4], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], 1
add eax, 0x24
cmp eax, 0x4a13f4
jl 0x41abd0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xc0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ac22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret 0x10