Function at 0x49d8b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be633
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x6319d0]
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
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0046d4f0
test eax, eax
je 0x49d967
mov eax, dword [ebp + 8]
push eax
push str.KillThisGuyAlt_:_csAppName___s_n
push 0x6c56e0
call fcn.00599ee3
mov ecx, dword [str.ENTRY:]
mov edx, dword [0x5ccf7c]
mov eax, 0x6c56e0
mov dword [0x6c55e0], ecx
add esp, 0xc
mov dword [0x6c55e4], edx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x49d921
mov edi, 0x6c55e0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x49d932
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d500
push 0x6c55e0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
xor esi, esi
push 0x124
lea eax, [ebp - 0x134]
push esi
push eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], esi
call fcn.00599fb0
add esp, 0xc
call fcn.004a8620
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x49d9a2
push 0x80004005
call fcn.00401b60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x140], ebx
push esi
push 2
mov byte [ebp - 4], 1
call fcn.0041ea10
mov ecx, eax
call fcn.0041e850
mov esi, eax
cmp esi, 0xffffffff
je 0x49daad
lea ecx, [ebp - 0x138]
push ecx
push esi
mov dword [ebp - 0x138], 0x128
call fcn.0041ea10
mov ecx, eax
call fcn.0041e890
test eax, eax
je 0x49daa6
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, edi
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49da10
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x140]
call fcn.004026b0
lea ecx, [ebp - 0x140]
call fcn.004027d0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
mov ebx, dword [ebp - 0x140]
je 0x49da75
cmp dword [ebx - 0xc], 0
jl 0x49da75
push eax
push ebx
call fcn.0059a963
add esp, 8
test eax, eax
je 0x49da75
sub eax, ebx
cmp eax, 0xffffffff
je 0x49da75
mov eax, dword [ebp - 0x130]
push eax
push 0
push 0x1f0fff
call edi
test eax, eax
jne 0x49da93
lea ecx, [ebp - 0x138]
push ecx
push esi
call fcn.0041ea10
mov ecx, eax
call fcn.0041e8d0
test eax, eax
jne 0x49da00
jmp 0x49daa6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x13c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0046d4f0
test eax, eax
je 0x49db34
mov edx, dword [ebp - 0x13c]
push edx
push str.KillThisGuyAlt_:_bRetVal___d_n
push 0x6c54e0
call fcn.00599ee3
mov eax, dword [str.EXIT:]
mov ecx, dword [0x5ccefc]
mov dword [0x6c53e0], eax
mov eax, 0x6c54e0
mov dword [0x6c53e4], ecx
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x49daf0
mov edi, 0x6c53e0
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x49db01
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x6c53e0
rep movsb byte es:[edi], byte [esi]
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d9d0
call fcn.0046d6a0
mov ecx, eax
call fcn.0046d510
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49db54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49db7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x13c]
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.00599ed4
mov esp, ebp
pop ebp
ret