Function at 0x40182c
Capabilities:
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push edi
mov eax, dword [str.Chrome_29.0.1547.7]
mov dword [ebp - 0x50], eax
mov ecx, dword [0x4097a4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [0x4097a8]
mov dword [ebp - 0x48], edx
mov eax, dword [0x4097ac]
mov dword [ebp - 0x44], eax
mov cx, word [0x4097b0]
mov word [ebp - 0x40], cx
mov dl, byte [0x4097b2]
mov byte [ebp - 0x3e], dl
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x3d]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push str.2_Safari_537.36
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x11
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x401a20
push 4
push 0x3000
push 0x300000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x58], eax
push 0
push 0x2800
mov edx, dword [ebp - 0x58]
push edx
push 0x400000
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x401a05
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x58]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x64]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
jne 0x401908
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0x4550
je 0x40190f
xor eax, eax
jmp 0x401a22
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0x300000
jb 0x401928
mov dword [ebp - 0x60], 0x2ffc00
push 0
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
push 0x400000
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x401a05
mov dword [ebp - 0x68], 0
jmp 0x40195b
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x60]
jae 0x401a05
mov dword [ebp - 0x6c], 0
jmp 0x401979
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
cmp dword [ebp - 0x6c], eax
jae 0x401a00
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x58]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x6c]
movsx edx, byte [ebp + ecx - 0x50]
cmp eax, edx
je 0x4019a6
jmp 0x401a00
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
sub eax, 2
cmp dword [ebp - 0x6c], eax
jne 0x4019fb
push 0
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x8000
push 0
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x40a178], 1
mov eax, 1
jmp 0x401a22
jmp 0x401970
jmp 0x401952
push 0x8000
push 0
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret