Function at 0x40bd50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x6c], 0x50
mov dword [ebp - 0x58], 0x21
mov dword [ebp - 0x64], 0x60
mov dword [ebp - 0xc], 0x1c
mov dword [ebp - 0x70], 0x25
mov dword [ebp - 4], 0x61
mov dword [ebp - 0x1c], 0x23
mov dword [ebp - 8], 0x60
mov dword [ebp - 0x74], 0x47
mov dword [ebp - 0x78], 0x3e
mov dword [ebp - 0x7c], 0x2c
mov dword [ebp - 0x48], 0x19
mov dword [ebp - 0x3c], 0x1f
mov dword [ebp - 0x4c], 0x39
mov dword [ebp - 0x80], 0x3a
mov dword [ebp - 0x84], 0x2c
mov dword [ebp - 0x44], 0xa
mov dword [ebp - 0x40], 0x3a
mov dword [ebp - 0x88], 0x47
mov dword [ebp - 0x8c], 0x44
mov dword [ebp - 0x30], 0x44
mov dword [ebp - 0x90], 0x26
mov dword [ebp - 0x68], 0x24
mov dword [ebp - 0x50], 0x60
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x14], 0
jmp 0x40be26
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
sub ecx, 0x186ac
cmp dword [ebp - 0x14], ecx
jge 0x40bead
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x3c]
jge 0x40be45
mov dword [ebp - 0x24], 1
jmp 0x40be4c
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x10]
jge 0x40be5d
mov dword [ebp - 0x28], 1
jmp 0x40be64
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x30]
jge 0x40be75
mov dword [ebp - 0x2c], 1
jmp 0x40be7c
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x24]
and edx, dword [ebp - 0x28]
and edx, dword [ebp - 0x2c]
je 0x40bea8
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
push 0x10eaf
push 0x1603c
push 0x15e23
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
add esp, 0xc
jmp 0x40be1d
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x30]
jge 0x40bebe
mov dword [ebp - 0x34], 1
jmp 0x40bec5
mov dword [ebp - 0x34], 0
mov edx, dword [ebp + 0x14]
sub edx, 1
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x14]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x50]
and ecx, dword [ebp - 0x34]
and ecx, eax
or ecx, dword [ebp - 0xc]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x54], 0
je 0x40bf0f
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
imul ecx, dword [ebp - 4]
test ecx, ecx
je 0x40bf0f
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], 0
jmp 0x40bf21
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x186a2
cmp dword [ebp - 0x18], ecx
jge 0x40bfc2
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x1c]
jge 0x40bf44
mov dword [ebp - 0x38], 1
jmp 0x40bf4b
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0x14]
and eax, dword [ebp - 0x58]
and eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 8]
or eax, ecx
je 0x40bf87
mov edx, dword [ebp - 8]
and edx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x60]
jge 0x40bf87
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0xfb33
push 0x8eb8
push 0x15797
push 0xdd8
push 0x8cc2
push 0x7ea0
push 0x1125f
push 0x893e
push 0x13a84
call dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x24
jmp 0x40bf18
mov ecx, dword [ebp - 0x64]
sub ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x68]
add edx, 0x30
push edx
mov eax, dword [ebp - 8]
sub eax, 0x53
push eax
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x10
push ecx
mov edx, dword [ebp + 8]
add edx, 0x4a
push edx
mov eax, dword [ebp - 0x44]
add eax, 0x59
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0x3c
push ecx
call fcn.00413a20
add esp, 0x1c
mov dword [ebp - 0x20], 0
jmp 0x40c00d
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x186a2
cmp dword [ebp - 0x20], eax
jge 0x40c045
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jge 0x40c043
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
push 0x8cee
push 0x401d
push 0x12d83
call dword [sym.imp.USER32.dll_SetTimer]
add esp, 0xc
jmp 0x40c004
mov esp, ebp
pop ebp
ret