Function at 0x4454b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518a0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x888
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
xor eax, eax
push ebx
mov word [ebp - 0x44], ax
push ecx
mov edi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
call fcn.00411b10
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], ebx
je 0x445c71
push 1
push 0x52aee8
lea edx, [ebp - 0x44]
push edx
xor eax, eax
call fcn.00411c10
cmp eax, 0xffffffff
lea eax, [ebp - 0x44]
je 0x44556d
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.00442830
add esp, 8
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
cmp dword [ebp - 0x30], 8
jb 0x44554e
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x30], edi
xor edx, edx
mov dword [ebp - 0x34], ebx
pop edi
mov word [ebp - 0x44], dx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 1
push 0x533c1c
push eax
xor eax, eax
call fcn.00411c10
cmp eax, 0xffffffff
je 0x4455c9
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.00442a90
add esp, 8
mov byte [ebp - 4], 2
mov edi, eax
lea esi, [ebp - 0x44]
call fcn.00411aa0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 8
jb 0x4455b6
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], cx
lea edi, [ecx + 7]
push 4
push 0x5349a4
lea edx, [ebp - 0x44]
push edx
xor eax, eax
call fcn.00411c10
cmp eax, 0xffffffff
je 0x44569e
mov eax, 0x528928
lea ecx, [ebp - 0x60]
call fcn.0040fae0
mov byte [ebp - 4], 3
mov eax, 0x5349a4
lea ecx, [ebp - 0x28]
call fcn.0040fae0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.004f0670
add esp, 0x10
mov byte [ebp - 4], 5
mov edi, eax
lea esi, [ebp - 0x44]
call fcn.00411aa0
mov byte [ebp - 4], 4
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x445647
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], edi
jb 0x44566e
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], edi
jb 0x445690
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], ax
mov edi, esi
push 4
push 0x5349b0
lea ecx, [ebp - 0x44]
push ecx
xor eax, eax
call fcn.00411c10
cmp eax, 0xffffffff
je 0x445773
mov eax, 0x528928
lea ecx, [ebp - 0x28]
call fcn.0040fae0
mov byte [ebp - 4], 6
mov eax, 0x5349b0
lea ecx, [ebp - 0x60]
call fcn.0040fae0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.004f0670
add esp, 0x10
mov byte [ebp - 4], 8
mov edi, eax
lea esi, [ebp - 0x44]
call fcn.00411aa0
mov byte [ebp - 4], 7
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x44571c
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x4c], edi
jb 0x445743
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], edi
jb 0x445765
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
mov edi, esi
push 3
push 0x5349bc
lea eax, [ebp - 0x44]
push eax
xor eax, eax
call fcn.00411c10
cmp eax, 0xffffffff
je 0x445848
mov eax, 0x528928
lea ecx, [ebp - 0x28]
call fcn.0040fae0
mov byte [ebp - 4], 9
mov eax, 0x5349bc
lea ecx, [ebp - 0x60]
call fcn.0040fae0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004f0670
add esp, 0x10
mov byte [ebp - 4], 0xb
mov edi, eax
lea esi, [ebp - 0x44]
call fcn.00411aa0
mov byte [ebp - 4], 0xa
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x4457f1
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x4c], edi
jb 0x445818
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], edi
jb 0x44583a
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov edi, esi
push 0xfa
lea edx, [ebp - 0x894]
push edx
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0xa
push str.SystemRoot
lea eax, [ebp - 0x44]
push eax
xor eax, eax
call fcn.00411c10
cmp eax, 0xffffffff
je 0x4458e2
push 0xffffffffffffffff
lea edx, [ebp - 0x60]
push edx
lea ecx, [eax + 0xa]
lea edx, [ebp - 0x44]
call fcn.0040fbe0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x894]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445894
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x894]
lea esi, [ebp - 0x44]
call fcn.00412b10
push ebx
lea eax, [ebp - 0x60]
push eax
or eax, 0xffffffff
call fcn.00412830
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 8
jb 0x4458d6
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ebx
mov word [ebp - 0x60], dx
push 6
push str.System
lea eax, [ebp - 0x44]
push eax
xor eax, eax
call fcn.00411c10
cmp eax, ebx
jne 0x445981
xor ecx, ecx
push ebx
lea edx, [ebp - 0x44]
mov word [ebp - 0x28], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
call fcn.00411b10
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x894]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x445925
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x894]
lea esi, [ebp - 0x44]
call fcn.00412b10
push 1
mov eax, 0x52b45c
mov ecx, esi
call fcn.00412930
push ebx
lea eax, [ebp - 0x28]
push eax
or eax, 0xffffffff
call fcn.00412830
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x445975
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
push 6
push str.system
lea eax, [ebp - 0x44]
push eax
xor eax, eax
call fcn.00411c10
cmp eax, ebx
jne 0x445a20
xor ecx, ecx
push ebx
lea edx, [ebp - 0x44]
mov word [ebp - 0x28], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
call fcn.00411b10
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x894]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4459c4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x894]
lea esi, [ebp - 0x44]
call fcn.00412b10
push 1
mov eax, 0x52b45c
mov ecx, esi
call fcn.00412930
push ebx
lea eax, [ebp - 0x28]
push eax
or eax, 0xffffffff
call fcn.00412830
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x445a14
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
push 1
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x44]
push ecx
xor eax, eax
mov dword [ebp - 0x64], 0x22
call fcn.00411c10
cmp eax, 0xffffffff
je 0x445ad2
push 0xffffffffffffffff
lea edx, [ebp - 0x80]
push edx
lea ecx, [eax + 1]
lea edx, [ebp - 0x44]
call fcn.0040fbe0
mov byte [ebp - 4], 0xf
mov edi, eax
lea esi, [ebp - 0x44]
call fcn.00411aa0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x6c], 8
jb 0x445a77
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 1
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x44]
xor ecx, ecx
push eax
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
mov dword [ebp - 0x64], 0x22
call fcn.00411c10
cmp eax, 0xffffffff
je 0x445acd
push eax
lea ecx, [ebp - 0x80]
push ecx
xor ecx, ecx
lea edx, [ebp - 0x44]
call fcn.0040fbe0
mov byte [ebp - 4], 0x10
mov edi, eax
lea esi, [ebp - 0x44]
call fcn.00411aa0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x80]
call fcn.004150b0
mov edi, 7
xor edx, edx
push 1
mov eax, 0x52b45c
lea esi, [ebp - 0x28]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], dx
call fcn.00412b10
mov byte [ebp - 4], 0x11
mov eax, esi
push eax
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004f07a0
add esp, 8
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x14], 8
jb 0x445b1d
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x94]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
cmp ecx, eax
je 0x445c2d
sub eax, ecx
mov ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea esi, [edx + ecx - 1]
mov eax, 0x52b458
lea ecx, [ebp - 0x60]
call fcn.0040fae0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x94]
lea edx, [esi*8]
sub edx, esi
lea ecx, [eax + edx*4]
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004f07a0
add esp, 8
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x4c], 8
jb 0x445ba0
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
xor edx, edx
sub ecx, esi
mov word [ebp - 0x60], dx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax - 1]
lea ecx, [eax*8]
sub ecx, eax
push 1
lea esi, [esi + ecx*4]
push 0x52cbb0
push esi
xor eax, eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ebx
call fcn.00411c10
cmp eax, 0xffffffff
je 0x445c21
mov esi, dword [esi + 0x10]
mov edx, dword [ebp - 0x34]
sub esi, eax
sub edx, esi
push edx
lea eax, [ebp - 0x80]
push eax
xor ecx, ecx
lea edx, [ebp - 0x44]
call fcn.0040fbe0
mov byte [ebp - 4], 0x17
mov edi, eax
lea esi, [ebp - 0x44]
call fcn.00411aa0
mov byte [ebp - 4], 0x16
lea esi, [ebp - 0x80]
call fcn.004150b0
mov edi, 7
mov byte [ebp - 4], 0x13
lea esi, [ebp - 0x1c]
call fcn.0040fcb0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x94]
cmp eax, ebx
je 0x445c5f
mov ecx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x90]
push ecx
call fcn.00414fe0
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 8
mov edi, 7
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], edi
xor eax, eax
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x44]
mov word [esi], ax
call fcn.00411aa0
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
cmp dword [ebp - 0x30], 8
jb 0x445ca7
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebp - 0x34], ebx
xor edx, edx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], dx
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret