Function at 0x10038730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003fcc6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1004e44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xe
mov byte [0x100516bb], 1
cmp dword [0x1006f9f4], 0
je 0x100387a3
mov eax, dword [0x1006f9f4]
push 0x1388
push eax
call dword [0x1006fa74]
test eax, eax
je 0x10038799
mov eax, dword [0x1006f9f4]
push 0
push eax
call dword [0x1006fa18]
mov dword [0x1006f9f4], 0
cmp dword [0x1006f9f8], 0
je 0x100387d9
mov eax, dword [0x1006f9f8]
push 0x898
push eax
call dword [0x1006fa74]
test eax, eax
je 0x100387cf
mov eax, dword [0x1006f9f8]
push 0
push eax
call dword [0x1006fa18]
mov dword [0x1006f9f8], 0
cmp dword [0x1006f9fc], 0
je 0x1003880f
mov eax, dword [0x1006f9fc]
push 0xc8
push eax
call dword [0x1006fa74]
test eax, eax
je 0x10038805
mov eax, dword [0x1006f9fc]
push 0
push eax
call dword [0x1006fa18]
mov dword [0x1006f9fc], 0
mov eax, dword [esi + 0x416c]
test eax, eax
je 0x10038841
push 0xc8
push eax
call dword [0x1006fa74]
test eax, eax
je 0x10038837
push 0
push dword [esi + 0x416c]
call dword [0x1006fa18]
mov dword [esi + 0x416c], 0
cmp dword [0x100516bc], 0
mov ecx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10038895
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x100516bc]
push eax
call ecx
test eax, eax
je 0x1003886f
cmp dword [ebp - 0x18], 0x103
jne 0x1003887d
mov eax, dword [0x100516bc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x100516bc]
push eax
call edi
mov ecx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [0x100516bc], 0
cmp dword [0x100519ec], 0
je 0x100388d7
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x100519ec]
push eax
call ecx
test eax, eax
je 0x100388b7
cmp dword [ebp - 0x14], 0x103
jne 0x100388c5
mov eax, dword [0x100519ec]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x100519ec]
push eax
call edi
mov dword [0x100519ec], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x100388e8
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100388f9
push eax
call edi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1003890a
push eax
call edi
mov dword [esi + 0x10], 0
cmp dword [0x1006f9f0], 0
je 0x10038925
mov eax, dword [0x1006f9f0]
push eax
call edi
mov dword [0x1006f9f0], 0
lea ecx, [esi + 0x419c]
call fcn.100020d0
lea ecx, [esi + 0x4198]
call fcn.10007730
lea ecx, [esi + 0x4180]
call fcn.100020d0
lea ecx, [esi + 0x413c]
call fcn.10002300
lea ecx, [esi + 0x4130]
call fcn.10002300
lea ecx, [esi + 0x4124]
call fcn.10002300
lea ecx, [esi + 0x40e0]
call fcn.10001b70
lea ecx, [esi + 0x40d0]
call fcn.10001bb0
lea ecx, [esi + 0x40a8]
call fcn.100020d0
lea ecx, [esi + 0x4090]
call fcn.10002480
lea ecx, [esi + 0x407c]
call fcn.10002480
lea ecx, [esi + 0x60]
call fcn.10002300
lea ecx, [esi + 0x54]
call fcn.10002300
lea ecx, [esi + 0x48]
call fcn.10002300
lea ecx, [esi + 0x30]
call fcn.100020d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100084c3
mov esp, ebp
pop ebp
ret