Function at 0x40aee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4251dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov bl, byte [ebp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.004010a0
push 0x1a
push 0
push 0
mov ecx, edi
call fcn.00406cf0
push edi
sub esp, 8
mov ecx, esp
push str.FlashHelperService
call fcn.00401070
call fcn.0040b240
add esp, 0xc
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x40af8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 8
mov ecx, esp
push esi
push 0xa
push eax
call fcn.00401020
push 0x487
push 1
push esi
mov ecx, edi
call fcn.00406cf0
jmp 0x40b20c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x14], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x40afec
call esi
sub esp, 8
mov ecx, esp
push 0
push 0xa
push eax
call fcn.00401020
push 0x488
push 1
push 0
mov ecx, edi
call fcn.00406cf0
xor eax, eax
test bl, bl
setne al
push 0
push eax
sub esp, 8
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401000
call fcn.0040a940
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x40b0b2
push dword [ebp + 0x14]
push dword [ebp - 0x1c]
push ebx
call fcn.0040aca0
add esp, 0xc
call esi
test eax, eax
je 0x40b0a4
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0
push 0xa
push eax
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x41ba20
mov byte [ebp - 4], 1
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00401000
mov byte [ebp - 4], 3
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00401450
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
push 0x400
push 1
push 0
mov ecx, edi
call fcn.00406cf0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.004010d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x40b20e
call esi
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0
push 0xa
cmp eax, 5
je 0x40b19e
cmp eax, 0x20
je 0x40b137
push eax
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x41c730
mov byte [ebp - 4], 0x10
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call fcn.00401000
mov byte [ebp - 4], 0x12
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00401450
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
push 0x406
push 2
push 0
mov ecx, edi
call fcn.00406cf0
lea ecx, [ebp - 0x24]
jmp 0x40b203
push 0x20
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x41c730
mov byte [ebp - 4], 6
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401000
mov byte [ebp - 4], 8
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00401450
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
push 0x401
push 2
push 0
mov ecx, edi
call fcn.00406cf0
lea ecx, [ebp - 0x2c]
jmp 0x40b203
push 5
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x41c730
mov byte [ebp - 4], 0xb
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.00401000
mov byte [ebp - 4], 0xd
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00401450
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.00401450
sub esp, 8
mov ecx, esp
push eax
call fcn.00401000
push 0x407
push 2
push 0
mov ecx, edi
call fcn.00406cf0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004010d0
xor bl, bl
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004010d0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ee55
mov esp, ebp
pop ebp
ret