Function at 0x45a72c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
push edi
mov eax, 0x795ef4
call fcn.0074df70
mov dword [ebp - 0x78], 2
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.00453ca4
add dword [ebp - 0x78], 2
mov word [ebp - 0x84], 0xc
mov word [ebp - 0x84], 0x18
lea eax, [ebp + 0x10]
call fcn.00454d64
test al, al
je 0x45a7e6
mov word [ebp - 0x84], 0x24
mov edx, 0x792e36
lea eax, [ebp - 0xc]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.0045381c
mov eax, dword [ebp + 8]
mov word [ebp - 0x84], 0x30
push eax
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.004537c8
pop eax
mov word [ebp - 0x84], 0x18
mov edx, dword [ebp - 0x94]
mov dword fs:[0], edx
jmp 0x45b043
mov word [ebp - 0x84], 0xc
jmp 0x45a7ff
mov word [ebp - 0x84], 0x48
lea eax, [ebp - 4]
call fcn.00453790
mov edx, eax
add dword [ebp - 0x78], 2
lea eax, [ebp + 0x10]
call fcn.0045b04c
mov word [ebp - 0x84], 0xc
mov byte [ebp - 0x95], 0
mov word [ebp - 0x84], 0x54
lea eax, [ebp - 8]
call fcn.00453790
add dword [ebp - 0x78], 2
mov word [ebp - 0x84], 0xc
mov word [ebp - 0x84], 0x60
lea eax, [ebp - 0x10]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 4]
call fcn.00453fa4
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00454564
lea edx, [ebp - 0x10]
push edx
mov edx, 0x792e37
lea eax, [ebp - 0x14]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x14]
pop eax
call fcn.00456b5c
push eax
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004537c8
pop ecx
test cl, cl
je 0x45a9fd
mov word [ebp - 0x84], 0x78
lea eax, [ebp - 0x18]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 4]
call fcn.00453fa4
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 2
call fcn.00454564
mov word [ebp - 0x84], 0x6c
mov word [ebp - 0x84], 0x84
mov edx, 0x792e39
lea eax, [ebp - 0x1c]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.0045a0dc
mov dword [ebp - 0x9c], eax
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x6c
cmp dword [ebp - 0x9c], 0
jle 0x45a9e3
mov word [ebp - 0x84], 0x90
lea eax, [ebp - 0x20]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 0x18]
call fcn.00453fa4
mov ecx, eax
mov edx, dword [ebp - 0x9c]
inc edx
lea eax, [ebp - 0x18]
call fcn.00454564
lea edx, [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x9c
lea eax, [ebp - 0x24]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
mov ecx, dword [ebp - 0x9c]
dec ecx
lea eax, [ebp - 0x18]
mov edx, 1
call fcn.00454564
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004537c8
mov byte [ebp - 0x95], 1
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xc
mov word [ebp - 0x84], 0xa8
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x742], 0
je 0x45ae5f
mov word [ebp - 0x84], 0xc0
mov edx, str._SYSTEMROOT_SYSTEM32
lea eax, [ebp - 0x28]
call fcn.004539c4
add dword [ebp - 0x78], 2
mov word [ebp - 0x84], 0xb4
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.0045a0dc
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jle 0x45ab4d
mov word [ebp - 0x84], 0xd8
lea eax, [ebp - 0x30]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 4]
call fcn.00453fa4
push eax
lea eax, [ebp - 0x28]
call fcn.00453fa4
mov edx, eax
add edx, dword [ebp - 0xa0]
inc edx
lea eax, [ebp - 4]
pop ecx
call fcn.00454564
lea edx, [ebp - 0x30]
push dword [edx]
lea eax, [ebp - 0x2c]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
call fcn.0045b6c8
add esp, 8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xcc
lea eax, [ebp - 0x2c]
call fcn.00454d64
test al, al
je 0x45ab23
push 0x104
lea edx, [ebp - 0x2b4]
push edx
lea eax, [ebp - 4]
call fcn.00453ce0
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x84], 0xe4
lea edx, [ebp - 0x2b4]
lea eax, [ebp - 0x34]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004537c8
jmp 0x45ab2e
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xb4
jmp 0x45ae45
mov word [ebp - 0x84], 0xfc
mov edx, str._PROGRAMFILES_
lea eax, [ebp - 0x38]
call fcn.004539c4
add dword [ebp - 0x78], 2
mov word [ebp - 0x84], 0xf0
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.0045a0dc
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jle 0x45ac87
mov word [ebp - 0x84], 0x114
push dword [ebp - 0x38]
lea eax, [ebp - 0x40]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 4]
call fcn.00453fa4
push eax
lea eax, [ebp - 0x38]
call fcn.00453fa4
mov edx, eax
add edx, dword [ebp - 0xa4]
inc edx
lea eax, [ebp - 4]
pop ecx
call fcn.00454564
lea edx, [ebp - 0x40]
push dword [edx]
lea eax, [ebp - 0x3c]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
call fcn.0045b104
add esp, 0xc
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x108
lea eax, [ebp - 0x3c]
call fcn.00454d64
test al, al
je 0x45ac5d
push 0x208
lea edx, [ebp - 0x2b4]
push edx
lea eax, [ebp - 4]
call fcn.00453ce0
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x84], 0x120
lea edx, [ebp - 0x2b4]
lea eax, [ebp - 0x44]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x44]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004537c8
jmp 0x45ac68
lea edx, [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xf0
jmp 0x45ae2b
mov word [ebp - 0x84], 0x12c
mov edx, str._COMMONPROGRAMFILES_
lea eax, [ebp - 0x48]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x38]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004537c8
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.0045a0dc
mov dword [ebp - 0xa8], eax
mov word [ebp - 0x84], 0xf0
cmp dword [ebp - 0xa8], 0
jle 0x45adda
mov word [ebp - 0x84], 0x144
push dword [ebp - 0x38]
lea eax, [ebp - 0x50]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 4]
call fcn.00453fa4
push eax
lea eax, [ebp - 0x38]
call fcn.00453fa4
mov edx, eax
add edx, dword [ebp - 0xa8]
inc edx
lea eax, [ebp - 4]
pop ecx
call fcn.00454564
lea edx, [ebp - 0x50]
push dword [edx]
lea eax, [ebp - 0x4c]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
call fcn.0045b104
add esp, 0xc
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x138
lea eax, [ebp - 0x4c]
call fcn.00454d64
test al, al
je 0x45adb3
push 0x208
lea edx, [ebp - 0x2b4]
push edx
lea eax, [ebp - 4]
call fcn.00453ce0
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x84], 0x150
lea edx, [ebp - 0x2b4]
lea eax, [ebp - 0x54]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x54]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004537c8
jmp 0x45adbe
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xf0
jmp 0x45ae2b
push 0x208
lea ecx, [ebp - 0x2b4]
push ecx
lea eax, [ebp - 4]
call fcn.00453ce0
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x84], 0x15c
lea edx, [ebp - 0x2b4]
lea eax, [ebp - 0x58]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x58]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xb4
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xa8
mov word [ebp - 0x84], 0x168
mov edx, 0x792e75
lea eax, [ebp - 0x5c]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x5c]
lea eax, [ebp - 4]
call fcn.0045a0dc
test eax, eax
setg cl
and ecx, 1
push ecx
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004537c8
pop ecx
test cl, cl
je 0x45aef4
push 0x208
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 4]
call fcn.00453ce0
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov word [ebp - 0x84], 0x174
lea edx, [ebp - 0x2b4]
lea eax, [ebp - 0x60]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x60]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004537c8
cmp byte [ebp - 0x95], 0
je 0x45afbb
mov word [ebp - 0x84], 0x180
lea eax, [ebp - 0x64]
call fcn.00453790
mov ecx, eax
add dword [ebp - 0x78], 2
lea edx, [ebp - 4]
mov eax, 0x792e77
call fcn.00453df0
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x6c]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
mov edx, 0x792e79
lea eax, [ebp - 0x68]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x68]
pop ecx
pop eax
call fcn.00453d6c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
call fcn.00453790
mov ecx, eax
add dword [ebp - 0x78], 2
lea edx, [ebp - 8]
pop eax
call fcn.00453d6c
lea edx, [ebp - 0x70]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xc
jmp 0x45afd4
mov word [ebp - 0x84], 0x198
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0045381c
mov eax, dword [ebp + 8]
mov word [ebp - 0x84], 0x1a4
push eax
sub dword [ebp - 0x78], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.004537c8
pop eax
mov word [ebp - 0x84], 0x198
add dword [ebp - 0x78], 2
mov edx, dword [ebp - 0x94]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret