Function at 0x100953fc
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push 0x100
mov eax, 0x10192382
call fcn.10188e66
mov eax, dword [ebp + 8]
and dword [ebp - 0xa4], 0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
call fcn.100951e7
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], eax
call fcn.1009e192
mov esi, eax
test esi, esi
js 0x10095da1
mov edi, dword [ebp - 0x80]
push edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x101d880c]
call esi
mov eax, dword [edi]
mov esi, dword [eax]
lea eax, [ebp - 0x98]
push eax
push 0x1001f344
push edi
mov ecx, esi
call dword [0x101d880c]
call esi
mov dword [ebp - 0x6c], eax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x101d880c]
call esi
mov esi, dword [ebp - 0x6c]
test esi, esi
js 0x10095da8
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [ebp - 0xa0]
push ecx
push 0x1001f354
push eax
mov ecx, esi
call dword [0x101d880c]
call esi
mov esi, eax
test esi, esi
js 0x10095de3
mov esi, dword [ebp - 0x84]
lea edx, [ebp - 0x94]
push edx
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0xa0]
push edx
sub esp, 0x10
mov edi, esp
sub esp, 0x10
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x6c], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x70]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x101d880c]
call dword [ebp - 0x6c]
mov esi, eax
test esi, esi
jns 0x1009554e
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x10095e0b
test byte [ecx + 0x44], 1
je 0x10095e0b
push esi
push dword [ecx + 0x3c]
mov edx, 0x1002260c
push dword [ecx + 0x38]
push 0x32
jmp 0x10095e05
and dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.10069fbc
push 0x44
pop esi
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0x10c], esi
mov esi, dword [ebp - 0xa4]
inc eax
add esp, 0xc
mov word [ebp - 0xdc], ax
mov eax, 0x101d6df8
mov dword [ebp - 0x104], 0x100225ec
mov dword [ebp - 0xe0], 0x41
mov dword [ebp - 0xc8], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 8
lea edi, [ebp - 0xb4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.ole32.dll_CoRevertToSelf]
test eax, eax
jns 0x100955f1
push eax
jmp 0x10095e0c
mov byte [ebp - 0x65], 1
push 0
push 0
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push eax
lea ecx, [ebp - 0x90]
call fcn.10046acc
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x1009566f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10095634
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x1009565a
test byte [eax + 0x44], 1
je 0x1009565a
push esi
push dword [eax + 0x3c]
mov edx, 0x1002260c
push dword [eax + 0x38]
push 0x33
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x7c]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
jmp 0x10095e1b
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push 0
push esi
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x100956d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10095699
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x100956bf
test byte [eax + 0x44], 1
je 0x100956bf
push esi
push dword [eax + 0x3c]
mov edx, 0x1002260c
push dword [eax + 0x38]
push 0x34
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x84]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
jmp 0x10095e1b
push dword [ebp - 0x7c]
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x88], eax
mov dword [eax], 0x10002a38
lea ecx, [ebp - 0x54]
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 9
call fcn.100962c1
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x1009570a
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x10c]
push ecx
push eax
push dword [ebp - 0x3c]
xor eax, eax
push 0x434
push eax
push eax
push eax
push dword [ebp - 0x94]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1009577a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1009574d
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095e0b
test byte [eax + 0x44], 1
je 0x10095e0b
push esi
push dword [eax + 0x3c]
mov edx, 0x1002260c
push dword [eax + 0x38]
push 0x35
jmp 0x10095e05
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.1009623a
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x80]
call fcn.10046acc
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x9c]
call fcn.10046acc
mov edi, dword [ebp - 0x80]
push edi
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x100957e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095832
test byte [eax + 0x44], 1
je 0x10095832
mov ecx, dword [ebp - 0x78]
push esi
push dword [ecx]
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x36
jmp 0x1009582c
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x100958ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095832
test byte [eax + 0x44], 1
je 0x10095832
mov ecx, dword [ebp - 0x78]
push esi
push dword [ecx]
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x37
pop ecx
call fcn.10093d76
test esi, esi
je 0x100958ba
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1009587a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x10095880
test byte [ecx + 0x44], 1
je 0x10095880
push eax
mov eax, dword [ebp - 0x78]
push dword [eax]
push dword [ebp - 0xac]
push dword [ecx + 0x3c]
push dword [ecx + 0x38]
push 0x38
pop ecx
call fcn.10093d76
mov ecx, dword [0x101c33f0]
test esi, esi
jle 0x1009588f
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x100958ba
cmp ecx, 0x101c33f0
je 0x1009565a
test byte [ecx + 0x44], 1
je 0x1009565a
push esi
push dword [ecx + 0x3c]
mov edx, 0x1002260c
push dword [ecx + 0x38]
push 0x39
jmp 0x10095654
call dword [sym.imp.ole32.dll_CoImpersonateClient]
test eax, eax
jns 0x100958c6
int 0x2c
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov esi, eax
mov dword [ebp - 0x88], esi
mov byte [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x10095928
push eax
push 0x3e8
mov edx, 0x1388
mov ecx, esi
call fcn.1006a3c7
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095928
test byte [eax + 0x44], 8
je 0x10095928
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
push dword [ecx]
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3a
pop ecx
call fcn.10093f11
mov eax, dword [0x101d6e28]
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x65], 1
mov dword [ebp - 0xb8], eax
call fcn.1005b6cb
mov dword [ebp - 0xbc], eax
xor esi, esi
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 0xe
mov eax, dword [0x101c33f0]
mov edi, dword [ebp - 0x70]
cmp eax, 0x101c33f0
je 0x10095987
test byte [eax + 0x44], 4
je 0x10095987
mov ecx, dword [ebp - 0x78]
push edi
push dword [ecx]
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3b
pop ecx
call fcn.10093f11
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x10095c4b
lea ecx, [eax - 1]
cmp ecx, 1
ja 0x10095c26
lea eax, [ebp - 0xbc]
push eax
push 0x1001d01c
push edi
call fcn.10094f19
mov eax, dword [ebp - 0xbc]
mov cl, byte [ebp - 0x65]
mov edi, dword [eax]
cmp edi, eax
mov eax, dword [0x101c33f0]
je 0x10095b80
test cl, cl
je 0x10095b80
mov edx, dword [edi + 8]
cmp esi, edx
je 0x10095a01
lea ecx, [ebp - 0x7c]
call fcn.1005d1ec
mov esi, dword [ebp - 0x7c]
mov edx, eax
mov eax, dword [0x101c33f0]
mov cl, byte [ebp - 0x65]
jmp 0x10095a03
mov edx, esi
test edx, edx
je 0x10095b45
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
mov ecx, eax
mov dword [ebp - 0x74], eax
call dword [0x101d880c]
mov ecx, esi
call dword [ebp - 0x74]
mov ecx, dword [esi]
mov dword [ebp - 0xc0], eax
mov eax, dword [ecx + 0x18]
mov ecx, eax
mov dword [ebp - 0x74], eax
call dword [0x101d880c]
mov ecx, esi
call dword [ebp - 0x74]
and dword [ebp - 0x6c], 0
mov ecx, eax
mov dword [ebp - 0x74], ecx
cmp dword [ebp - 0xac], ecx
jne 0x10095a7e
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095b08
test byte [eax + 0x44], 4
je 0x10095b08
push dword [ebp - 0x70]
push esi
push ecx
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3d
pop ecx
call fcn.10093f11
jmp 0x10095b03
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x8c]
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
jne 0x10095ad2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095b6f
test byte [eax + 0x44], 1
je 0x10095b6f
push ecx
push dword [ebp - 0x70]
push esi
push dword [ebp - 0x74]
push dword [eax + 0x3c]
push dword [eax + 0x38]
call fcn.10093f4a
jmp 0x10095b6a
cmp dword [ebp - 0x6c], 0
je 0x10095b22
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095b08
test byte [eax + 0x44], 4
je 0x10095b08
push ecx
push dword [ebp - 0xac]
push dword [ebp - 0x70]
push esi
push dword [ebp - 0x74]
push dword [eax + 0x3c]
push dword [eax + 0x38]
call fcn.10093f8a
mov eax, dword [0x101c33f0]
mov ecx, dword [ebp - 0x78]
cmp dword [ecx], esi
je 0x10095b1b
mov edx, esi
call fcn.1005d1ec
mov eax, dword [0x101c33f0]
xor cl, cl
mov byte [ebp - 0x65], cl
jmp 0x10095b72
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095b6f
test byte [eax + 0x44], 4
je 0x10095b6f
push dword [ebp - 0x70]
push esi
push dword [ebp - 0x74]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x40
jmp 0x10095b64
cmp eax, 0x101c33f0
je 0x10095b72
test byte [eax + 0x44], 1
je 0x10095b72
push dword [ebp - 0x70]
push esi
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x41
pop ecx
call fcn.10093f11
mov eax, dword [0x101c33f0]
mov cl, byte [ebp - 0x65]
mov edi, dword [edi]
cmp edi, dword [ebp - 0xbc]
jne 0x100959db
cmp dword [ebp - 0xc4], 2
jne 0x10095c19
push 0x42b
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
test eax, eax
je 0x10095bcf
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095c17
test byte [eax + 0x44], 1
je 0x10095c17
push dword [ebp - 0x70]
push 0
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x42
pop ecx
call fcn.10093f11
jmp 0x10095c12
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095c17
test byte [eax + 0x44], 1
je 0x10095c17
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10095bf3
movzx eax, ax
or eax, 0x80070000
push eax
push dword [ebp - 0x70]
mov eax, dword [0x101c33f0]
push 0
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x43
pop ecx
call fcn.10094013
mov eax, dword [0x101c33f0]
xor cl, cl
mov byte [ebp - 0x65], cl
test cl, cl
jne 0x1009595d
jmp 0x10095c78
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095c78
test byte [eax + 0x44], 1
je 0x10095c78
push edi
push 0
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x44
jmp 0x10095c6d
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095c78
test byte [eax + 0x44], 1
je 0x10095c78
push edi
push esi
push dword [ebp - 0xac]
push dword [eax + 0x3c]
push dword [eax + 0x38]
push 0x3c
pop ecx
call fcn.10093f11
mov eax, dword [0x101c33f0]
mov ecx, dword [ebp - 0x78]
mov edi, dword [ecx]
test edi, edi
je 0x10095d19
mov ecx, edi
mov dword [ebp - 0x74], ecx
cmp eax, 0x101c33f0
je 0x10095cce
test byte [eax + 0x44], 4
mov dword [ebp - 0x74], ecx
je 0x10095cce
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x101d880c]
mov ecx, edi
call esi
push dword [ebp - 0x84]
push dword [ebp - 0x70]
push edi
push eax
mov eax, dword [0x101c33f0]
push dword [eax + 0x3c]
push dword [eax + 0x38]
call fcn.10093fd4
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov eax, dword [ecx]
push dword [ebp - 0x84]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x101d880c]
mov ecx, dword [ebp - 0x74]
call esi
mov eax, dword [ebp - 0x78]
push dword [ebp - 0x8c]
or dword [ebp - 0x90], 0xffffffff
mov edi, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x101d880c]
mov ecx, edi
call esi
mov eax, dword [0x101c33f0]
test byte [eax + 0x44], 8
je 0x10095d19
call fcn.1009605c
lea ecx, [ebp - 0x7c]
call fcn.1004f656
lea ecx, [ebp - 0xbc]
call fcn.100963a1
lea ecx, [ebp - 0x88]
call fcn.10046aaa
lea ecx, [ebp - 0x9c]
call fcn.10046aaa
lea ecx, [ebp - 0x80]
call fcn.10046aaa
lea ecx, [ebp - 0x90]
call fcn.10046aaa
push 0x101d6df8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.10052803
lea ecx, [ebp - 0xa0]
call fcn.1004f656
lea ecx, [ebp - 0x98]
call fcn.1004f656
push dword [ebp - 0x94]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0xa4]
call fcn.10046aaa
call fcn.10188e03
ret 0xc
and dword [ebp - 0x98], 0
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x10095dce
test byte [eax + 0x44], 1
je 0x10095dce
push esi
push dword [eax + 0x3c]
mov edx, 0x1002260c
push dword [eax + 0x38]
push 0x30
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x88]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
jmp 0x10095e1b
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x10095e0b
test byte [ecx + 0x44], 1
je 0x10095e0b
push esi
push dword [ecx + 0x3c]
mov edx, 0x1002260c
push dword [ecx + 0x38]
push 0x31
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x6c]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
int3