Function at 0x1000dd36
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ddee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000dd82
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push 0
push 0x1385
push 0x2fd7
call fcn.10015579
add esp, 0x10
jmp 0x1000e077
lea eax, [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0x1c7c
cmp dword [ebp - 0x50], 0x689
jge 0x1000df36
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x10078c70
call fcn.100053e9
mov ecx, eax
call fcn.100053e9
push dword [ebp - 0x30]
mov ecx, 0x1010c4d0
call fcn.1001740b
and dword [ebp - 0x2c], 0
jmp 0x1000ddcf
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jge 0x1000ddf1
push dword [ebp - 0x2c]
mov ecx, 0x1010c4d0
call fcn.10005887
push eax
mov ecx, 0x10078c70
call fcn.100053e9
jmp 0x1000ddc8
push 4
pop eax
imul eax, eax, 0
and dword [eax + 0x10079cf8], 0
mov dword [ebp - 0x1c], 1
jmp 0x1000de0e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jge 0x1000de3d
mov eax, dword [ebp - 0x1c]
dec eax
push eax
mov ecx, 0x1010c4d0
call fcn.10005887
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx*4 + 0x10079cf4]
add ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [eax*4 + 0x10079cf8], ecx
jmp 0x1000de07
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
jmp 0x1000de4c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x30]
jg 0x1000de8f
mov eax, dword [ebp - 0x18]
dec eax
push eax
mov ecx, 0x1010c4d0
call fcn.10005887
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx*4 + 0x10079cf4]
add esi, dword [eax]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
dec eax
push eax
mov ecx, 0x1010c4d0
call fcn.10005887
sub esi, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [eax*4 + 0x10079cf8], esi
jmp 0x1000de45
mov dword [ebp - 0x44], 0x3b9aca00
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
jmp 0x1000dea9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jg 0x1000ded5
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x10079cf8]
cmp eax, dword [ebp - 0x44]
jge 0x1000ded3
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x10079cf8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
jmp 0x1000dea2
cmp dword [ebp - 0x28], 0
jne 0x1000def5
push fcn.100097f9
push 1
mov ecx, 0x10078bb8
call fcn.100171aa
mov ecx, eax
call fcn.100055d8
jmp 0x1000df36
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jge 0x1000df18
push fcn.100097f9
push dword [ebp - 0x28]
mov ecx, 0x10078bb8
call fcn.100171aa
mov ecx, eax
call fcn.100055d8
jmp 0x1000df36
push fcn.100097f9
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x24]
inc eax
push eax
mov ecx, 0x10078bb8
call fcn.100171aa
mov ecx, eax
call fcn.100055d8
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1000df5c
push 1
push 0x16d6
push 0x17f7
push 0x2482
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x1000e077
mov dword [ebp - 0x48], 0x7512
mov dword [ebp - 0x5c], str.uhoxzmavh_afqkoj_xzazsk_rzcao_joc_bkbd_mmhwa_mopolhbg_fvmoty_cyca
cmp dword [ebp - 0x48], 0x76c9
jle 0x1000e023
and dword [ebp - 0x40], 0
jmp 0x1000df84
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x32dd
jge 0x1000e023
and dword [ebp - 0x3c], 0
jmp 0x1000df9e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x6826
jge 0x1000e01e
and dword [ebp - 0x34], 0
jmp 0x1000dfb4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x80e
jge 0x1000e019
and dword [ebp - 0x38], 0
jmp 0x1000dfca
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1d80
jge 0x1000e017
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov eax, dword [ebp - 0x40]
shl eax, cl
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.10001ace
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.100053c9
push eax
call fcn.1004699c
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.10005329
jmp 0x1000dfc3
jmp 0x1000dfad
jmp 0x1000df97
jmp 0x1000df7d
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000e03b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x715a
jge 0x1000e051
push dword [ebp - 0x5c]
call fcn.1004699c
pop ecx
jmp 0x1000e06d
or dword [ebp - 4], 0xffffffff
jmp 0x1000e077
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret