Function at 0x1000b710
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c79e
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x10063058]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 7
mov word [ebp - 0x814], ax
push ecx
push str.serverip
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.1000eca0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x1000ba26
push 0x1005bc18
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000b833
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b829
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
push 0
push 0x1f4
movups xmmword [ebp - 0x814], xmm0
mov ecx, 0x10063b64
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
call fcn.1000ed60
push 0x1f4
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1002ad20
add esp, 0xc
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x890]
call fcn.10002580
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
sub esp, 0x18
lea eax, [ebp - 0x878]
mov ecx, 0x1bb
mov dword [ebp - 0x894], esp
movzx esi, cx
mov ecx, esp
push eax
call fcn.100058a0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x848]
mov ecx, esp
push eax
call fcn.100058a0
lea edx, [ebp - 0x414]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.10010c40
add esp, 0x34
test eax, eax
je 0x1000b8ed
push 0x1388
call edi
jmp 0x1000b893
push 0x3e8
lea eax, [ebp - 0x7fc]
push 0
push eax
call fcn.1002ad20
push 0x1f4
lea eax, [ebp - 0x414]
push eax
push 0x1f4
lea eax, [ebp - 0x7fc]
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.1002e395
add esp, 0x20
test eax, eax
je 0x1000b9ec
lea ecx, [ebp - 0x890]
call fcn.10002aa0
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000b97a
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b970
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov word [ebp - 0x814], ax
mov dword [ebp - 0x800], 7
mov dword [ebp - 0x804], eax
cmp edx, 8
jb 0x1000b9cd
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b9c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10028ebf
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x7fc]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000b9f5
sub edx, esi
lea eax, [ebp - 0x7fc]
sar edx, 1
mov ecx, 0x10063b64
push edx
push eax
call fcn.10007770
lea ecx, [ebp - 0x890]
call fcn.10002aa0
jmp 0x1000c2f7
push 0x1005bc1c
call fcn.1000eca0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x1000bb76
push 0x1005bc18
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000bae2
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bad8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
push 0
push 0x105
movups xmmword [ebp - 0x814], xmm0
mov ecx, 0x10063b94
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
call fcn.1000ed60
cmp dword [ebp - 0x800], 8
lea ecx, [ebp - 0x220]
push 0x104
lea eax, [ebp - 0x814]
cmovae eax, dword [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1000b93a
lea edx, [ebp - 0x220]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000bb50
sub edx, esi
lea eax, [ebp - 0x220]
sar edx, 1
mov ecx, 0x10063b94
push edx
push eax
call fcn.10007770
jmp 0x1000c2f7
push str.app1argument
call fcn.1000eca0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x1000bc7a
push 0x1005bc18
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000bc32
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bc28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm1, xmmword [ebp - 0x8ac]
cmp dword [ebp - 0x898], 8
lea ecx, [ebp - 0x814]
push dword [ebp - 0x89c]
movq xmm0, qword [ebp - 0x89c]
movd eax, xmm1
movups xmmword [ebp - 0x814], xmm1
cmovae ecx, eax
movq qword [ebp - 0x804], xmm0
push ecx
mov ecx, 0x10063aec
call fcn.10007770
jmp 0x1000c2f7
push str.app1start
call fcn.1000eca0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x1000bdda
push 0x1005bc18
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000bd36
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bd2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm1, xmmword [ebp - 0x8ac]
cmp dword [ebp - 0x898], 8
lea esi, [ebp - 0x814]
movq xmm0, qword [ebp - 0x89c]
mov edx, dword [ebp - 0x89c]
movd edi, xmm1
movups xmmword [ebp - 0x814], xmm1
cmovae esi, edi
movq qword [ebp - 0x804], xmm0
cmp edx, 4
jne 0x1000bd98
mov ecx, str.hide
test edx, edx
je 0x1000bd91
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x1000bd98
add ecx, 2
sub edx, 1
jne 0x1000bd80
mov eax, 1
jmp 0x1000bd9a
xor eax, eax
mov dword [0x10063ab8], eax
mov eax, dword [ebp - 0x898]
cmp eax, 8
jb 0x1000c337
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1000bdd3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push ecx
push edi
jmp 0x1000c32f
push str.upload_and_run_location
call fcn.1000eca0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x1000bf26
push 0x1005bc18
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000be96
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000be8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
push 0
push 0x105
movups xmmword [ebp - 0x814], xmm0
mov ecx, 0x10063ad4
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
call fcn.1000ed60
cmp dword [ebp - 0x800], 8
lea ecx, [ebp - 0x220]
push 0x104
lea eax, [ebp - 0x814]
cmovae eax, dword [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1000b93a
lea edx, [ebp - 0x220]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000bf00
sub edx, esi
lea eax, [ebp - 0x220]
sar edx, 1
mov ecx, 0x10063ad4
push edx
push eax
call fcn.10007770
jmp 0x1000c2f7
push str.only_upload_location
call fcn.1000eca0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x1000c076
push 0x1005bc18
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000bfe2
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bfd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
push 0
push 0x105
movups xmmword [ebp - 0x814], xmm0
mov ecx, 0x10063b4c
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
call fcn.1000ed60
cmp dword [ebp - 0x800], 8
lea ecx, [ebp - 0x220]
push 0x104
lea eax, [ebp - 0x814]
cmovae eax, dword [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1000b93a
lea edx, [ebp - 0x220]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000c050
sub edx, esi
lea eax, [ebp - 0x220]
sar edx, 1
mov ecx, 0x10063b4c
push edx
push eax
call fcn.10007770
jmp 0x1000c2f7
push str.customrules_location
call fcn.1000eca0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x1000c1c6
push 0x1005bc18
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000c132
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c128
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
push 0
push 0x105
movups xmmword [ebp - 0x814], xmm0
mov ecx, 0x10063b04
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
call fcn.1000ed60
cmp dword [ebp - 0x800], 8
lea ecx, [ebp - 0x220]
push 0x104
lea eax, [ebp - 0x814]
cmovae eax, dword [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1000b93a
lea edx, [ebp - 0x220]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1000c1a0
sub edx, esi
lea eax, [ebp - 0x220]
sar edx, 1
mov ecx, 0x10063b04
push edx
push eax
call fcn.10007770
jmp 0x1000c2f7
push str.sleep
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000c3af
push ecx
push 0x1005bc18
lea ecx, [ebp + 8]
call fcn.1000eca0
cmp eax, 0xffffffff
je 0x1000b97a
lea edx, [eax + 1]
mov dword [ebp - 0x8ac], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x898], 7
cmp eax, edx
jb 0x1000c409
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007770
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000c282
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c278
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
movups xmmword [ebp - 0x814], xmm0
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
mov byte [ebp - 4], 4
call fcn.1002e0ff
cmp dword [ebp - 0x800], 8
lea esi, [ebp - 0x814]
mov edi, eax
lea eax, [ebp - 0x894]
cmovae esi, dword [ebp - 0x814]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.1002e05c
add esp, 0xc
cmp esi, dword [ebp - 0x894]
je 0x1000c40e
cmp dword [edi], 0x22
je 0x1000c418
imul eax, eax, 0x3e8
mov dword [0x100665c4], eax
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000c337
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c32d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov word [ebp - 0x814], ax
mov dword [ebp - 0x800], 7
mov dword [ebp - 0x804], eax
cmp edx, 8
jb 0x1000c38a
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c380
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c404
push edx
push ecx
call fcn.10028ef0
add esp, 8
xor eax, eax
jmp 0x1000b9d0
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 7
mov word [ebp - 0x814], ax
cmp edx, 8
jb 0x1000b9cd
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b9c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000b9c3
call fcn.1002d5ef
call fcn.10001350
push str.invalid_stoi_argument
call fcn.100126fe
push str.stoi_argument_out_of_range
call fcn.1001273e
int3