Function at 0x405011
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
call fcn.0041aab3
lea ecx, [esi + 0x40]
call fcn.0041933c
lea ecx, [esi + 0x48]
call fcn.0041933c
lea ecx, [esi + 0x50]
call fcn.0041933c
lea ecx, [esi + 0x58]
call fcn.0041933c
lea ecx, [esi + 0x60]
call fcn.0041933c
lea ebx, [esi + 0x68]
mov ecx, ebx
call fcn.0040c206
mov dword [esi], 0x42269c
call fcn.0041b88e
push eax
lea eax, [ebp - 0x64]
push str.IPMsg_ver_s
push eax
call fcn.0041c0e8
xor edi, edi
push edi
push 0xe6
call fcn.004196d1
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00419e3f
push 1
pop eax
mov dword [ebx], eax
push 0x1664
mov dword [esi + 0x6c], eax
call fcn.0041b8da
add esp, 0x20
cmp eax, edi
je 0x4050b6
mov edx, dword [ebp + 0xc]
mov ecx, eax
push edx
mov dword [esi + 0xa8], edx
push dword [ebp + 8]
call fcn.004019bf
jmp 0x4050b8
xor eax, eax
push 0xc8
mov dword [esi + 0xa0], eax
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x4050e5
push dword [esi + 0xa0]
mov ecx, eax
push dword [esi + 0xa8]
push dword [ebp + 8]
call fcn.0040d14a
jmp 0x4050e7
xor eax, eax
mov dword [esi + 0x94], eax
cmp dword [eax + 8], edi
jne 0x4050ff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esi + 0xa0]
call fcn.00401af7
mov eax, dword [esi + 0xa0]
mov eax, dword [eax + 0x4c]
cmp eax, edi
jle 0x40511e
push eax
call fcn.00419867
pop ecx
push 0x58
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x40513b
push edi
push ebx
push dword [esi + 0xa0]
mov ecx, eax
call fcn.004146dc
jmp 0x40513d
xor eax, eax
push 0x50
mov dword [esi + 0x84], eax
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x405159
push edi
mov ecx, eax
call fcn.0040a2f4
jmp 0x40515b
xor eax, eax
push 0x60
mov dword [esi + 0x88], eax
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x40517d
push esi
mov ecx, eax
push dword [esi + 0xa0]
call fcn.0040ac35
jmp 0x40517f
xor eax, eax
push 4
mov dword [esi + 0x90], eax
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x4051a0
push dword [esi + 0xa0]
mov ecx, eax
call fcn.00404b59
jmp 0x4051a2
xor eax, eax
push 0x14
mov dword [esi + 0x98], eax
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x4051c1
push 0x10
push 0x64
mov ecx, eax
call fcn.004193aa
jmp 0x4051c3
xor eax, eax
push 0x14
mov dword [esi + 0xa4], eax
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x4051e4
push dword [esi + 0xa0]
mov ecx, eax
call fcn.00414db2
jmp 0x4051e6
xor eax, eax
lea ebx, [esi + 0x9c]
push 0x2a8
mov dword [ebx], eax
call fcn.0041b8da
cmp eax, edi
pop ecx
je 0x40520f
push edi
mov ecx, eax
push dword [esi + 0xa0]
push dword [ebx]
call fcn.00415d28
jmp 0x405211
xor eax, eax
mov dword [esi + 0x8c], eax
push 0xc0
lea eax, [esi + 0xd4]
push edi
push eax
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
call fcn.0041b900
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x194], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], 1
call fcn.00408fc4
mov eax, dword [0x42c23c]
push 0x20c
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [esi + 0x30], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc