Function at 0x1001b1d0
Capabilities:
Accept command line arguments
Set environment variable

Disassembly:
mov eax, 0x10080627
call fcn.1007fd14
sub esp, 0x84
movdqa xmm0, xmmword [0x10007c10]
lea eax, [ebp - 0x74]
push ebx
push esi
push edi
push dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x30], ecx
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x40], ebx
push eax
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
mov esi, edx
mov dword [ebp - 0x38], ebx
movdqu xmmword [ebp - 0x84], xmm0
call fcn.1001973b
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x74]
xor edi, edi
inc edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], 0x94bb489f
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], 0xed6c34f1
mov dword [ebp - 0x20], 0xfffffff6
mov dword [ebp - 0x2c], 9
push edi
call fcn.10017ff2
mov dword [ebp - 0x10], ebx
jmp 0x1001b26f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x74]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1001b263
push 3
mov dword [ebp - 0x18], ebx
pop edx
jmp 0x1001b391
mov dword [ebp - 0x1c], 0xe2c0d37a
mov dword [ebp - 0x20], 9
mov dword [ebp - 0x20], 0xfffffffe
mov dword [ebp - 0x48], 0xa2b441a6
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x44], 0x819d3388
mov dword [ebp - 0x20], 0x8af066b
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x4c], 0xd96456cf
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], ebx
jl 0x1001b313
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], ebx
jmp 0x1001b2e1
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x90], 5
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001b2d0
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
jl 0x1001b30e
mov dword [ebp - 0x10], ebx
jmp 0x1001b301
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x68], 0x3a88e00f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1001b2f3
dec dword [ebp - 0x2c]
dec dword [ebp - 0x14]
jns 0x1001b2ee
dec dword [ebp - 0x1c]
jns 0x1001b2c4
mov dword [ebp - 0x14], ebx
jmp 0x1001b389
mov dword [ebp - 0x10], 0xb4ea65d3
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
sub eax, 7
neg eax
sbb eax, eax
inc eax
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jne 0x1001b345
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x40]
cmp dword [eax + ecx*4], ebx
mov eax, ebx
je 0x1001b347
mov eax, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], ebx
jl 0x1001b386
mov dword [ebp - 0x10], 0xfffffffe
mov dword [ebp - 0x10], 6
cmp dword [ebp - 0x10], ebx
je 0x1001b36b
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
test eax, eax
setg cl
mov dword [ebp - 0x10], ecx
dec dword [ebp - 0x1c]
jns 0x1001b352
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jle 0x1001b318
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jle 0x1001b27f
lea ecx, [ebp - 0x74]
call fcn.100188c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100188c4
cmp byte [ebp + 0x14], 0
je 0x1001b619
mov dword [ebp - 0x10], 0x17571177
mov dword [ebp - 0x10], ebx
jmp 0x1001b409
mov dword [ebp - 0x18], 0xe3245f1d
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x1001b3db
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x18], ebx
jmp 0x1001b400
mov dword [ebp - 0x24], 0xf9e923e6
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x1001b3f8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [ebp - 0x24], ebx
jne 0x1001b406
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x14
jl 0x1001b3e0
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xe
je 0x1001b3c4
push 8
mov dword [ebp - 0x18], 0xea5d6c05
pop esi
mov dword [ebp + 0x14], ebx
mov dword [ebp - 0x18], esi
jmp 0x1001b4b7
push edi
lea ecx, [ebp - 0x58]
call fcn.10017ff2
mov dword [ebp - 0x10], 0x66f5a9c4
mov dword [ebp + 0x14], ebx
jmp 0x1001b449
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0xe0b4074d
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], edi
jl 0x1001b439
mov dword [ebp - 0x10], ebx
jmp 0x1001b4a7
mov dword [ebp - 0x1c], 0xf0aa6e6f
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x1001b474
push ebx
push 0x2307
push 0x14bb
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jl 0x1001b4a4
mov dword [ebp + 0x14], 0x188e17b8
mov dword [ebp + 0x14], ebx
cmp dword [ebp + 0x14], ebx
jl 0x1001b49f
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [ebp + 0x14]
jns 0x1001b48b
dec dword [ebp - 0x1c]
jns 0x1001b47c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jle 0x1001b453
lea ecx, [ebp - 0x58]
call fcn.100188c4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x15
jg 0x1001b424
mov dword [ebp - 0x14], 0xfe387fb0
mov edx, ebx
mov dword [ebp + 0x14], 0xd9dcee34
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], 0x4caa5d73
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
je 0x1001b4f1
mov edx, edi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp + 0x14], ecx
mov ecx, edi
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
je 0x1001b588
push 2
lea ecx, [ebp - 0x64]
call fcn.10017ff2
mov dword [ebp + 0x14], ebx
jmp 0x1001b54d
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x64]
mov dword [eax + ecx*4], 0xffff
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], 2
jl 0x1001b53d
mov dword [ebp - 0x10], ebx
jmp 0x1001b578
mov dword [ebp - 0x14], ebx
jmp 0x1001b570
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x1001b56d
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x1001b55d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x23
jl 0x1001b558
lea ecx, [ebp - 0x64]
call fcn.100188c4
jmp 0x1001b5ad
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x1001b597
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x1001b5ad
push ebx
push ebx
push 0xb6e
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov eax, dword [ecx]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov eax, dword [ecx]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov esi, dword [ecx]
xor ecx, ecx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
cmp eax, edi
mov eax, dword [ebp + 0xc]
setge cl
xor edx, edx
mov eax, dword [eax]
cmp eax, ecx
mov eax, dword [ebp + 0x24]
sete dl
mov eax, dword [eax]
sub edx, dword [eax + esi*4]
xor eax, eax
cmp edx, 0x34d7
setne al
cmp eax, 0xffffffff
ja 0x1001b604
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ecx]
mov eax, dword [eax]
cmp dword [eax + ecx*4], ebx
jne 0x1001b606
mov edi, ebx
mov eax, dword [ebp + 0x20]
xor ecx, ecx
mov eax, dword [eax]
cmp edi, eax
mov eax, dword [ebp + 0x10]
setl cl
mov dword [eax], ecx
jmp 0x1001b62b
cmp byte [esi], 0
je 0x1001b62b
push 0x21a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret