Function at 0x4494b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5768ad
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5edb24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc4], 0
push 0x400
mov dword [ebp - 4], 0
call fcn.0054fe97
mov edi, eax
lea eax, [ebp - 0xc0]
push 0xb0
push 0
push eax
mov dword [ebp - 0xd4], edi
call fcn.005519b0
add esp, 0x10
mov dword [ebp - 0xc0], 0x5e5820
cmp dword [ebp + 0x24], 0x10
lea esi, [ebp + 0x10]
mov dword [ebp - 0x50], 0
cmovae esi, dword [ebp + 0x10]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xbc]
push 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x58], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x5c], 0x60
call fcn.0044d750
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.0044d4e0
push ecx
push 0x22
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 4
call fcn.0044cd60
test eax, eax
jne 0x4495f2
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00447db0
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x70], 0
jne 0x44971c
push 0x3f3
push edi
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0xc
test eax, eax
jne 0x44964b
push str.config2.temp
push edi
call fcn.00558340
jmp 0x449656
push str.config.temp
push edi
call fcn.00558d10
add esp, 0xc
push ecx
push 0x22
push edi
lea ecx, [ebp - 0xbc]
call fcn.0044cd60
test eax, eax
lea ecx, [ebp - 0xc0]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
je 0x44968c
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x4496a0
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00447db0
cmp dword [ebp - 0x70], 0
jne 0x44971c
push 0x5e5808
mov ecx, ebx
call fcn.0044adc0
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.0044bc90
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc4], eax
mov byte [ebp - 4], 6
jmp 0x4498e4
push 0x5e581c
mov ecx, ebx
call fcn.0044adc0
xorps xmm0, xmm0
push 0xff
movlpd qword [ebp - 0xcc], xmm0
call fcn.0054fe97
add esp, 4
mov edi, eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0xc4], edi
jb case.0x4497df.6
ja 0x44975e
cmp dword [ebp + 8], 0
jbe case.0x4497df.6
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xc8], eax
push 0xff
push edi
push dword [ebx + 0x40]
call fcn.00454f90
add esp, 0xc
test eax, eax
jle 0x4497c7
cdq
lea ecx, [ebp - 0xc0]
mov edi, edx
mov esi, eax
push edi
push esi
push dword [ebp - 0xc4]
call fcn.0044b010
mov eax, dword [ebp - 0xc8]
add eax, esi
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], eax
adc esi, edi
mov edi, dword [ebp - 0xc4]
mov dword [ebp - 0xd0], esi
jmp 0x4497f4
push eax
push dword [ebx + 0x40]
call fcn.004547f0
add esp, 8
cmp eax, 6
ja case.0x4497df.1
movzx eax, byte [eax + 0x449958]
jmp dword [eax*4 + 0x44994c]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc8]
cmp esi, dword [ebp + 0xc]
ja case.0x4497df.6
jb 0x449776
cmp eax, dword [ebp + 8]
jae case.0x4497df.6
jmp 0x449776
cmp byte [ebx + 0x46], 0
jne 0x44981a
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebx + 0x46], 0
lea ecx, [ebp - 0xbc]
call fcn.0044cc70
test eax, eax
jne 0x449858
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00447db0
push 0xff
push 0
push edi
call fcn.005519b0
push edi
call fcn.0054fc57
mov esi, dword [ebp - 0xd4]
push 0x400
push 0
push esi
call fcn.005519b0
push esi
call fcn.0054fc57
mov eax, dword [ebp - 0xc0]
add esp, 0x20
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.0044bc90
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc4], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::ios_base.0
push eax
call fcn.0054ecfc
mov edx, dword [ebp + 0x24]
add esp, 4
cmp edx, 0x10
jb 0x449927
mov ecx, dword [ebp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44991d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449945
push edx
push ecx
call fcn.0054fe89
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054fc49
mov esp, ebp
pop ebp
ret 0x20
call fcn.00559614
nop
out 0x97, al
inc esp
add byte [esi], bl
cwde
inc esp
add byte [ecx], cl
cwde
inc esp
add byte [eax], al
add al, byte [eax]
add byte [edx], al
add al, byte [ecx]
int3