Function at 0x10039dd0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170038
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x101c6270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ecx
mov esi, dword [ebx + 0x10]
lea edi, [esi + 0x2c]
push edi
mov dword [ebp - 0x2c], edi
call fcn.10115711
add esp, 4
test eax, eax
je 0x10039e30
push eax
call fcn.10115275
add esp, 4
mov byte [ebp - 0x28], 1
mov dword [ebp - 4], 0
nop dword [eax + eax]
cmp byte [esi + 0x29], 0
jne 0x10039e70
cmp byte [esi + 0x2a], 0
jne 0x10039e70
cmp byte [esi + 0x28], 0
sete al
test al, al
jne 0x10039e70
push edi
push esi
call fcn.1011444d
add esp, 8
test eax, eax
je 0x10039e40
push eax
call fcn.10115275
add esp, 4
jmp 0x10039e40
test edi, edi
je 0x1003a093
push edi
call fcn.10115736
add esp, 4
test eax, eax
je 0x10039e8e
push eax
call fcn.10115275
add esp, 4
cmp byte [esi + 0x29], 0
mov byte [ebp - 0x28], 0
jne 0x1003a07d
cmp byte [esi + 0x2a], 0
jne 0x1003a07d
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.1003c590
test al, al
je 0x1003a03e
mov ecx, dword [esi + 0x5c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x44], 1
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 8]
call fcn.1003a550
mov eax, dword [ebp - 0x18]
add eax, 0x18
push 0xa00001
mov dword [ebp - 0x1c], eax
call fcn.10131c42
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x1003a037
push 0xa00001
push 0
push eax
call fcn.1012bf20
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp - 0x1c]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.10039ab0
add esp, 0x18
cmp eax, 0xffffff93
je 0x10039ffa
cmp eax, 0xffffff97
je 0x10039fa7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1003c6b0
test al, al
je 0x10039f6f
mov eax, dword [ebx + 0xc]
mov ecx, 1
add eax, 0x8104
lock xadd dword [eax], ecx
mov ecx, dword [esi + 0x5c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x44], 2
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [eax + 8]
call fcn.1003a550
mov dword [ebp - 4], 0xffffffff
jmp 0x10039e17
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 0xf
movups xmmword [ebp - 0x3c], xmm0
mov ecx, dword [eax + 8]
call fcn.1003a550
mov byte [esi + 0x2a], 1
mov dword [esi + 0xa4], 0xffffff97
push esi
mov byte [ebp - 4], 3
call fcn.101143a8
add esp, 4
test eax, eax
je 0x10039ff3
push eax
call fcn.10115275
add esp, 4
mov eax, 0xffffff97
jmp 0x1003a023
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 5
movups xmmword [ebp - 0x3c], xmm0
mov ecx, dword [eax + 8]
call fcn.1003a550
mov eax, 0xffffff93
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0
call fcn.1013f4ff
call sub.KERNEL32.dll_GetCurrentThreadId
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 4
movups xmmword [ebp - 0x3c], xmm0
mov ecx, dword [eax + 8]
call fcn.1003a550
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, 1
lea ecx, [ebp - 0x24]
call fcn.1002a490
lea ecx, [ebp - 0x40]
push dword [eax + 4]
push dword [eax]
call fcn.1002a4b0
push 0x101c2894
lea eax, [ebp - 0x40]
push eax
call fcn.1012b92c
int3