Function at 0x436550
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443885
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
xorps xmm0, xmm0
mov dword [0x44f9fc], 0
push edi
push 0x20
movq qword [0x44f9f4], xmm0
movups xmmword [ebp - 0x2c], xmm0
call fcn.0044250f
movups xmm0, xmmword [str.INTERIUMCS16Ext_]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0x12
movups xmmword [eax], xmm0
mov cx, word [0x44a1d8]
mov word [eax + 0x10], cx
mov dword [ebp - 0x18], 0x1f
mov byte [eax + 0x12], 0
push str.appdata
mov dword [ebp - 4], 0
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
mov dword [ebp - 0x34], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
add esp, 8
movups xmmword [ebp - 0x44], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4365e8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00440310
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
call fcn.00440940
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x43664a
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x436640
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436877
push ecx
push edx
call fcn.0044248d
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x436682
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x436678
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436877
push ecx
push edx
call fcn.0044248d
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
sub esp, 0x18
lea esi, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x10], esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [0x44a1e4]
mov dword [ecx], eax
mov ax, word [0x44a1e8]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.0043f290
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00436240
mov eax, dword [ebp - 0x20]
add esp, 0x30
mov edi, dword [ebp - 0x1c]
cmp eax, edi
je 0x4367b1
mov esi, eax
nop dword [eax + eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x43670a
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436727
sub ecx, dword [ebp - 0x10]
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00440310
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
mov eax, dword [0x44f9f8]
push ecx
cmp eax, dword [0x44f9fc]
je 0x436760
mov ecx, eax
call fcn.0043f290
add dword [0x44f9f8], 0x18
jmp 0x43676b
push eax
mov ecx, 0x44f9f4
call fcn.004416f0
mov byte [ebp - 4], 5
add esi, 0x18
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x4367a6
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43679c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436877
push ecx
push edx
call fcn.0044248d
add esp, 8
cmp esi, edi
jne 0x436700
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x436851
mov esi, eax
cmp esi, edi
je 0x43680e
nop
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x4367f3
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4367e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436877
mov eax, edx
push ecx
push eax
call fcn.0044248d
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x4367c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x20]
lea ecx, [eax + eax*2]
mov eax, edx
shl ecx, 3
cmp ecx, 0x1000
jb 0x436847
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436877
push ecx
push edx
call fcn.0044248d
add esp, 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x436887
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43687d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43687d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044248d
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret