Function at 0x409cf0
Capabilities:
Create process on windows
Resolve function by parsing pe exports
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54c
mov eax, dword [0x42d0b4]
xor eax, esp
mov dword [esp + 0x548], eax
xor eax, eax
mov dword [esp + 0x34], 0xffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov eax, dword [0x4035b8]
mov dword [esp + 0x32c], eax
mov eax, dword [0x4035bc]
push ebx
mov dword [esp + 0x334], eax
mov ebx, ecx
mov eax, dword [0x4035c0]
push esi
mov dword [esp + 0x33c], eax
mov eax, dword [0x4035c4]
push edi
mov dword [esp + 0x344], eax
xor eax, eax
push 0x48
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x1c], 0x80010
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x78], 0x48
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
push 0xfffffffffffffff6
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], 0
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [esp + 0xb4], eax
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
push 0xfffffffffffffff4
mov dword [esp + 0xb8], eax
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetStdHandle]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x2c], 0
test ebx, ebx
jne 0x409e43
lea ebx, [esp + 0x338]
push 0x104
lea eax, [esp + 0x124]
mov dword [esp + 0x32c], 0
push 0
push eax
mov byte [esp + 0x338], 1
mov dword [esp + 0x33c], 0x104
call sub.msvcrt.dll_memset
movzx eax, byte [esp + 0x338]
lea ecx, [esp + 0x12c]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.00410c70
test eax, eax
jns 0x409ea9
mov esi, 1
jmp 0x40a86c
push 0x40262a
push 0x4000
call fcn.004172b5
push 0x40262a
push 0x4000
mov dword [esp + 0x40], eax
call fcn.004172b5
push 0x40262a
push 0x4000
mov dword [esp + 0x40], eax
call fcn.004172b5
mov esi, eax
push 0x40262a
push 0x4000
mov dword [esp + 0x94], esi
call fcn.004172b5
mov edi, eax
push 0x40262a
push 0x4000
mov dword [esp + 0x98], edi
call fcn.004172b5
push 0x40262a
push 0x4000
mov dword [esp + 0x78], eax
call fcn.004172b5
push 0x40262a
push 0x4000
mov dword [esp + 0x7c], eax
call fcn.004172b5
add esp, 0x38
mov ecx, eax
cmp dword [esp + 0x30], 0
mov dword [esp + 0x24], ecx
je 0x40a828
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40a828
test esi, esi
je 0x40a828
test edi, edi
je 0x40a828
cmp dword [esp + 0x48], 0
je 0x40a828
cmp dword [esp + 0x44], 0
je 0x40a828
test ecx, ecx
je 0x40a828
xor ecx, ecx
mov word [edi], cx
mov word [eax], cx
cmp word [ebx], cx
je 0x40a489
mov ecx, ebx
call fcn.0040def9
mov dword [esp + 0x18], eax
movzx ecx, word [eax]
cmp ecx, 0x22
jne 0x40a005
cmp dword [esp + 0x84], 0
jne 0x40a005
push 0x104
lea eax, [esp + 0x34c]
mov ecx, 1
push eax
lea edx, [esp + 0x20]
call fcn.0040ab29
cmp eax, 1
je 0x40a828
lea ecx, [esp + 0x348]
call fcn.004122c0
push eax
mov edx, 0x104
lea ecx, [esp + 0x34c]
call fcn.00411040
lea eax, [esp + 0x348]
mov dword [esp + 0x84], eax
jmp 0x40a47b
lea edx, [esp + 0x18]
push 0x2000
cmp ecx, 0x2f
jne 0x40a590
add eax, 2
mov ebx, 1
push esi
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.0040ab29
cmp eax, ebx
je 0x40a828
push 0x40329c
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a157
mov ecx, dword [esp + 0x18]
call fcn.0040def9
push 0x2000
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, ebx
call fcn.0040ab29
cmp eax, ebx
je 0x40a4e6
cmp word [esi], 0x30
mov edx, esi
mov dword [esp + 0x1c], edx
jne 0x40a091
movzx eax, word [esi + 2]
cmp eax, 0x78
je 0x40a08a
cmp eax, 0x58
jne 0x40a091
add edx, 4
mov dword [esp + 0x1c], edx
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a096
sub ecx, ebx
sar ecx, 1
cmp ecx, 8
ja 0x40a3c8
xor eax, eax
mov dword [esp + 0x20], eax
movzx eax, word [edx]
push eax
call dword [sym.imp.msvcrt.dll_towlower]
add dword [esp + 0x20], 2
add esp, 4
movzx ebx, ax
push ebx
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
jne 0x40a3c8
jmp 0x40a0e0
test bx, bx
je 0x40a13a
mov ecx, dword [esp + 0x20]
lea eax, [ebx - 0x30]
shl ecx, 4
cmp ax, 9
ja 0x40a0fa
add ecx, 0xffffffd0
jmp 0x40a10a
lea eax, [ebx - 0x61]
cmp ax, 5
ja 0x40a3c8
add ecx, 0xffffffa9
movzx eax, bx
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
movzx eax, word [eax]
push eax
call dword [sym.imp.msvcrt.dll_towlower]
add dword [esp + 0x20], 2
add esp, 4
movzx ebx, ax
push ebx
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
je 0x40a0e0
cmp dword [esp + 0x20], 0
je 0x40a3c8
or dword [esp + 0x10], 4
mov dword [esp + 0x54], 1
jmp 0x40a47b
push 0x4032b0
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a177
or dword [esp + 0x10], 0x8000
jmp 0x40a47b
push 0x4032c8
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a197
or dword [esp + 0x10], 0x4000
jmp 0x40a47b
push 0x4032e0
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a1c3
mov eax, dword [esp + 0x10]
and eax, 0xffffffef
mov dword [esp + 0x3c], ebx
or eax, 0x200
mov dword [esp + 0x10], eax
jmp 0x40a47b
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_towupper]
add esp, 4
cmp ax, 0x44
jne 0x40a282
lea edx, [esi + 2]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a1e2
sub ecx, ebx
sar ecx, 1
jne 0x40a21f
mov ecx, dword [esp + 0x18]
call fcn.0040def9
push 0x2000
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, 1
call fcn.0040ab29
cmp eax, 1
je 0x40a828
mov edx, esi
mov ecx, edx
call fcn.004122c0
push eax
lea ecx, [esp + 0x124]
call fcn.00410d89
mov ebx, dword [esp + 0x328]
mov dword [esp + 0x2c], ebx
test ebx, ebx
jne 0x40a24d
lea ebx, [esp + 0x120]
mov dword [esp + 0x2c], ebx
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a252
sub ecx, edx
sar ecx, 1
cmp ecx, 0x7fe7
jbe 0x40a47b
push ebx
push 1
push 0x2362
call fcn.0040c5a2
add esp, 0xc
jmp 0x40a828
push 0x4032e4
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a2a2
or dword [esp + 0x10], 0x80
jmp 0x40a47b
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_towupper]
add esp, 4
cmp ax, 0x49
jne 0x40a2cd
mov eax, dword [0x433830]
test eax, eax
je 0x40a47b
mov eax, dword [eax]
mov dword [esp + 0x50], eax
jmp 0x40a47b
movzx eax, word [esi]
push eax
call dword [sym.imp.msvcrt.dll_towupper]
add esp, 4
cmp ax, 0x3f
je 0x40a54e
push 0x4032f0
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a301
or dword [esp + 0x10], 0x40
jmp 0x40a47b
push 0x4032f8
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a329
or dword [esp + 0xa4], ebx
or word [esp + 0xa8], 7
jmp 0x40a47b
push 0x403300
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a351
or dword [esp + 0xa4], ebx
or word [esp + 0xa8], 3
jmp 0x40a47b
push 0x403308
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a3dd
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.0040def9
push 0x2000
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, ebx
call fcn.0040ab29
cmp eax, 1
je 0x40a4e6
push 0xa
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcstoul]
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x40], ebx
test ebx, ebx
jne 0x40a3b3
mov ecx, dword [esp + 0x1c]
cmp word [ecx], ax
jne 0x40a3c8
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.api_ms_win_core_systemtopology_l1_1_0.dll_GetNumaHighestNodeNumber]
cmp ebx, dword [esp + 0x4c]
jbe 0x40a47b
push esi
push 1
push 0x2362
call fcn.0040c5a2
add esp, 0xc
jmp 0x40a828
push 0x403314
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a3fa
or dword [esp + 0x10], 0x20
jmp 0x40a47b
push 0x403324
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a417
or dword [esp + 0x10], 0x100
jmp 0x40a47b
push 0x403338
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a434
or dword [esp + 0x10], 0x800
jmp 0x40a47b
push 0x40334c
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a451
or dword [esp + 0x10], 0x1000
jmp 0x40a47b
push 0x40335c
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40a477
push 0x403368
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a4e6
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x18]
cmp word [ebx], 0
jne 0x409f93
xor ebx, ebx
cmp word [edi], 0
jne 0x40a4a5
lea eax, [esp + 0x338]
mov edx, 0x2000
push eax
mov ecx, edi
call fcn.00411040
cmp word [edi], 0x22
je 0x40a5cb
push 0x20
push edi
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
je 0x40a5cb
mov ecx, edi
call fcn.004122c0
push eax
push 0x40336c
push 0x2000
push dword [esp + 0x30]
call fcn.0041274c
add esp, 0x10
jmp 0x40a5ee
mov edi, dword [esp + 0x30]
mov ebx, 0x4030d4
mov edx, 0x2000
mov ecx, edi
sub ebx, edi
jmp 0x40a500
lea eax, [edx + 0x7fffdffe]
test eax, eax
je 0x40a520
movzx eax, word [ecx + ebx]
test ax, ax
je 0x40a520
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x40a500
jmp 0x40a524
test edx, edx
jne 0x40a527
sub ecx, 2
xor eax, eax
mov edx, 0x2000
mov word [ecx], ax
mov ecx, edi
push esi
call fcn.004118c0
push edi
push 1
push 0x2375
call fcn.0040c5a2
add esp, 0xc
jmp 0x40a828
call fcn.00429373
push 0
push 0x40002397
call fcn.0040c108
add esp, 8
cmp byte [0x443cc9], 0
je 0x40a57a
push 0
push 0x400023bf
call fcn.0040c108
add esp, 8
mov byte [0x448065], 0
mov dword [0x44851c], 0
jmp 0x40a828
push edi
xor ecx, ecx
call fcn.0040ab29
cmp eax, 1
je 0x40a828
mov eax, dword [esp + 0x18]
cmp word [eax], 0
je 0x40a489
mov ecx, dword [esp + 0x28]
mov edx, 0x2000
push eax
call fcn.00411040
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
jmp 0x40a48b
mov ecx, dword [esp + 0x24]
mov edx, 0x2000
push edi
call fcn.00411040
mov ecx, edi
call fcn.004122c0
push eax
mov edx, 0x2000
mov ecx, edi
call fcn.00411040
xor cl, cl
lea eax, [esp + 0x18]
mov byte [esp + 0x17], cl
mov edx, edi
push eax
mov ecx, 0x2d
call fcn.0040dfc0
cmp eax, 0xffffffff
jne 0x40a673
mov esi, dword [esp + 0x48]
mov edx, 0x2000
push edi
mov ecx, esi
call fcn.00411040
push 0x2000
mov edx, edi
mov dword [esp + 0xfc], edi
lea ecx, [esp + 0xc4]
call fcn.004110b0
cmp eax, 3
je 0x40a821
test eax, eax
jne 0x40a65a
mov bl, 1
mov edx, 0x2000
push esi
mov ecx, edi
mov byte [esp + 0x1b], bl
call fcn.00411040
jmp 0x40a79f
cmp eax, 2
je 0x40a673
cmp eax, 5
jne 0x40a761
mov bl, 1
mov byte [esp + 0x17], bl
jmp 0x40a79f
mov ecx, 0x401fa0
call fcn.0040cfbc
mov ebx, eax
test ebx, ebx
jne 0x40a696
push eax
push 0x400023d2
call fcn.0040c5a2
add esp, 8
jmp 0x40a828
push dword [esp + 0x24]
mov esi, dword [esp + 0x34]
push 0x403378
push 0x2000
push esi
call fcn.0041274c
add esp, 0x10
mov edx, 0x2000
mov ecx, edi
push ebx
call fcn.00411040
mov ecx, dword [esp + 0x24]
mov edx, 0x2000
push edi
call fcn.00411040
push 0x403388
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40a75f
mov eax, dword [esp + 0x28]
cmp word [eax], 0
je 0x40a75f
mov ebx, eax
lea edx, [ebx + 2]
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x40a6f7
sub ebx, edx
mov edx, esi
sar ebx, 1
lea ecx, [edx + 2]
mov dword [esp + 0x4c], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x40a710
sub edx, dword [esp + 0x4c]
sar edx, 1
lea ecx, [edx + ebx]
cmp ecx, 0x2000
jae 0x40a74f
push 0x402178
mov edx, 0x2000
mov ecx, esi
call fcn.004118c0
push dword [esp + 0x28]
mov edx, 0x2000
mov ecx, esi
call fcn.004118c0
jmp 0x40a75f
push eax
push 1
push 0x2363
call fcn.0040c5a2
add esp, 0xc
mov ebx, esi
push dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov edx, 0x2000
mov ecx, esi
call fcn.00411040
push 0x402178
mov edx, 0x2000
mov ecx, esi
call fcn.004118c0
test ebx, ebx
je 0x40a797
push ebx
mov edx, 0x2000
mov ecx, esi
call fcn.004118c0
mov bl, byte [esp + 0x17]
mov dword [esp + 0x38], esi
cmp dword [esp + 0x3c], 0
je 0x40a7b0
push 1
push 0
call dword [sym.imp.api_ms_win_core_console_l1_1_0.dll_SetConsoleCtrlHandler]
push 0x44
lea eax, [esp + 0xc4]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0xc0], 0x44
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x80], eax
test bl, bl
je 0x40a7f6
xor ebx, ebx
jmp 0x40a9ab
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
push 0
push 2
push 0
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x40a88f
mov dword [0x443cf0], 0x54f
mov ecx, edi
call fcn.00425011
mov esi, 1
lea ecx, [esp + 0x24]
call fcn.00416c90
lea ecx, [esp + 0x44]
call fcn.00416c90
lea ecx, [esp + 0x48]
call fcn.00416c90
lea ecx, [esp + 0x70]
call fcn.00416c90
lea ecx, [esp + 0x74]
call fcn.00416c90
lea ecx, [esp + 0x28]
call fcn.00416c90
lea ecx, [esp + 0x30]
call fcn.00416c90
lea ecx, [esp + 0x120]
call fcn.00410de8
mov ecx, dword [esp + 0x554]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00416fd0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
je 0x40a8aa
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x443cf0], eax
jmp 0x40a821
push dword [esp + 0x34]
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x40a89a
lea eax, [esp + 0x34]
push eax
push 0
push 2
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x40a8f7
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x443cf0], eax
push esi
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
jmp 0x40a821
push 0
push 0
push 4
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 1
push eax
push 0x60001
push 0
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_UpdateProcThreadAttribute]
test eax, eax
jne 0x40a930
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
push esi
mov dword [0x443cf0], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
jmp 0x40a8e2
mov eax, dword [esp + 0x40]
mov dword [esp + 0xbc], esi
cmp eax, 0xffff
je 0x40a964
push 0
push 0
push 2
mov word [esp + 0x24], ax
lea eax, [esp + 0x24]
push eax
push 0x20004
push 0
push esi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x40a91c
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x5c]
or eax, 0x400
push eax
mov eax, dword [esp + 0x4c]
push 1
push 0
push 0
push eax
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
push esi
mov ebx, eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
push esi
push 0
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp dword [esp + 0x3c], 0
je 0x40a9bc
push 0
push 0
call dword [sym.imp.api_ms_win_core_console_l1_1_0.dll_SetConsoleCtrlHandler]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x443cf0], eax
test ebx, ebx
je 0x40aa97
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x40aa7a
xor eax, eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
lea eax, [esp + 0x108]
push eax
push dword [esp + 0x64]
call dword [sym.imp.api_ms_win_core_processtopology_l1_1_0.dll_GetThreadGroupAffinity]
test eax, eax
je 0x40aa11
mov esi, dword [esp + 0x108]
jmp 0x40aa14
or esi, 0xffffffff
mov eax, dword [esp + 0x40]
cmp eax, 0xffff
je 0x40aa69
xor ecx, ecx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], ecx
lea ecx, [esp + 0x114]
push ecx
push eax
call dword [sym.imp.api_ms_win_core_systemtopology_l1_1_0.dll_GetNumaNodeProcessorMaskEx]
test eax, eax
je 0x40aa67
mov ecx, dword [esp + 0x114]
mov eax, ecx
and eax, esi
je 0x40aa67
push 0
push ecx
mov esi, eax
call dword [sym.imp.ntdll.dll_RtlFindLeastSignificantBit]
mov ecx, eax
shl ebx, cl
jmp 0x40aa69
xor ebx, ebx
and ebx, esi
je 0x40aa6f
mov esi, ebx
push esi
push dword [esp + 0x60]
call dword [sym.imp.api_ms_win_core_processtopology_obsolete_l1_1_0.dll_SetProcessAffinityMask]
cmp dword [esp + 0x54], 0
je 0x40aa8b
push dword [esp + 0x60]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
push dword [esp + 0x60]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x40aaf9
cmp byte [esp + 0x17], 0
jne 0x40aab9
cmp byte [0x443cc9], 0
je 0x40aaae
cmp eax, 0xc1
je 0x40aab9
cmp eax, 0x2e4
jne 0x40a821
call fcn.00417797
test al, al
je 0x40a821
call fcn.00414c00
push 0x443cf0
lea eax, [esp + 0x60]
push eax
movzx eax, word [esp + 0xb0]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push edi
push dword [esp + 0x28]
call dword [sym.imp.ext_ms_win_cmd_util_l1_1_0.dll_ShellExecuteWorker]
test eax, eax
je 0x40a821
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40ab22
cmp dword [esp + 0x58], 0
je 0x40ab1b
mov ecx, eax
call fcn.00414c3e
mov dword [0x43b8b0], eax
xor esi, esi
jmp 0x40a82d
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
xor esi, esi
jmp 0x40a82d