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

Disassembly:
push 0xffffffffffffffff
push 0x1009b62e
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0xf0]
mov dword [esp + 0x140], ebx
call fcn.10020d60
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x144], 1
call fcn.10020fb0
test al, al
jne 0x1005fa64
lea ecx, [esp + 0xf0]
mov byte [esp + 0x140], bl
call fcn.10020f00
cmp dword [esp + 0x160], 8
jb 0x1005fa5d
mov ecx, dword [esp + 0x14c]
push ecx
call fcn.10079508
add esp, 4
xor al, al
jmp 0x10060271
call fcn.1005f4e0
push 4
mov esi, 7
push str.USER
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
call fcn.10004560
lea edx, [esp + 0xd4]
push edx
lea ecx, [esp + 0xf4]
mov byte [esp + 0x144], 2
call fcn.10021270
mov edi, eax
cmp edi, ebx
mov ebp, 8
sete byte [esp + 0x17]
cmp dword [esp + 0xec], ebp
mov byte [esp + 0x140], 1
jb 0x1005fae2
mov eax, dword [esp + 0xd8]
push eax
call fcn.10079508
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
je 0x1005fb1d
lea ecx, [esp + 0xf0]
mov byte [esp + 0x140], bl
call fcn.10020f00
cmp dword [esp + 0x160], ebp
jmp 0x1005fa4b
push str.COMMON
lea ecx, [esp + 0x70]
call fcn.10004220
lea edx, [esp + 0x6c]
push edx
push edi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x148], 3
call fcn.100213a0
mov edi, eax
cmp edi, ebx
sete byte [esp + 0x17]
cmp dword [esp + 0x84], ebp
mov byte [esp + 0x140], 1
jb 0x1005fb6c
mov eax, dword [esp + 0x70]
push eax
call fcn.10079508
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jne 0x1005fafe
push str.NODE
lea ecx, [esp + 0xb0]
call fcn.10004220
lea edx, [esp + 0xac]
push edx
push edi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x148], 4
call fcn.100213a0
mov edi, eax
cmp edi, ebx
sete byte [esp + 0x17]
cmp dword [esp + 0xc4], ebp
mov byte [esp + 0x140], 1
jb 0x1005fbe1
mov eax, dword [esp + 0xb0]
push eax
call fcn.10079508
add esp, 4
cmp byte [esp + 0x17], bl
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov word [esp + 0xb0], bx
je 0x1005fc23
lea ecx, [esp + 0xf0]
mov byte [esp + 0x140], bl
call fcn.10020f00
lea ecx, [esp + 0x148]
call fcn.10008190
xor al, al
jmp 0x10060271
push 0x58
call fcn.10079665
add esp, 4
cmp eax, ebx
je 0x1005fc56
mov dword [eax + 0x18], esi
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
mov dword [eax + 0x34], esi
mov dword [eax + 0x30], ebx
mov word [eax + 0x20], bx
mov dword [eax + 0x50], esi
mov dword [eax + 0x4c], ebx
mov word [eax + 0x3c], bx
mov byte [eax + 0x54], bl
mov ebp, eax
jmp 0x1005fc58
xor ebp, ebp
push ebx
push 0x100a5f48
lea ecx, [esp + 0x3c]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.10004560
push 4
push str.Name
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 5
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.10004560
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x150], 6
call fcn.10021ae0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x14c], 7
call fcn.10002490
cmp dword [esp + 0x68], 8
jb 0x1005fceb
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x30], 8
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x1005fd0c
mov edx, dword [esp + 0x1c]
push edx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov byte [esp + 0x140], 1
jb 0x1005fd35
mov eax, dword [esp + 0x38]
push eax
call fcn.10079508
add esp, 4
push ebx
push 0x100a5f48
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.10004560
push 8
push str.FullPath
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 8
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.10004560
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x150], 9
call fcn.10021ae0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x38]
push eax
mov byte [esp + 0x14c], 0xa
mov dword [esp + 0x98], ecx
call fcn.10002490
cmp dword [esp + 0x68], 8
jb 0x1005fdc9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x30], 8
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x1005fdea
mov edx, dword [esp + 0x1c]
push edx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov byte [esp + 0x140], 1
jb 0x1005fe13
mov eax, dword [esp + 0x38]
push eax
call fcn.10079508
add esp, 4
push ebx
push 0x100a5f48
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.10004560
push 6
push str.RunArg
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0xb
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.10004560
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x150], 0xc
call fcn.10021ae0
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x1c]
push eax
mov byte [esp + 0x14c], 0xd
call fcn.10002490
cmp dword [esp + 0x68], 8
jb 0x1005fea0
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x30], 8
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
jb 0x1005fec1
mov edx, dword [esp + 0x1c]
push edx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov byte [esp + 0x140], 1
jb 0x1005feea
mov eax, dword [esp + 0x38]
push eax
call fcn.10079508
add esp, 4
push esi
push str.IsShunt
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.10004560
push ebx
lea ecx, [esp + 0x38]
push ecx
push edi
lea ecx, [esp + 0xfc]
mov byte [esp + 0x14c], 0xe
call fcn.100219f0
cmp eax, 1
setae dl
mov byte [ebp + 0x54], dl
cmp dword [esp + 0x4c], 8
mov byte [esp + 0x140], 1
jb 0x1005ff46
mov eax, dword [esp + 0x38]
push eax
call fcn.10079508
add esp, 4
push ebx
push 0x100a5f48
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
call fcn.10004560
push 2
push 0x100a10d8
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 0xf
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.10004560
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x150], 0x10
call fcn.10021ae0
cmp dword [esp + 0x30], 8
jb 0x1005ffd1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10079508
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
cmp dword [esp + 0xa8], 8
mov byte [esp + 0x140], 0x13
jb 0x10060000
mov edx, dword [esp + 0x94]
push edx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x12c], ebx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
jne 0x10060033
lea eax, [esp + 0x88]
push eax
mov ecx, 0x100bb330
call fcn.10056c90
jmp 0x10060047
lea ecx, [esp + 0x118]
push ecx
mov ecx, 0x100bb340
call fcn.1005f8c0
mov dword [eax], ebp
push ebx
push 0x100a5f48
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
call fcn.10004560
mov ebp, 8
push ebp
push str.SetupDir
lea ecx, [esp + 0x58]
mov byte [esp + 0x148], 0x14
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.10004560
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x54]
push eax
push edi
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x100]
mov byte [esp + 0x150], 0x15
call fcn.10021ae0
cmp dword [esp + 0x68], ebp
jb 0x100600c6
mov edx, dword [esp + 0x54]
push edx
call fcn.10079508
add esp, 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
cmp dword [esp + 0x4c], ebp
mov byte [esp + 0x140], 0x18
jb 0x100600ee
mov eax, dword [esp + 0x38]
push eax
call fcn.10079508
add esp, 4
cmp dword [esp + 0xe8], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jne 0x1006014f
mov ecx, dword [esp + 0x8c]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.10010aa0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x14c], 0x19
call fcn.10002490
cmp dword [esp + 0x84], ebp
mov byte [esp + 0x140], 0x18
jb 0x1006014f
mov eax, dword [esp + 0x70]
push eax
call fcn.10079508
add esp, 4
lea ecx, [esp + 0xd4]
push ecx
call fcn.10003720
lea edx, [esp + 0xd8]
push 0x20
push edx
call fcn.10010690
add esp, 0xc
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xcc]
push ecx
mov ecx, 0x100bb324
call fcn.10054e40
cmp dword [esp + 0xec], ebp
jb 0x100601a1
mov edx, dword [esp + 0xd8]
push edx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x130], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], bx
mov byte [esp + 0x140], 1
jb 0x100601d8
mov eax, dword [esp + 0x11c]
push eax
call fcn.10079508
add esp, 4
push 4
push str.NODE
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.10004560
lea ecx, [esp + 0x6c]
push ecx
push edi
lea ecx, [esp + 0xf8]
mov byte [esp + 0x148], 0x1a
call fcn.100214a0
cmp dword [esp + 0x84], ebp
mov edi, eax
mov byte [esp + 0x140], 1
jb 0x10060235
mov edx, dword [esp + 0x70]
push edx
call fcn.10079508
add esp, 4
cmp edi, ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jne 0x1005fc23
lea ecx, [esp + 0xf0]
mov byte [esp + 0x140], bl
call fcn.10020f00
lea ecx, [esp + 0x148]
call fcn.10008190
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x130
ret