Function at 0x100618f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae128
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100df0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x2c]
lea ebx, [edi + 0x2c]
push dword [ebp + 8]
xor ecx, ecx
mov dword [ebx + 4], 0
push 0x40
mov word [eax], cx
mov ecx, edi
push 0x100deda8
call fcn.10018cb0
test al, al
jne 0x1006195d
push dword [edi + 0x20]
push dword [edi + 0x14]
lea ecx, [ebp - 0x24]
call fcn.100725c0
push 0x100c7868
lea eax, [ebp - 0x24]
push eax
call fcn.1009cfed
call fcn.1009da50
push eax
call fcn.1009e4e3
push eax
call fcn.1009e507
mov esi, dword [ebp + 0xc]
test eax, eax
setne al
mov byte [esi + 3], al
call fcn.1009da50
add eax, 0x20
push eax
call fcn.1009e4e3
push eax
call fcn.1009e507
test eax, eax
setne al
mov byte [esi + 4], al
call fcn.1009da50
add eax, 0x40
push eax
call fcn.1009e4e3
push eax
call fcn.1009e507
add esp, 0x18
test eax, eax
setne al
mov byte [esi + 5], al
mov eax, dword [edi]
cmp byte [eax], 0
jne 0x100619cb
cmp byte [eax + 0x14], 0
jne 0x100619cb
cmp byte [eax + 0x28], 0
jne 0x100619cb
xor eax, eax
jmp 0x100619d0
mov eax, 1
mov byte [esi], al
mov eax, dword [edi]
mov al, byte [eax + 0xc8]
mov byte [esi + 9], al
mov eax, dword [edi]
mov al, byte [eax + 0x280]
mov byte [esi + 6], al
mov eax, dword [edi]
mov al, byte [eax + 0x294]
mov byte [esi + 7], al
mov eax, dword [edi]
cmp byte [eax + 0x3c], 0
sete al
mov byte [esi + 8], al
mov eax, dword [edi]
cmp byte [eax + 0x2f8], 0
je 0x10061a3c
mov eax, dword [eax + 0x300]
lea ecx, [ebp - 0x24]
mov edx, dword [eax]
call fcn.10061870
push eax
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
call fcn.10019ef0
push dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.1009cfdf
add esp, 4
mov eax, dword [edi]
cmp byte [eax + 0x30c], 0
je 0x10061a58
cmp byte [eax + 0x30d], 0
mov byte [esi + 0xe], 1
sete al
mov byte [esi + 0xd], al
mov eax, dword [edi]
cmp byte [eax + 0x320], 0
je 0x10061a71
cmp byte [eax + 0x321], 0
sete byte [0x101ee680]
mov eax, dword [edi]
mov al, byte [eax + 0x2e4]
mov byte [esi + 0xb], al
mov eax, dword [edi]
mov al, byte [eax + 0x64]
mov byte [esi + 0xc], al
mov eax, dword [edi]
cmp byte [eax + 0x50], 0
jne 0x10061a98
cmp byte [esi + 7], 0
jne 0x10061a98
cmp byte [esi + 4], 0
jne 0x10061aa2
mov dword [esi + 0x240], 0
cmp byte [esi + 7], 0
je 0x10061ab2
mov dword [esi + 0x238], 0
mov eax, dword [edi]
cmp byte [eax + 0x8c], 0
je 0x10061ac9
mov eax, dword [eax + 0x90]
mov dword [esi + 0x238], eax
mov eax, dword [edi]
cmp byte [eax + 0xa0], 0
je 0x10061ae0
mov eax, dword [eax + 0xa4]
mov dword [esi + 0x23c], eax
mov eax, dword [edi]
cmp byte [eax + 0xb4], 0
je 0x10061af7
mov eax, dword [eax + 0xb8]
mov dword [esi + 0x240], eax
mov eax, dword [edi]
cmp byte [eax + 0x78], 0
je 0x10061b42
mov eax, dword [eax + 0x80]
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp dword [eax + 4], 0
jne 0x10061b1c
mov dword [esi + 0x244], 1
jmp 0x10061b42
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
call fcn.100632b0
test al, al
jne 0x10061b39
mov eax, dword [ebp + 8]
push dword [eax]
push str.Unsupported_switch_postfix__bb
jmp 0x10061947
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x244], eax
mov eax, dword [edi]
cmp byte [eax + 0x370], 0
je 0x10061b63
cmp byte [eax + 0x371], 0
sete al
mov byte [0x100ed1ac], al
mov byte [esi + 2], al
mov byte [esi + 1], 1
mov dl, 1
mov ecx, str.SeRestorePrivilege
call fcn.100248a0
mov dl, 1
mov ecx, str.SeCreateSymbolicLinkPrivilege
call fcn.100248a0
mov eax, dword [edi]
cmp byte [eax + 0x2a8], 0
je 0x10061bf1
mov eax, dword [eax + 0x2b0]
xor esi, esi
mov dword [ebp + 8], esi
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp dword [eax + 4], esi
jne 0x10061ba2
mov esi, 1
jmp 0x10061bd2
mov edx, 0x100b61c4
mov ecx, eax
call fcn.1001cdb0
test al, al
je 0x10061bd2
mov esi, dword [ebp + 0xc]
lea edx, [ebp + 8]
mov ecx, dword [esi]
call fcn.100632b0
test al, al
jne 0x10061bcf
push dword [esi]
push str.Unsupported_switch_postfix_for__slp
jmp 0x10061947
mov esi, dword [ebp + 8]
call fcn.100249a0
cmp esi, eax
jbe 0x10061bf1
call fcn.10002c80
mov dl, 1
mov ecx, str.SeLockMemoryPrivilege
call fcn.100248a0
mov byte [0x101f3c30], al
mov eax, dword [edi]
cmp byte [eax + 0x208], 0
je 0x10061ce0
mov eax, dword [eax + 0x210]
mov esi, dword [eax]
cmp dword [esi + 4], 0
je 0x10061ce0
lea ecx, [ebp - 0x18]
call fcn.10019c20
push dword [esi]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.1001b210
push str.Set_process_affinity_mask:
mov ecx, ebx
call fcn.1001a2b0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + 8]
call fcn.1001c110
mov ecx, dword [ebp + 8]
mov edi, eax
cmp byte [ecx], 0
je 0x10061c59
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov byte [ecx], 0
cmp dword [ebp - 0x14], 0
je 0x10061cf4
cmp edx, 1
jb 0x10061c7a
ja 0x10061c6e
test edi, edi
jb 0x10061c7a
push dword [esi]
push str.unsupported_value__stm
jmp 0x10061947
push edx
push edi
mov ecx, ebx
call fcn.10062e60
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
jne 0x10061cce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str._:_ERROR_:
mov ecx, ebx
mov esi, eax
call fcn.1001a2b0
mov edx, esi
lea ecx, [ebp - 0x24]
call fcn.1001e9f0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1001a270
push dword [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.1009cfdf
add esp, 4
mov ecx, ebx
call fcn.1001a4b0
push dword [ebp - 0x18]
call fcn.1009cfdf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [esi]
lea ecx, [ebp - 0x30]
push str.Unsupported_switch_postfix__stm
call fcn.100725c0
push 0x100c7868
lea eax, [ebp - 0x30]
jmp 0x10061957