Function at 0x46e800
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56a32d
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x408
mov eax, dword [eax + 8]
push esi
cmp eax, 0x1526
mov esi, ecx
jne 0x46e901
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
mov ecx, esi
call fcn.0046d150
test eax, eax
jne 0x46e908
call fcn.00531e1f
test eax, eax
je 0x46e891
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x46e891
mov eax, dword [esi + 4]
test eax, eax
je 0x46e891
call fcn.00531e1f
test eax, eax
je 0x46e879
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46e87b
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0
push 0x1533
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 4]
test eax, eax
je 0x46e8f1
call fcn.00531e1f
test eax, eax
je 0x46e8f1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x46e8f1
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x46e8f1
call fcn.00531e1f
test eax, eax
je 0x46e8c8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x46e8dc
xor eax, eax
mov ecx, esi
push eax
call fcn.0046f950
mov eax, 1
jmp 0x46ea7e
mov eax, dword [eax + 0x1c]
mov ecx, esi
push eax
call fcn.0046f950
mov eax, 1
jmp 0x46ea7e
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x1525
jne 0x46e950
call fcn.00531e1f
test eax, eax
je 0x46e946
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x46e946
call fcn.00531e1f
test eax, eax
je 0x46e92e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46e930
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0
push 0x1529
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
jmp 0x46ea7e
cmp eax, 0x1527
jne 0x46ea7c
push ebx
push ebp
push edi
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, esi
call fcn.0046e5c0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
add esi, 0x44
mov dword [esp + 0x10], esi
push 0x74
call fcn.00531c00
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x420], 0
je 0x46e9a9
push 0
mov ecx, eax
call fcn.00475840
mov esi, eax
jmp 0x46e9ab
xor esi, esi
lea edx, [esp + 0x18]
lea ecx, [esi + 0x64]
push edx
mov dword [esp + 0x424], 0xffffffff
call fcn.00530d18
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x60]
push eax
call fcn.00530d18
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
cmp eax, 1
jne 0x46ea1d
call fcn.00531e1f
test eax, eax
je 0x46ea13
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x46ea13
call fcn.00531e1f
test eax, eax
je 0x46ea05
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46ea07
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x10
push eax
call ebp
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x46ea5d
cmp dword [esi + 0x5c], 1
jne 0x46ea5d
call fcn.00531e1f
test eax, eax
je 0x46ea5d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x46ea5d
call fcn.00531e1f
test eax, eax
je 0x46ea49
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x46ea4b
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0
push 0x1529
push 0x111
push eax
call ebx
mov edx, dword [esi]
mov edi, dword [esi + 0x5c]
push 1
mov ecx, esi
call dword [edx + 4]
cmp edi, 2
je 0x46e97f
pop edi
pop ebp
mov eax, 1
pop ebx
jmp 0x46ea7e
xor eax, eax
mov ecx, dword [esp + 0x40c]
pop esi
mov dword fs:[0], ecx
add esp, 0x414
ret 4