Function at 0x4059f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47a482
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
push ebx
push esi
push edi
mov eax, dword [0x4921bc]
xor eax, esp
push eax
lea eax, [esp + 0x3e0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x164]
call eax
add eax, 0xffffff9c
cmp eax, 0x1f
ja case.0x405a48.102
movzx ecx, byte [eax + 0x405d58]
jmp dword [ecx*4 + 0x405d30]
push ebx
call fcn.00405730
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 4]
push 0
push 0xf020
push 0x112
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, ebx
call fcn.00405d80
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, ebx
call fcn.00405e10
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x1bc]
add ecx, 0x1c
mov edi, ebx
call fcn.00437990
test al, al
je case.0x405a48.102
lea esi, [ebx + 0x1c]
push 0x6d
mov eax, esi
call fcn.00432760
test eax, eax
je 0x405b17
mov ecx, dword [ebx + 0x1bc]
mov edx, dword [eax]
mov edx, dword [edx + 0x158]
add ecx, 0x1c
push ecx
mov ecx, eax
call edx
push 0x77
mov eax, esi
call fcn.00432760
mov edi, eax
test edi, edi
je case.0x405a48.102
mov esi, dword [ebx + 0x1bc]
mov eax, dword [edi]
add esi, 0x1c
mov dword [esp + 0x14], eax
call fcn.0040f9b0
mov edx, dword [esp + 0x14]
test al, al
mov eax, dword [edx + 0x124]
sete cl
push ecx
mov ecx, edi
call eax
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x1bc]
call fcn.00403010
test al, al
jne case.0x405a48.130
mov edi, 0x4bf
lea esi, [esp + 0x1c]
call fcn.00401040
mov dword [esp + 0x14], eax
mov edi, 0x4b1
lea esi, [esp + 0x54]
mov dword [esp + 0x3e8], 0
call fcn.00401040
mov byte [esp + 0x3e8], 1
mov ecx, dword [esp + 0x14]
mov edi, dword [ebx + 4]
push ecx
push eax
push 4
lea edx, [esp + 0x240]
push edx
call fcn.00401070
call fcn.00432680
lea esi, [esp + 0x1c]
mov byte [esp + 0x3e8], 4
call fcn.00432680
lea edi, [esp + 0x234]
call fcn.00437890
mov eax, edi
mov dword [esp + 0x3e8], 0xffffffff
call fcn.00401180
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call fcn.00403960
test al, al
je case.0x405a48.119
mov edi, 0x4b5
lea esi, [esp + 0x38]
call fcn.00401040
mov dword [esp + 0x18], eax
mov edi, 0x4b1
lea esi, [esp + 0x70]
mov dword [esp + 0x3e8], 5
call fcn.00401040
mov ecx, dword [esp + 0x18]
push ecx
push eax
push 3
lea edx, [esp + 0x98]
mov byte [esp + 0x3f4], 6
mov edi, dword [ebx + 4]
push edx
call fcn.00401070
call fcn.00432680
lea esi, [esp + 0x38]
mov byte [esp + 0x3e8], 9
call fcn.00432680
lea edi, [esp + 0x8c]
call fcn.00437890
cmp dword [esp + 0x21c], 1
jne 0x405cff
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]
mov eax, edi
mov dword [esp + 0x3e8], 0xffffffff
call fcn.00401180
mov esi, ebx
call fcn.00406450
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x8c]
mov dword [esp + 0x3e8], 0xffffffff
call fcn.00401180
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8