Function at 0x100d7c70
Capabilities:
Create process on windows
Create process suspended
Get explorer pid
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x103611f4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x10]
push 0x104
mov dword [0x10361214], eax
lea eax, [ebp - 0x108]
push 0
push eax
mov dword [0x10361210], esi
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d7cef
mov esi, dword [esi]
test esi, esi
je 0x100d7cef
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x10361210]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x14
push 0x1029ba44
lea ecx, [ebp - 0x57c]
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x568], 0xf
mov byte [ebp - 0x57c], 0
call fcn.100b8260
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], 0xf
mov byte [ebp - 0x564], 0
mov dword [ebp - 0x54c], 0
call fcn.100e7a50
push 0x4b
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
lea eax, [ebp - 0x108]
push eax
push 0x1029ba44
push str.begin_execute__s__s_
call fcn.100e7920
call fcn.100e7a10
push 0x208
lea eax, [ebp - 0x518]
push 0
push eax
call fcn.102629f0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x520], 0
add esp, 0x28
mov dword [ebp - 0x51c], 0xf
mov byte [ebp - 0x530], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d7db1
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
lea ecx, [ebp - 0x530]
call fcn.100b8260
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x548]
push eax
call fcn.100e2110
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x100d7deb
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x518]
push 0x104
push eax
call fcn.1026c2d2
mov edx, dword [ebp - 0x534]
add esp, 0xc
cmp edx, 8
jb 0x100d7e40
mov ecx, dword [ebp - 0x548]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d7e36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d7fe5
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov edx, dword [ebp - 0x51c]
xor eax, eax
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x534], 7
mov word [ebp - 0x548], ax
cmp edx, 0x10
jb 0x100d7e97
mov ecx, dword [ebp - 0x530]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d7e8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d7fe5
push edx
push ecx
call fcn.1025fbc4
add esp, 8
push 0x208
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.102629f0
add esp, 0xc
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0x518]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x312], ax
test ax, ax
jne 0x100d7eb0
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x44
lea eax, [ebp - 0x5dc]
mov dword [ebp - 0x584], 0
push 0
push eax
mov dword [ebp - 0x580], 0
call fcn.102629f0
add esp, 0xc
mov dword [ebp - 0x5b0], 1
xorps xmm0, xmm0
mov eax, 1
movups xmmword [ebp - 0x598], xmm0
mov word [ebp - 0x5ac], ax
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0x588]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x588]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
lea eax, [ebp - 0x580]
push eax
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x584]
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x580]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x5dc]
push eax
lea eax, [ebp - 0x310]
push eax
push 0
push 0x20
lea eax, [ebp - 0x518]
push eax
push 0
push 0
push dword [ebp - 0x584]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov eax, dword [ebp - 0x580]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100d7fb6
push eax
call esi
mov eax, dword [ebp - 0x584]
test eax, eax
je 0x100d7fc3
push eax
call esi
test edi, edi
je 0x100d7fca
push edi
call esi
lea ecx, [ebp - 0x57c]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
int3