Function at 0x10009070
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004dabe
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x10060080]
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
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x804], 0
movups xmmword [ebp - 0x814], xmm0
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.1000c2d0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x10009466
push 0x10058ee0
call fcn.1000c2d0
cmp eax, 0xffffffff
je 0x10009362
lea edx, [eax + 1]
mov dword [ebp - 0x89c], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x898], 0
movups xmmword [ebp - 0x8ac], xmm0
cmp eax, edx
jb 0x10009ade
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007a30
mov ecx, dword [ebp - 0x800]
cmp ecx, 7
jbe 0x10009190
mov edx, dword [ebp - 0x814]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009186
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
mov edx, dword [0x10060bf0]
movups xmmword [ebp - 0x814], xmm0
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
cmp edx, 0x1f4
jb 0x100091e4
cmp dword [0x10060bf4], 7
mov eax, 0x10060be0
mov dword [0x10060bf0], 0x1f4
cmova eax, dword [0x10060be0]
xor ecx, ecx
mov word [eax + 0x3e8], cx
jmp 0x1000924a
mov edi, dword [0x10060bf4]
mov ecx, 0x1f4
mov eax, edi
sub ecx, edx
sub eax, edx
cmp ecx, eax
ja 0x1000922f
cmp edi, 7
mov dword [0x10060bf0], 0x1f4
mov esi, 0x10060be0
cmova esi, dword [0x10060be0]
lea edi, [esi + edx*2]
test ecx, ecx
je 0x10009224
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [esi + 0x3e8], ax
jmp 0x1000924a
push 0
push ecx
mov byte [ebp - 0x894], 0
push dword [ebp - 0x894]
push ecx
mov ecx, 0x10060be0
call fcn.1000d2e0
push 0x1f4
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1002b190
add esp, 0xc
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x890]
call fcn.10002030
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.10005520
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x848]
mov ecx, esp
push eax
call fcn.10005520
lea edx, [ebp - 0x414]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.1000e850
add esp, 0x34
test eax, eax
je 0x100092d5
push 0x1388
call edi
jmp 0x1000927b
push 0x3e8
lea eax, [ebp - 0x7fc]
push 0
push eax
call fcn.1002b190
push 0x1f4
lea eax, [ebp - 0x414]
push eax
push 0x1f4
lea eax, [ebp - 0x7fc]
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.1002f220
add esp, 0x20
test eax, eax
je 0x100093d4
lea ecx, [ebp - 0x890]
call fcn.10002840
mov ecx, dword [ebp - 0x800]
cmp ecx, 7
jbe 0x10009362
mov edx, dword [ebp - 0x814]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009358
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov word [ebp - 0x814], ax
mov dword [ebp - 0x800], 7
mov dword [ebp - 0x804], eax
cmp ecx, 7
jbe 0x100093b5
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100093ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
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.10029203
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x7fc]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100093e0
mov eax, dword [0x10060bf4]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x10009437
cmp eax, 7
mov dword [0x10060bf0], ecx
lea esi, [ecx + ecx]
mov edi, 0x10060be0
cmova edi, dword [0x10060be0]
lea eax, [ebp - 0x7fc]
push esi
push eax
push edi
call fcn.1002ac00
add esp, 0xc
lea ecx, [ebp - 0x890]
xor eax, eax
mov word [esi + edi], ax
call fcn.10002840
jmp 0x100099ee
lea eax, [ebp - 0x7fc]
mov byte [ebp - 0x894], 0
push eax
push dword [ebp - 0x894]
push ecx
mov ecx, 0x10060be0
call fcn.10005e70
lea ecx, [ebp - 0x890]
call fcn.10002840
jmp 0x100099ee
push 0x10058ee4
call fcn.1000c2d0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x10009681
push 0x10058ee0
call fcn.1000c2d0
cmp eax, 0xffffffff
je 0x10009362
lea edx, [eax + 1]
mov dword [ebp - 0x89c], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x898], 0
movups xmmword [ebp - 0x8ac], xmm0
cmp eax, edx
jb 0x10009ade
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007a30
mov ecx, dword [ebp - 0x800]
cmp ecx, 7
jbe 0x1000951f
mov edx, dword [ebp - 0x814]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009515
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
mov edx, dword [0x10060b78]
movups xmmword [ebp - 0x814], xmm0
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
cmp edx, 0x105
jb 0x10009573
cmp dword [0x10060b7c], 7
mov eax, 0x10060b68
mov dword [0x10060b78], 0x105
cmova eax, dword [0x10060b68]
xor ecx, ecx
mov word [eax + 0x20a], cx
jmp 0x100095d9
mov edi, dword [0x10060b7c]
mov ecx, 0x105
mov eax, edi
sub ecx, edx
sub eax, edx
cmp ecx, eax
ja 0x100095be
cmp edi, 7
mov dword [0x10060b78], 0x105
mov esi, 0x10060b68
cmova esi, dword [0x10060b68]
lea edi, [esi + edx*2]
test ecx, ecx
je 0x100095b3
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [esi + 0x20a], ax
jmp 0x100095d9
push 0
push ecx
mov byte [ebp - 0x894], 0
push dword [ebp - 0x894]
push ecx
mov ecx, 0x10060b68
call fcn.1000d2e0
cmp dword [ebp - 0x800], 7
lea ecx, [ebp - 0x220]
push 0x104
lea eax, [ebp - 0x814]
cmova eax, dword [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10009322
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009611
mov eax, dword [0x10060b7c]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x1000965d
cmp eax, 7
mov dword [0x10060b78], ecx
lea esi, [ecx + ecx]
mov edi, 0x10060b68
cmova edi, dword [0x10060b68]
lea eax, [ebp - 0x220]
push esi
push eax
push edi
call fcn.1002ac00
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
jmp 0x100099ee
lea eax, [ebp - 0x220]
mov byte [ebp - 0x894], 0
push eax
push dword [ebp - 0x894]
push ecx
mov ecx, 0x10060b68
call fcn.10005e70
jmp 0x100099ee
push str.only_upload_location
call fcn.1000c2d0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x100098a0
push 0x10058ee0
call fcn.1000c2d0
cmp eax, 0xffffffff
je 0x10009362
lea edx, [eax + 1]
mov dword [ebp - 0x89c], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x898], 0
movups xmmword [ebp - 0x8ac], xmm0
cmp eax, edx
jb 0x10009ade
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007a30
mov ecx, dword [ebp - 0x800]
cmp ecx, 7
jbe 0x1000973a
mov edx, dword [ebp - 0x814]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009730
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
mov edx, dword [0x10060b90]
movups xmmword [ebp - 0x814], xmm0
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
cmp edx, 0x105
jb 0x1000978e
cmp dword [0x10060b94], 7
mov eax, 0x10060b80
mov dword [0x10060b90], 0x105
cmova eax, dword [0x10060b80]
xor ecx, ecx
mov word [eax + 0x20a], cx
jmp 0x100097f4
mov edi, dword [0x10060b94]
mov ecx, 0x105
mov eax, edi
sub ecx, edx
sub eax, edx
cmp ecx, eax
ja 0x100097d9
cmp edi, 7
mov dword [0x10060b90], 0x105
mov esi, 0x10060b80
cmova esi, dword [0x10060b80]
lea edi, [esi + edx*2]
test ecx, ecx
je 0x100097ce
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [esi + 0x20a], ax
jmp 0x100097f4
push 0
push ecx
mov byte [ebp - 0x894], 0
push dword [ebp - 0x894]
push ecx
mov ecx, 0x10060b80
call fcn.1000d2e0
cmp dword [ebp - 0x800], 7
lea ecx, [ebp - 0x220]
push 0x104
lea eax, [ebp - 0x814]
cmova eax, dword [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10009322
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009830
mov eax, dword [0x10060b94]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x1000987c
cmp eax, 7
mov dword [0x10060b90], ecx
lea esi, [ecx + ecx]
mov edi, 0x10060b80
cmova edi, dword [0x10060b80]
lea eax, [ebp - 0x220]
push esi
push eax
push edi
call fcn.1002ac00
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x100099ee
lea eax, [ebp - 0x220]
mov byte [ebp - 0x894], 0
push eax
push dword [ebp - 0x894]
push ecx
mov ecx, 0x10060b80
call fcn.10005e70
jmp 0x100099ee
push str.sleep
call fcn.1000c2d0
cmp eax, 0xffffffff
je 0x10009a84
push ecx
push 0x10058ee0
lea ecx, [ebp + 8]
call fcn.1000c2d0
cmp eax, 0xffffffff
je 0x10009362
lea edx, [eax + 1]
mov dword [ebp - 0x89c], 0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x898], 0
movups xmmword [ebp - 0x8ac], xmm0
cmp eax, edx
jb 0x10009ade
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8ac]
lea eax, [eax + edx*2]
push eax
call fcn.10007a30
mov ecx, dword [ebp - 0x800]
cmp ecx, 7
jbe 0x10009959
mov edx, dword [ebp - 0x814]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000994f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
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.1002ef65
cmp dword [ebp - 0x800], 7
lea esi, [ebp - 0x814]
mov edi, eax
lea eax, [ebp - 0x894]
cmova esi, dword [ebp - 0x814]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.1002ede5
add esp, 0xc
cmp esi, dword [ebp - 0x894]
je 0x10009ae3
cmp dword [edi], 0x22
je 0x10009aed
jmp 0x100099e3
imul eax, eax, 0x3e8
mov dword [0x100634ac], eax
mov ecx, dword [ebp - 0x800]
cmp ecx, 7
jbe 0x10009a2e
mov edx, dword [ebp - 0x814]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009a24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov word [ebp - 0x814], ax
mov dword [ebp - 0x800], 7
mov dword [ebp - 0x804], eax
cmp ecx, 7
jbe 0x10009a7d
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009a73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009ad9
push ecx
push edx
call fcn.10029234
add esp, 8
xor eax, eax
jmp 0x100093b8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x800], 7
mov word [ebp - 0x814], ax
cmp ecx, 7
jbe 0x100093b5
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100093ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100093ab
call fcn.1002e33f
call fcn.10001220
push str.invalid_stoi_argument
call fcn.1001057a
push str.stoi_argument_out_of_range
call fcn.100105ba
int3