Function at 0x49d810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4c2de0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 5
call fcn.0043e750
test al, al
je 0x49d89d
mov dword [ebp - 0x24], 0
push 0x1388
mov eax, dword [ebp - 0x20]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x49d883
cmp dword [ebp - 0x24], 0x103
jne 0x49d89d
push 0
mov eax, dword [ebp - 0x20]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [ebp - 0x20]
mov esi, dword [edi + 0x24]
mov dword [edi + 0x24], 0
test esi, esi
je 0x49d8be
mov ecx, esi
call fcn.0049dab0
push esi
call fcn.005d31ac
add esp, 4
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x49d906
mov eax, dword [edi + 0x3c]
sub eax, ecx
cmp eax, 0x1000
jb 0x49d8e7
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x49d9f9
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.005d319e
add esp, 8
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x49d916
push eax
call fcn.005d31b1
add esp, 4
mov esi, dword [edi + 0x24]
test esi, esi
je 0x49d92d
mov ecx, esi
call fcn.0049dab0
push esi
call fcn.005d31ac
add esp, 4
mov eax, dword [edi + 0x1c]
inc eax
cmp eax, 2
jb 0x49d95a
mov dword [ebp - 0x10], 1
call fcn.0040e440
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
call fcn.0040f9e0
add esp, 4
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x18]
inc eax
cmp eax, 2
jb 0x49d987
mov dword [ebp - 0x10], 2
call fcn.0040e440
mov eax, dword [ebp - 0x20]
push dword [eax + 0x18]
call fcn.0040f9e0
add esp, 4
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x18], 0
mov eax, dword [edi + 0x14]
inc eax
cmp eax, 2
jb 0x49d9b4
mov dword [ebp - 0x10], 3
call fcn.0040e440
mov eax, dword [ebp - 0x20]
push dword [eax + 0x14]
call fcn.0040f9e0
add esp, 4
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x10]
inc eax
cmp eax, 2
jb 0x49d9e1
mov dword [ebp - 0x10], 4
call fcn.0040e440
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
call fcn.0040f9e0
add esp, 4
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x10], 0
mov ecx, edi
call fcn.0043e4b0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop word cs:[eax + eax]
nop
push ebp
sub esp, 8
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 0x34]
call fcn.004c2d10
lea ecx, [esi + 0x30]
call fcn.005eb750
lea ecx, [esi + 0x24]
call fcn.004c2cf0
lea ecx, [esi + 0x1c]
call fcn.005fa9f0
lea ecx, [esi + 0x18]
call fcn.005fa9f0
lea ecx, [esi + 0x14]
call fcn.005fa9f0
lea ecx, [esi + 0x10]
call fcn.005fa9f0
mov ecx, esi
call fcn.0043e4b0
call fcn.0061de80
nop
push ebp
sub esp, 8
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
call fcn.0061de80
int3