Function at 0x46dc00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c03e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
push 0
push 0
lea ecx, [ebp - 0x60]
call fcn.0040be90
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004626e0
add esp, 8
mov dword [ebp - 0x48], 0x7fff
xor ecx, ecx
mov eax, 0x7fff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004397c5
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x4c], 8
jb 0x46dca5
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x14], ecx
jmp 0x46dcab
lea edx, [ebp - 0x60]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x46ddbc
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
cmp dword [ebp - 0x18], ecx
jae 0x46ddbc
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x48]
jb 0x46dd04
push 0x69
push str.C:JenkinsworkspaceClientBuild_SonicUnleashedHappyCloudServicepoco_1.4.1p1FoundationincludePoco_Buffer.h
push str.index____size
call fcn.00438ad0
add esp, 0xc
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov word [ecx + eax*2], dx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
push 0
push 0
lea ecx, [ebp - 0x78]
call fcn.004054b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00462c70
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004054b0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp + 8]
call fcn.004051e0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.004054b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0043d95c
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.0040be90
mov eax, dword [ebp + 8]
jmp 0x46de50
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.004054b0
mov eax, dword [0x48db58]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405240
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0043d95c
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.0040be90
mov eax, dword [ebp + 8]
jmp 0x46de50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret