Function at 0x4ad08ec3
Capabilities:
Create process on windows
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ad09388
push 0x4ad22171
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x1c5ac
call fcn.4ad02c26
mov eax, dword [0x4ad240ac]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c478], eax
xor ebx, ebx
mov dword [ebp - 0x1c480], ebx
mov dword [ebp - 0x1c490], ebx
mov esi, 0x4ad09378
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebp - 0x1c4a4], 0xffffffff
mov dword [ebp - 0x1c468], ebx
mov dword [ebp - 0x1c484], ebx
mov dword [ebp - 0x1c48c], ebx
mov dword [ebp - 0x1c474], 0xffff
mov dword [ebp - 0x1c45c], 0x80010
push 0x48
pop esi
push esi
push ebx
lea eax, [ebp - 0x1c4f8]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c4f8], esi
mov dword [ebp - 0x1c4f4], ebx
mov dword [ebp - 0x1c4f0], ebx
mov dword [ebp - 0x1c4ec], ebx
mov dword [ebp - 0x1c4e8], ebx
mov dword [ebp - 0x1c4e4], ebx
mov dword [ebp - 0x1c4e0], ebx
mov dword [ebp - 0x1c4dc], ebx
mov dword [ebp - 0x1c4cc], ebx
xor eax, eax
inc eax
mov word [ebp - 0x1c4c8], ax
xor eax, eax
mov word [ebp - 0x1c4c6], ax
mov dword [ebp - 0x1c4c4], ebx
push 0xfffffffffffffff6
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
call esi
mov dword [ebp - 0x1c4c0], eax
push 0xfffffffffffffff5
call esi
mov dword [ebp - 0x1c4bc], eax
push 0xfffffffffffffff4
call esi
mov dword [ebp - 0x1c4b8], eax
xor eax, eax
mov word [ebp - 0x843c], ax
mov word [ebp - 0x1443c], ax
mov dword [ebp - 0x1c47c], ebx
mov eax, dword [ebp - 0x1c478]
mov dword [ebp - 0x1c460], eax
cmp eax, ebx
je 0x4ad1b2dd
mov esi, 0x2000
cmp word [eax], bx
je 0x4ad0907f
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
push ebx
push eax
call fcn.4ad02b0d
mov dword [ebp - 0x1c460], eax
movzx ecx, word [eax]
cmp cx, 0x22
je 0x4ad1b2eb
push esi
cmp cx, word [0x4ad4065c]
je 0x4ad10225
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x1c460]
push eax
push ebx
call fcn.4ad093c2
cmp eax, 1
je 0x4ad0fbf4
mov eax, dword [ebp - 0x1c460]
cmp word [eax], bx
je 0x4ad0907f
push eax
push esi
lea eax, [ebp - 0x1443c]
push eax
call fcn.4ad0185a
lea eax, [ebp - 0x1443c]
mov dword [ebp - 0x1c480], eax
cmp word [ebp - 0x843c], bx
je 0x4ad1b6ea
cmp word [ebp - 0x843c], 0x22
je 0x4ad090af
push 0x20
lea eax, [ebp - 0x843c]
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x4ad1b700
lea eax, [ebp - 0x843c]
push eax
push esi
lea eax, [ebp - 0x1843c]
push eax
call fcn.4ad0185a
lea eax, [ebp - 0x843c]
push eax
call fcn.4ad02598
push eax
push esi
lea eax, [ebp - 0x843c]
push eax
call fcn.4ad0185a
mov byte [ebp - 0x1c461], bl
mov byte [ebp - 0x1c455], bl
lea eax, [ebp - 0x1c4a8]
push eax
lea eax, [ebp - 0x843c]
push eax
push 0x2d
call fcn.4ad040f2
cmp eax, 0xffffffff
jne 0x4ad109ea
lea eax, [ebp - 0x843c]
push eax
push esi
lea eax, [ebp - 0xc43c]
push eax
call fcn.4ad0185a
lea eax, [ebp - 0x843c]
mov dword [ebp - 0x1c58c], eax
push esi
push eax
lea eax, [ebp - 0x1c5c4]
push eax
call fcn.4ad03370
cmp eax, 3
je 0x4ad0fbe8
cmp eax, ebx
je 0x4ad0fbfc
cmp eax, 2
je 0x4ad109ea
cmp eax, 5
je 0x4ad1b727
cmp byte [ebp - 0x1c455], bl
jne 0x4ad091b6
cmp byte [ebp - 0x1c461], bl
jne 0x4ad109f6
mov edi, dword [ebp - 0x1c480]
lea eax, [ebp - 0x1843c]
push eax
push esi
lea eax, [ebp - 0x1043c]
push eax
call fcn.4ad0185a
push 0x4ad025b8
push esi
lea eax, [ebp - 0x1043c]
push eax
call fcn.4ad020a9
cmp edi, ebx
je 0x4ad091aa
push edi
push esi
lea eax, [ebp - 0x1043c]
push eax
call fcn.4ad020a9
lea eax, [ebp - 0x1043c]
mov dword [ebp - 0x1c480], eax
cmp dword [ebp - 0x1c484], ebx
jne 0x4ad10337
mov dword [ebp - 0x1c57c], 0x44
lea eax, [ebp - 0x1c57c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x1c574]
mov dword [ebp - 0x1c4f0], eax
cmp byte [ebp - 0x1c455], bl
jne 0x4ad0fc1c
mov dword [ebp - 0x1c488], ebx
lea eax, [ebp - 0x1c488]
push eax
push ebx
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
cmp eax, ebx
jne 0x4ad1b769
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x7a
jne 0x4ad1b778
push dword [ebp - 0x1c488]
push 8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x4ad1b784
lea eax, [ebp - 0x1c488]
push eax
push ebx
push 2
push edi
call dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
cmp eax, ebx
je 0x4ad1b78c
mov dword [ebp - 0x1c4b0], 1
push ebx
push ebx
push 4
lea eax, [ebp - 0x1c4b0]
push eax
push 0x60001
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
cmp eax, ebx
je 0x4ad1b7a7
mov dword [ebp - 0x1c4b4], edi
cmp dword [ebp - 0x1c474], 0xffff
jne 0x4ad1b7bb
lea eax, [ebp - 0x1c4a0]
push eax
lea eax, [ebp - 0x1c4f8]
push eax
push dword [ebp - 0x1c47c]
push dword [ebp - 0x1c490]
mov eax, dword [ebp - 0x1c45c]
or eax, 0x400
push eax
push 1
push ebx
push ebx
push dword [ebp - 0x1c480]
lea eax, [ebp - 0x843c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1c470], eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
push edi
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x1c484], ebx
jne 0x4ad1032a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4ad24128], eax
cmp dword [ebp - 0x1c470], ebx
je 0x4ad0fb2b
cmp dword [ebp - 0x1c468], ebx
jne 0x4ad1b7ea
push dword [ebp - 0x1c49c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x1c49c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c4a0], ebx
je 0x4ad09357
push dword [ebp - 0x1c4a0]
cmp dword [ebp - 0x1c48c], ebx
jne 0x4ad10201
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.4ad013a9
leave
ret 4
cmp byte [ebp - 0x1c455], bl
je 0x4ad0fc27
push 0x3c
pop esi
push esi
push ebx
lea eax, [ebp - 0x1c538]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c538], esi
mov dword [ebp - 0x1c534], 0x8140
test byte [ebp - 0x1c45c], 0x10
je 0x4ad0fb6e
mov dword [ebp - 0x1c534], 0x140
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [ebp - 0x1c530], eax
lea eax, [ebp - 0x843c]
mov dword [ebp - 0x1c528], eax
lea eax, [ebp - 0x1443c]
mov dword [ebp - 0x1c524], eax
mov eax, dword [ebp - 0x1c47c]
mov dword [ebp - 0x1c520], eax
movzx eax, word [ebp - 0x1c4c8]
mov dword [ebp - 0x1c51c], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c538]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x1c470], eax
cmp eax, ebx
je 0x4ad106c2
mov eax, dword [ebp - 0x1c500]
mov dword [ebp - 0x1c4a0], eax
mov dword [ebp - 4], 0xfffffffe
cmp dword [ebp - 0x1c470], ebx
jne 0x4ad09337
lea eax, [ebp - 0x843c]
push eax
call fcn.4ad1065b
xor eax, eax
inc eax
jmp 0x4ad09359
mov byte [ebp - 0x1c455], 1
lea eax, [ebp - 0xc43c]
push eax
push esi
lea eax, [ebp - 0x843c]
push eax
call fcn.4ad0185a
jmp 0x4ad09158
mov dword [ebp - 0x1c470], ebx
jmp 0x4ad092f0
cmp byte [0x4ad24081], bl
je 0x4ad0fc3a
cmp eax, 0xc1
je 0x4ad0fb37
cmp eax, 0x2e4
je 0x4ad0fb37
jmp 0x4ad0fbdc
call fcn.4ad03be0
mov dword [0x4ad24188], eax
jmp 0x4ad09357
inc eax
inc eax
mov dword [ebp - 0x1c460], eax
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0x1c460]
push eax
push 1
call fcn.4ad093c2
cmp eax, 1
je 0x4ad0fbf4
push 0x4ad10318
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b349
push 0x4ad10300
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b454
push 0x4ad102e8
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b463
push 0x4ad102e4
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4ad10345
mov dword [ebp - 0x1c48c], ebx
mov dword [ebp - 0x1c484], 1
mov eax, dword [ebp - 0x1c45c]
and eax, 0xffffffef
or eax, 0x200
mov dword [ebp - 0x1c45c], eax
mov eax, dword [ebp - 0x1c460]
cmp word [eax], bx
jne 0x4ad09015
jmp 0x4ad0907f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
jmp 0x4ad092fc
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
jmp 0x4ad091c2
push dword [ebp - 0x443c]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
cmp ax, 0x44
je 0x4ad1b472
push 0x4ad10404
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b515
push dword [ebp - 0x443c]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
cmp ax, 0x49
je 0x4ad1b524
push dword [ebp - 0x443c]
call dword [sym.imp.msvcrt.dll_towupper]
pop ecx
cmp ax, 0x3f
je 0x4ad1b683
push 0x4ad103fc
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b542
push 0x4ad103f4
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4ad106e3
or dword [ebp - 0x1c4cc], 1
mov eax, 0xfffe
and word [ebp - 0x1c4c8], ax
or word [ebp - 0x1c4c8], 7
jmp 0x4ad102cf
mov eax, dword [ebp - 0x1c518]
cmp eax, ebx
je 0x4ad1b88d
cmp eax, 0x20
je 0x4ad1b89c
mov dword [0x4ad24128], eax
jmp 0x4ad0fbd5
push 0x4ad107fc
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b54e
push 0x4ad107f0
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b56e
push 0x4ad107e0
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b5f9
push 0x4ad107cc
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b605
push 0x4ad107b8
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b614
push 0x4ad107a8
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1b623
push 0x4ad1079c
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x4ad1b632
mov dword [ebp - 0x1c48c], 1
jmp 0x4ad102cf
mov byte [ebp - 0x1c461], 1
jmp 0x4ad09158
push str.COMSPEC
call fcn.4ad02070
mov edi, eax
cmp edi, ebx
je 0x4ad1b73c
lea eax, [ebp - 0x1843c]
push eax
push 0x4ad10a84
push esi
lea eax, [ebp - 0x1c43c]
push eax
call fcn.4ad0179d
add esp, 0x10
push edi
push esi
lea eax, [ebp - 0x843c]
push eax
call fcn.4ad0185a
lea eax, [ebp - 0x843c]
push eax
push esi
lea eax, [ebp - 0x1843c]
push eax
call fcn.4ad0185a
push 0x4ad10a78
lea eax, [ebp - 0x1c43c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4ad10ae9
cmp word [ebp - 0x1443c], bx
je 0x4ad10ae9
lea eax, [ebp - 0x1443c]
lea edx, [eax + 2]
jmp 0x4ad10a92
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4ad10a92
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [ebp - 0x1c43c]
lea edi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4ad10aab
sub eax, edi
sar eax, 1
add eax, edx
cmp eax, esi
jae 0x4ad1b74e
push 0x4ad025b8
push esi
lea eax, [ebp - 0x1c43c]
push eax
call fcn.4ad020a9
lea eax, [ebp - 0x1443c]
push eax
push esi
lea eax, [ebp - 0x1c43c]
push eax
call fcn.4ad020a9
lea edi, [ebp - 0x1c43c]
jmp 0x4ad09172
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c460], eax
jmp 0x4ad09005
cmp dword [ebp - 0x1c4ec], ebx
jne 0x4ad0902f
push 0x104
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x1c460]
push eax
push 1
call fcn.4ad093c2
cmp eax, 1
je 0x4ad0fbf4
lea eax, [ebp - 0x234]
push eax
call fcn.4ad02598
push eax
push 0x104
lea eax, [ebp - 0x234]
push eax
call fcn.4ad0185a
lea eax, [ebp - 0x234]
mov dword [ebp - 0x1c4ec], eax
jmp 0x4ad102cf
push ebx
push dword [ebp - 0x1c460]
call fcn.4ad02b0d
mov dword [ebp - 0x1c460], eax
push esi
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0x1c460]
push eax
xor edi, edi
inc edi
push edi
call fcn.4ad093c2
cmp eax, edi
je 0x4ad1b6b4
lea eax, [ebp - 0x443c]
mov dword [ebp - 0x1c468], eax
cmp word [ebp - 0x443c], 0x30
jne 0x4ad1b3b1
cmp word [ebp - 0x443a], 0x78
je 0x4ad1b3a5
cmp word [ebp - 0x443a], 0x58
jne 0x4ad1b3b1
lea eax, [ebp - 0x4438]
mov dword [ebp - 0x1c468], eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4ad1b3b4
sub eax, edx
sar eax, 1
cmp eax, 8
ja 0x4ad1b64c
mov dword [ebp - 0x1c46c], ebx
jmp 0x4ad1b40d
cmp di, bx
je 0x4ad1b434
mov eax, dword [ebp - 0x1c46c]
shl eax, 4
lea ecx, [edi - 0x30]
cmp cx, 9
ja 0x4ad1b3f3
movzx ecx, di
lea eax, [eax + ecx - 0x30]
jmp 0x4ad1b407
lea ecx, [edi - 0x61]
cmp cx, 5
ja 0x4ad1b668
movzx ecx, di
lea eax, [eax + ecx - 0x57]
mov dword [ebp - 0x1c46c], eax
mov eax, dword [ebp - 0x1c468]
movzx eax, word [eax]
push eax
call dword [sym.imp.msvcrt.dll_towlower]
movzx edi, ax
add dword [ebp - 0x1c468], 2
push edi
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
test eax, eax
pop ecx
je 0x4ad1b3d3
mov eax, dword [ebp - 0x1c46c]
cmp eax, ebx
je 0x4ad1b668
mov dword [ebp - 0x1c468], eax
or dword [ebp - 0x1c45c], 4
jmp 0x4ad1b5ee
or dword [ebp - 0x1c45c], 0x8000
jmp 0x4ad102cf
or dword [ebp - 0x1c45c], 0x4000
jmp 0x4ad102cf
lea eax, [ebp - 0x443a]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4ad1b47b
sub eax, edx
sar eax, 1
je 0x4ad1b493
lea eax, [ebp - 0x443a]
jmp 0x4ad1b4ca
push ebx
push dword [ebp - 0x1c460]
call fcn.4ad02b0d
mov dword [ebp - 0x1c460], eax
push esi
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0x1c460]
push eax
push 1
call fcn.4ad093c2
cmp eax, 1
je 0x4ad0fbf4
lea eax, [ebp - 0x443c]
push eax
call fcn.4ad02598
push eax
push 0x104
lea eax, [ebp - 0x43c]
push eax
call fcn.4ad0185a
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x1c47c], eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4ad1b4f1
sub eax, edx
sar eax, 1
cmp eax, 0x104
jbe 0x4ad102cf
lea eax, [ebp - 0x43c]
jmp 0x4ad1b66e
or dword [ebp - 0x1c45c], 0x80
jmp 0x4ad102cf
mov eax, dword [0x4ad241c0]
cmp eax, ebx
je 0x4ad102cf
push eax
call fcn.4ad1c9bf
mov dword [ebp - 0x1c490], eax
jmp 0x4ad102cf
or dword [ebp - 0x1c45c], 0x40
jmp 0x4ad102cf
or dword [ebp - 0x1c4cc], 1
mov eax, 0xfffe
and word [ebp - 0x1c4c8], ax
or word [ebp - 0x1c4c8], 3
jmp 0x4ad102cf
mov dword [ebp - 0x1c478], ebx
push ebx
push dword [ebp - 0x1c460]
call fcn.4ad02b0d
mov dword [ebp - 0x1c460], eax
push esi
lea eax, [ebp - 0x443c]
push eax
lea eax, [ebp - 0x1c460]
push eax
push 1
call fcn.4ad093c2
cmp eax, 1
je 0x4ad1b6b4
push 0xa
lea eax, [ebp - 0x1c478]
push eax
lea eax, [ebp - 0x443c]
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x1c474], edi
cmp edi, ebx
jne 0x4ad1b5d9
mov eax, dword [ebp - 0x1c478]
cmp word [eax], bx
jne 0x4ad1b668
lea eax, [ebp - 0x1c4ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
cmp edi, dword [ebp - 0x1c4ac]
ja 0x4ad1b668
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
jmp 0x4ad102cf
or dword [ebp - 0x1c45c], 0x20
jmp 0x4ad102cf
or dword [ebp - 0x1c45c], 0x100
jmp 0x4ad102cf
or dword [ebp - 0x1c45c], 0x800
jmp 0x4ad102cf
or dword [ebp - 0x1c45c], 0x1000
jmp 0x4ad102cf
push 0x4ad1b8e0
lea eax, [ebp - 0x443c]
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x4ad1078b
jmp 0x4ad1b6b4
lea eax, [ebp - 0x443c]
push eax
push edi
push 0x2362
call fcn.4ad06d44
add esp, 0xc
mov eax, edi
jmp 0x4ad09359
lea eax, [ebp - 0x443c]
push eax
push 1
push 0x2362
call fcn.4ad06d44
add esp, 0xc
jmp 0x4ad0fbf4
call fcn.4ad1fd97
push ebx
push 0x40002397
call fcn.4ad099e1
pop ecx
pop ecx
cmp byte [0x4ad24081], bl
je 0x4ad1b6aa
push ebx
push 0x400023bf
call fcn.4ad099e1
pop ecx
pop ecx
call fcn.4ad1fd0c
jmp 0x4ad0fbf4
push 0x4ad1bcb8
push esi
lea eax, [ebp - 0x1c43c]
push eax
call fcn.4ad0185a
lea eax, [ebp - 0x443c]
push eax
push esi
lea eax, [ebp - 0x1c43c]
push eax
call fcn.4ad020a9
lea eax, [ebp - 0x1c43c]
push eax
push 1
push 0x2375
jmp 0x4ad1b676
lea eax, [ebp - 0x2c]
push eax
push esi
lea eax, [ebp - 0x843c]
push eax
call fcn.4ad0185a
jmp 0x4ad0908c
lea eax, [ebp - 0x843c]
push eax
call fcn.4ad02598
push eax
push 0x4ad1b8d4
push esi
lea eax, [ebp - 0x1843c]
push eax
call fcn.4ad0179d
add esp, 0x10
jmp 0x4ad090dd
cmp eax, 2
je 0x4ad109ea
mov byte [ebp - 0x1c455], 1
jmp 0x4ad09158
push ebx
push 0x400023d2
call fcn.4ad06d44
pop ecx
pop ecx
jmp 0x4ad0fbf4
lea eax, [ebp - 0x1443c]
push eax
push 1
push 0x2363
call fcn.4ad06d44
add esp, 0xc
jmp 0x4ad10ae9
mov dword [0x4ad24128], 0x54f
jmp 0x4ad0fbe8
call esi
mov dword [0x4ad24128], eax
jmp 0x4ad0fbe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4ad1b77a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4ad24128], eax
push edi
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4ad0fbe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4ad24128], eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
jmp 0x4ad1b797
movzx eax, word [ebp - 0x1c474]
mov dword [ebp - 0x1c46c], eax
push ebx
push ebx
push 2
lea eax, [ebp - 0x1c46c]
push eax
push 0x20004
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
cmp eax, ebx
jne 0x4ad0929b
jmp 0x4ad1b7a7
xor eax, eax
lea edi, [ebp - 0x1c454]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c454]
push eax
push dword [ebp - 0x1c49c]
call dword [sym.imp.KERNEL32.dll_GetThreadGroupAffinity]
test eax, eax
mov esi, dword [ebp - 0x1c454]
jne 0x4ad1b818
mov esi, dword [ebp - 0x1c4a4]
cmp dword [ebp - 0x1c474], 0xffff
je 0x4ad1b86f
xor eax, eax
lea edi, [ebp - 0x1c448]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c448]
push eax
push dword [ebp - 0x1c474]
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMaskEx]
test eax, eax
je 0x4ad1b869
mov eax, dword [ebp - 0x1c448]
and eax, esi
je 0x4ad1b869
mov esi, eax
push ebx
push dword [ebp - 0x1c448]
call dword [sym.imp.ntdll.dll_RtlFindLeastSignificantBit]
mov ecx, eax
shl dword [ebp - 0x1c468], cl
jmp 0x4ad1b86f
mov dword [ebp - 0x1c468], ebx
mov eax, dword [ebp - 0x1c468]
and eax, esi
je 0x4ad1b87b
mov esi, eax
push esi
push dword [ebp - 0x1c4a0]
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
jmp 0x4ad0931f
mov dword [0x4ad24128], 8
jmp 0x4ad0fbd5
mov dword [0x4ad24128], 2
jmp 0x4ad0fbd5