Function at 0x10008c10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a2fe
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x10060058]
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.1000bcf0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x10008fc1
push 0x10059b88
call fcn.1000bcf0
cmp eax, 0xffffffff
je 0x10008f13
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 0x100095cb
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.100072c0
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x10008d33
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008d29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
mov esi, dword [0x10060b60]
movups xmmword [ebp - 0x814], xmm0
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
cmp esi, 0x1f4
jb 0x10008d87
cmp dword [0x10060b64], 8
mov eax, 0x10060b50
mov dword [0x10060b60], 0x1f4
cmovae eax, dword [0x10060b50]
xor ecx, ecx
mov word [eax + 0x3e8], cx
jmp 0x10008dfb
mov ecx, dword [0x10060b64]
mov edx, 0x1f4
mov eax, ecx
sub edx, esi
sub eax, esi
cmp edx, eax
ja 0x10008de0
cmp ecx, 8
mov dword [0x10060b60], 0x1f4
mov eax, 0x10060b50
cmovae eax, dword [0x10060b50]
mov dword [ebp - 0x894], eax
lea edi, [eax + esi*2]
test edx, edx
je 0x10008dcf
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x894]
lea eax, [edx + esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x10008dfb
push 0
push edx
mov byte [ebp - 0x894], 0
mov ecx, 0x10060b50
push dword [ebp - 0x894]
push edx
call fcn.1000cac0
push 0x1f4
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100291d0
add esp, 0xc
lea edx, [ebp - 0x814]
lea ecx, [ebp - 0x890]
call fcn.10002130
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.10005470
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x848]
mov ecx, esp
push eax
call fcn.10005470
lea edx, [ebp - 0x414]
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.1000dd00
add esp, 0x34
test eax, eax
je 0x10008e86
push 0x1388
call edi
jmp 0x10008e2c
push 0x3e8
lea eax, [ebp - 0x7fc]
push 0
push eax
call fcn.100291d0
push 0x1f4
lea eax, [ebp - 0x414]
push eax
push 0x1f4
lea eax, [ebp - 0x7fc]
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.1002c845
add esp, 0x20
test eax, eax
je 0x10008f85
lea ecx, [ebp - 0x890]
call fcn.10002650
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x10008f13
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008f09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
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 0x10008f66
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008f5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
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.1002736e
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x7fc]
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10008f90
sub edx, ecx
lea eax, [ebp - 0x7fc]
sar edx, 1
mov ecx, 0x10060b50
push edx
push eax
call fcn.100072c0
lea ecx, [ebp - 0x890]
call fcn.10002650
jmp 0x100094b9
push 0x10059b8c
call fcn.1000bcf0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x100091a6
push 0x10059b88
call fcn.1000bcf0
cmp eax, 0xffffffff
je 0x10008f13
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 0x100095cb
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.100072c0
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x1000907d
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10009073
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
mov esi, dword [0x10060ae8]
movups xmmword [ebp - 0x814], xmm0
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
cmp esi, 0x105
jb 0x100090d1
cmp dword [0x10060aec], 8
mov eax, 0x10060ad8
mov dword [0x10060ae8], 0x105
cmovae eax, dword [0x10060ad8]
xor ecx, ecx
mov word [eax + 0x20a], cx
jmp 0x10009145
mov ecx, dword [0x10060aec]
mov edx, 0x105
mov eax, ecx
sub edx, esi
sub eax, esi
cmp edx, eax
ja 0x1000912a
cmp ecx, 8
mov dword [0x10060ae8], 0x105
mov eax, 0x10060ad8
cmovae eax, dword [0x10060ad8]
mov dword [ebp - 0x894], eax
lea edi, [eax + esi*2]
test edx, edx
je 0x10009119
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x894]
lea eax, [edx + esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x10009145
push 0
push edx
mov byte [ebp - 0x894], 0
mov ecx, 0x10060ad8
push dword [ebp - 0x894]
push edx
call fcn.1000cac0
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 0x10008ed3
lea edx, [ebp - 0x220]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10009180
sub edx, ecx
lea eax, [ebp - 0x220]
sar edx, 1
mov ecx, 0x10060ad8
push edx
push eax
call fcn.100072c0
jmp 0x100094b9
push str.only_upload_location
call fcn.1000bcf0
push ecx
lea ecx, [ebp + 8]
cmp eax, 0xffffffff
je 0x10009388
push 0x10059b88
call fcn.1000bcf0
cmp eax, 0xffffffff
je 0x10008f13
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 0x100095cb
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.100072c0
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x10009262
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10009258
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
add esp, 8
movups xmm0, xmmword [ebp - 0x8ac]
mov esi, dword [0x10060b00]
movups xmmword [ebp - 0x814], xmm0
movq xmm0, qword [ebp - 0x89c]
movq qword [ebp - 0x804], xmm0
cmp esi, 0x105
jb 0x100092b6
cmp dword [0x10060b04], 8
mov eax, 0x10060af0
mov dword [0x10060b00], 0x105
cmovae eax, dword [0x10060af0]
xor ecx, ecx
mov word [eax + 0x20a], cx
jmp 0x1000932a
mov ecx, dword [0x10060b04]
mov edx, 0x105
mov eax, ecx
sub edx, esi
sub eax, esi
cmp edx, eax
ja 0x1000930f
cmp ecx, 8
mov dword [0x10060b00], 0x105
mov eax, 0x10060af0
cmovae eax, dword [0x10060af0]
mov dword [ebp - 0x894], eax
lea edi, [eax + esi*2]
test edx, edx
je 0x100092fe
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x894]
lea eax, [edx + esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x1000932a
push 0
push edx
mov byte [ebp - 0x894], 0
mov ecx, 0x10060af0
push dword [ebp - 0x894]
push edx
call fcn.1000cac0
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 0x10008ed3
lea edx, [ebp - 0x220]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10009362
sub edx, ecx
lea eax, [ebp - 0x220]
sar edx, 1
mov ecx, 0x10060af0
push edx
push eax
call fcn.100072c0
jmp 0x100094b9
push str.sleep
call fcn.1000bcf0
cmp eax, 0xffffffff
je 0x10009571
push ecx
push 0x10059b88
lea ecx, [ebp + 8]
call fcn.1000bcf0
cmp eax, 0xffffffff
je 0x10008f13
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 0x100095cb
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.100072c0
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x10009444
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000943a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
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.1002c5af
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.1002c50c
add esp, 0xc
cmp esi, dword [ebp - 0x894]
je 0x100095d0
cmp dword [edi], 0x22
je 0x100095da
imul eax, eax, 0x3e8
mov dword [0x100635dc], eax
mov edx, dword [ebp - 0x800]
cmp edx, 8
jb 0x100094f9
mov ecx, dword [ebp - 0x814]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100094ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
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 0x1000954c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10009542
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100095c6
push edx
push ecx
call fcn.1002739f
add esp, 8
xor eax, eax
jmp 0x10008f69
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 0x10008f66
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10008f5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008f5c
call fcn.1002ba9f
call fcn.10001350
push str.invalid_stoi_argument
call fcn.1000f8c4
push str.stoi_argument_out_of_range
call fcn.1000f904
int3