Function at 0x405570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c79e2
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x4ea6c4]
xor eax, esp
mov dword [esp + 0x4d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ea6c4]
xor eax, esp
push eax
lea eax, [esp + 0x4e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x17c]
mov ebx, dword [ebp + 8]
call edx
add eax, 0xffffff9c
cmp eax, 0x1f
ja case.0x4055d6.102
movzx eax, byte [eax + 0x405880]
jmp dword [eax*4 + 0x405858]
push ebx
call fcn.004051e0
jmp case.0x4055d6.102
mov ecx, dword [ebx + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4055d6.102
mov eax, ebx
call fcn.004058a0
jmp case.0x4055d6.102
mov eax, ebx
call fcn.00405930
jmp case.0x4055d6.102
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
jmp case.0x4055d6.102
mov ecx, dword [ebx + 0x23c]
mov edi, dword [ebx + 4]
add ecx, 0x1c
call fcn.004086d0
test al, al
je case.0x4055d6.102
lea esi, [ebx + 0x24]
push 0x6d
mov eax, esi
call fcn.00449620
test eax, eax
je 0x405668
mov ecx, dword [ebx + 0x23c]
mov edx, dword [eax]
mov edx, dword [edx + 0x170]
add ecx, 0x1c
push ecx
mov ecx, eax
call edx
push 0x77
mov eax, esi
call fcn.00449620
mov edi, eax
test edi, edi
je case.0x4055d6.102
mov esi, dword [ebx + 0x23c]
mov eax, dword [edi]
add esi, 0x1c
mov dword [esp + 0x14], eax
call fcn.0040b9f0
mov edx, dword [esp + 0x14]
test al, al
mov eax, dword [edx + 0x124]
sete cl
push ecx
mov ecx, edi
call eax
jmp case.0x4055d6.102
mov ecx, dword [ebx + 0x23c]
call fcn.00403580
test al, al
jne 0x405736
mov edi, 0x4bf
lea esi, [esp + 0x1c]
call fcn.0043b820
mov dword [esp + 0x14], eax
mov edi, 0x4b1
lea esi, [esp + 0x54]
mov dword [esp + 0x4f0], 0
call fcn.0043b820
mov byte [esp + 0x4f0], 1
mov ecx, dword [esp + 0x14]
mov edi, dword [ebx + 4]
push ecx
push eax
push 4
lea edx, [esp + 0x2c0]
push edx
call fcn.00401040
call fcn.00449530
lea esi, [esp + 0x1c]
mov byte [esp + 0x4f0], 4
call fcn.00449530
lea esi, [esp + 0x2b4]
call fcn.0044ee00
mov eax, esi
mov dword [esp + 0x4f0], 0xffffffff
call fcn.00401170
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov ecx, ebx
call edx
jmp case.0x4055d6.102
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call fcn.00403ed0
test al, al
je case.0x4055d6.119
mov edi, 0x4b5
lea esi, [esp + 0x38]
call fcn.0043b820
mov dword [esp + 0x18], eax
mov edi, 0x4b1
lea esi, [esp + 0x70]
mov dword [esp + 0x4f0], 5
call fcn.0043b820
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 3
lea edx, [esp + 0x98]
mov byte [esp + 0x4fc], 6
mov edi, dword [ebx + 4]
push edx
call fcn.00401040
call fcn.00449530
lea esi, [esp + 0x38]
mov byte [esp + 0x4f0], 9
call fcn.00449530
lea esi, [esp + 0x8c]
call fcn.0044ee00
cmp dword [esp + 0x2a0], 1
jne 0x40583d
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x8c]
mov dword [esp + 0x4f0], 0xffffffff
call fcn.00401170
mov esi, ebx
call fcn.00405fb0
mov ecx, dword [esp + 0x4e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4d0]
xor ecx, esp
call fcn.004abc64
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x8c]
mov dword [esp + 0x4f0], 0xffffffff
call fcn.00401170
jmp case.0x4055d6.102