Function at 0x40dd90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x70], 0xca0b
mov dword [ebp - 0xc], 0x501c
mov dword [ebp - 0x94], 0x56a8
mov dword [ebp - 0x74], 0x124ac
mov dword [ebp - 0x18], 0x5dde
mov dword [ebp - 0x78], 0x13195
mov dword [ebp - 0x30], 0x15e9e
mov dword [ebp - 0x38], 0x78b2
mov dword [ebp - 0x20], 0x61ba
mov dword [ebp - 0x34], 0xd564
mov dword [ebp - 0x68], 0xd437
mov dword [ebp - 0x6c], 0xa85a
mov dword [ebp - 8], 0x5d81
mov dword [ebp - 0x14], 0x36e1
mov dword [ebp - 0x50], 0xcca6
mov dword [ebp - 0x3c], 0x140ce
mov dword [ebp - 0x88], 0x133d
mov dword [ebp - 0x1c], 0x13830
mov dword [ebp - 0x10], 0xc82d
mov dword [ebp - 0x24], 0xfdd0
mov dword [ebp - 0x7c], 0x7a46
mov dword [ebp - 4], 0x2e29
mov dword [ebp - 0x28], 0x3a34
mov dword [ebp - 0x40], 0x1108f
mov dword [ebp - 0x2c], 0
jmp 0x40de59
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x78]
sub ecx, 0x13194
cmp dword [ebp - 0x2c], ecx
jge 0x40e0cc
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x50]
jge 0x40de7c
mov dword [ebp - 0x4c], 1
jmp 0x40de83
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 4]
jge 0x40de94
mov dword [ebp - 0x44], 1
jmp 0x40de9b
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x30]
and ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x1c]
jge 0x40deaf
mov dword [ebp - 0x48], 1
jmp 0x40deb6
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x44]
and edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x4c]
je 0x40e0c7
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x84]
jge 0x40e0c7
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x24]
jne 0x40e0c7
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jne 0x40e0c7
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x68]
jne 0x40e0c7
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x38]
jne 0x40e0c7
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jge 0x40e0c7
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x30]
jge 0x40df4c
mov dword [ebp - 0x5c], 1
jmp 0x40df53
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x88]
xor edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x28]
jge 0x40df6a
mov dword [ebp - 0x54], 1
jmp 0x40df71
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x3c]
jge 0x40df82
mov dword [ebp - 0x58], 1
jmp 0x40df89
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x54]
and ecx, dword [ebp - 0x58]
or ecx, dword [ebp - 0x5c]
je 0x40e0c7
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x10]
jne 0x40e0c7
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jne 0x40e0c7
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x14]
jne 0x40e0c7
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jne 0x40e0c7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jne 0x40e0c7
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [ebp - 0x90]
jge 0x40e00c
mov dword [ebp - 0x60], 1
jmp 0x40e013
mov dword [ebp - 0x60], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xc]
jge 0x40e02d
mov dword [ebp - 0x64], 1
jmp 0x40e034
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
sub edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x60]
and eax, dword [ebp - 0x64]
or eax, edx
je 0x40e096
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x74]
jne 0x40e096
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x6c]
jne 0x40e096
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 8]
jne 0x40e096
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 8]
jne 0x40e096
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jne 0x40e096
push 0x7455
push 0x139c5
push 0x14e8e
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
add esp, 0xc
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
push 0x2fa2
push 0x1350c
push 0x1062f
push 0xaed1
push 0x1f18
push 0xf2e7
push 0xf68f
push 0x10d05
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
add esp, 0x20
jmp 0x40de50
mov ecx, dword [ebp - 0x74]
add ecx, 0x1641
push ecx
call fcn.0041f7b0
add esp, 4
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x78]
and eax, dword [ebp - 0x7c]
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x3c]
or eax, ecx
je 0x40e10e
mov edx, dword [ebp - 0x24]
and edx, dword [ebp - 0x40]
je 0x40e10e
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov esp, ebp
pop ebp
ret