Function at 0x445cd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2540
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1e0
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
push 0x104
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.0048ac80
add esp, 0xc
push 0x104
lea edx, [ebp - 0x150]
push edx
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.ESTLOGlog_CDGRegeditRelevance.dat
lea eax, [ebp - 0x150]
push eax
call fcn.0048f420
add esp, 8
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040fb90
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x445d8b
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1e8], edx
jmp 0x445d94
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1e8], eax
push 0x4d14d8
mov ecx, dword [ebp - 0x1e8]
push ecx
call fcn.0048b9b5
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x445de6
mov edx, dword [ebp - 0x1e0]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004101f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004101f0
jmp 0x445f52
push 0x400
call fcn.004473ba
add esp, 4
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jne 0x445e55
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048b766
add esp, 4
mov eax, dword [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004101f0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004101f0
jmp 0x445f52
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x3c]
push edx
movzx eax, word [ebp - 0x3e]
push eax
movzx ecx, word [ebp - 0x40]
push ecx
movzx edx, word [ebp - 0x42]
push edx
movzx eax, word [ebp - 0x46]
push eax
movzx ecx, word [ebp - 0x48]
push ecx
push str.__4d__02d__02d__02d:_02d:_02d__:
mov edx, dword [ebp - 0x34]
push edx
call fcn.0048e778
add esp, 0x20
mov eax, dword [ebp - 0x34]
push eax
push 0x4d14b0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00490952
add esp, 0xc
cmp dword [ebp + 0x20], 0x10
jb 0x445eb4
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1f0], edx
jmp 0x445ebd
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
push ecx
push 0x4d14ac
mov edx, dword [ebp - 0x38]
push edx
call fcn.00490952
add esp, 0xc
push 0x400
push 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.0048ac80
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
push edx
call fcn.004473c5
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
call fcn.0048b766
add esp, 4
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004101f0
jmp 0x445f2b
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1e0]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004101f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 0x1c