Function at 0x40a9b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419898
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4241dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004010a0
mov edi, dword [ebp + 0x20]
push 0x1a
push 0
push 0
mov ecx, edi
call fcn.00406d70
push edi
sub esp, 8
mov ecx, esp
push str.FlashHelperService
call fcn.00401070
call fcn.0040ad00
add esp, 0xc
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x40aa51
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.00406d70
jmp 0x40acd1
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 - 0x10]
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 - 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x40aab0
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.00406d70
xor eax, eax
cmp byte [ebp + 0x18], al
push 0
setne al
push eax
sub esp, 8
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401000
call fcn.0040a530
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x40ab77
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.0040a860
add esp, 0xc
call esi
test eax, eax
je 0x40ab69
sub esp, 8
mov ecx, esp
mov dword [ebp + 0x20], esp
push 0
push 0xa
push eax
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x41aa28
mov byte [ebp - 4], 1
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
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.00406d70
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.004010d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x40acd3
call esi
sub esp, 8
mov ecx, esp
mov dword [ebp + 0x20], esp
push 0
push 0xa
cmp eax, 5
je 0x40ac63
cmp eax, 0x20
je 0x40abfc
push eax
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x41b7c0
mov byte [ebp - 4], 0x10
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
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.00406d70
lea ecx, [ebp - 0x1c]
jmp 0x40acc8
push 0x20
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x41b7c0
mov byte [ebp - 4], 6
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
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.00406d70
lea ecx, [ebp - 0x24]
jmp 0x40acc8
push 5
call fcn.00401020
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x41b7c0
mov byte [ebp - 4], 0xb
call fcn.00401070
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
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.00406d70
lea ecx, [ebp - 0x2c]
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 esp, ebp
pop ebp
ret