Function at 0x1000dc3f
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x1002b1d2
call fcn.1002a480
mov esi, dword [ebp + 0xc]
xor eax, eax
mov edi, eax
mov dword [ebp - 0x30], edi
test esi, esi
js 0x1000dcb9
mov ebx, dword [ebp + 8]
cmp esi, dword [ebx + 0x144]
jge 0x1000dcb9
mov ecx, dword [ebx + 0x134]
mov edx, esi
call fcn.100206e3
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1000dcb9
xor ecx, ecx
mov dword [ebp + 0xc], ecx
push 2
mov dword [ebp - 4], ecx
pop ecx
cmp dword [eax], edi
je 0x1000dc94
jle 0x1000dca0
cmp dword [eax], ecx
jle 0x1000dcc6
cmp dword [eax], 4
jne 0x1000dca0
add eax, 0x18
push eax
lea ecx, [ebp + 0xc]
call fcn.1001bce8
lea eax, [ebp - 0x34]
push eax
push esi
mov ecx, ebx
call fcn.1001bce8
test eax, eax
je 0x1000dccb
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 0x80004005
call fcn.1002a558
ret 0x20
add eax, 0x14
jmp 0x1000dc97
mov ecx, dword [ebp - 0x34]
test ecx, ecx
js 0x1000e142
cmp ecx, dword [ebx + 0xc4]
jge 0x1000e142
mov eax, dword [ebx + 0xc0]
mov edx, ecx
shl edx, 2
cmp dword [eax + edx], 1
mov dword [ebp - 0x38], edx
jne 0x1000dd0a
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edx]
cmp dword [eax - 8], 0
jle 0x1000dd0a
push ecx
mov ecx, ebx
call fcn.1001b595
cmp dword [ebp + 0xc], 0
je 0x1000e11b
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1000e11b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
call fcn.1001bce8
mov eax, dword [0x10031ad8]
mov dword [ebp - 0x20], eax
push 2
pop eax
push dword [ebx + 0x160]
mov byte [ebp - 4], al
lea eax, [ebp - 0x20]
push 0x100062d4
push eax
call fcn.1001bce8
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10020bd7
push eax
push 0x1000658c
lea ecx, [ebp - 0x14]
call fcn.1001bce8
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x34]
call fcn.1001bce8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.10020bd7
push eax
push 0x1000659c
lea ecx, [ebp - 0x14]
call fcn.1001bce8
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x1000de5e
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
xor esi, esi
push edi
mov dword [ebp - 0x1c], esi
call dword [eax + 0x24]
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], esi
jle 0x1000de5e
mov ebx, edi
mov eax, dword [ebx]
lea ecx, [ebp + 0x1c]
push ecx
push esi
push ebx
call dword [eax + 0x28]
mov esi, dword [ebp + 0x1c]
push 2
lea ecx, [esi + 2]
xor edx, edx
pop edi
mov ax, word [esi]
add esi, edi
cmp ax, dx
jne 0x1000ddce
sub esi, ecx
sar esi, 1
add esi, 3
xor ecx, ecx
mov eax, esi
mul edi
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc100.dll_Ordinal_265
mov dword [esp], 0x100065ac
mov edi, eax
push esi
push edi
call fcn.1001bce8
push dword [ebp + 0x1c]
push esi
push edi
call fcn.1001bce8
push 0x100065b0
push esi
push edi
call fcn.1001bce8
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
push esi
push ebx
call dword [eax + 0x2c]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push edi
call fcn.1001bce8
push dword [ebp + 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call sub.mfc100.dll_Ordinal_266
inc esi
pop ecx
mov dword [ebp - 0x2c], esi
cmp esi, dword [ebp - 0x1c]
jl 0x1000ddb8
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov eax, dword [ebx + 0x48]
add eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x18]
push eax
call fcn.1001bce8
push 0x23
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1001bce8
inc eax
push eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x18]
call fcn.1001bce8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.1001bce8
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 4
call fcn.1002161e
lea ecx, [ebp - 0x18]
call fcn.10020bd7
push eax
push 0x100065b4
lea ecx, [ebp - 0x14]
call fcn.1001bce8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1001bce8
push 0x100065c0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1001bce8
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e02e
push esi
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.1001bce8
push 0x7d
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 7
call fcn.1001bce8
inc eax
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x18]
call fcn.10020e14
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 8
call fcn.1001bce8
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.1002161e
lea eax, [esi + 6]
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1001bce8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.1001bce8
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.1002161e
push 0x7d
lea ecx, [ebp - 0x10]
call fcn.1001bce8
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.10020e14
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.1001bce8
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.1002161e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x1000e00c
test edi, edi
je 0x1000e00c
mov dword [ebp + 0x1c], ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.10020bd7
test eax, eax
jne 0x1000dfd1
mov esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [edi]
lea ecx, [ebp + 0x1c]
push ecx
push esi
push edi
mov byte [ebp - 4], 0xc
call dword [eax + 0x1c]
mov ebx, eax
neg ebx
push esi
sbb bl, bl
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp + 0x18]
inc bl
je 0x1000dfeb
push dword [ebp + 0x1c]
jmp 0x1000dff0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
jne 0x1000dfa5
push 0x8007000e
call fcn.1001bce8
push 0x100062d0
call fcn.10020bd7
push eax
lea ecx, [ebp - 0x14]
call fcn.1001bce8
push dword [ebp + 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [ebp + 8]
jmp 0x1000e022
push 0x100062d0
lea ecx, [ebp + 0x18]
call fcn.10020bd7
push eax
lea ecx, [ebp - 0x14]
call fcn.1001bce8
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 6
call fcn.1002161e
lea ecx, [ebp - 0x14]
call fcn.10020bd7
push eax
lea ecx, [ebp + 0xc]
call fcn.1001bce8
mov esi, dword [ebp - 0x24]
mov eax, dword [esi]
xor ecx, ecx
sub eax, ecx
je 0x1000e0b4
dec eax
je 0x1000e094
dec eax
je 0x1000e076
dec eax
dec eax
jne 0x1000e0d8
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.1001bce8
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.1001307d
jmp 0x1000e0b0
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.1001bce8
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.10012e17
jmp 0x1000e0b0
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.1001bce8
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.10012c9c
mov edi, eax
jmp 0x1000e0da
lea eax, [ebp + 0xc]
push eax
call fcn.1001bce8
pop ecx
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push 0x100065d0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, dword [ebp - 0x30]
jmp 0x1000e0da
mov edi, ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1002161e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.1002161e
push 2
pop eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], al
call fcn.1002161e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.1002161e
xor eax, eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], al
call fcn.1002161e
jmp 0x1000e11e
mov esi, dword [ebp - 0x24]
cmp dword [esi], 3
jne 0x1000e132
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.10012f0a
mov edi, eax
push dword [ebp + 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
jmp 0x1000dcbe
call sub.mfc100.dll_Ordinal_2061
int3