Function at 0x4414d0
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x48]
sub esp, 0x48
push 0xffffffffffffffff
push 0x48271b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
push ebx
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp + 0x2c], ebx
mov eax, dword [ebx]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 1
call fcn.004031f0
push str.HKEY_CURRENT_USERSoftwareNokiaLogging
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 2
call fcn.004031f0
lea ecx, [ebp + 0x24]
push ecx
lea edx, [ebp + 0x28]
push edx
lea eax, [ebp + 0x3c]
push eax
mov byte [ebp - 4], 3
call fcn.00422a80
add esp, 0xc
mov eax, dword [ebp + 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44156a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44158d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x3c]
push 0
push 0
push 2
push str.EventLogLevel
push ecx
mov byte [ebp - 4], 9
call fcn.00438940
mov edx, dword [ebp + 0x3c]
add esp, 0x14
push 0
push 0
push 0
push str.FileLogLevel
push edx
mov dword [ebx + 8], eax
call fcn.00438940
add esp, 0x14
push 0
push 0x497188
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x3c]
push str.File
push eax
lea ecx, [ebp + 0x40]
push ecx
call fcn.004378a0
add esp, 0x14
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
mov byte [ebp - 4], 0xa
call eax
lea esi, [eax + 0x10]
mov dword [ebp + 0x44], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x208
sub eax, edi
or eax, ecx
mov byte [ebp - 4], 0xb
jge 0x441621
push edi
lea ecx, [ebp + 0x44]
call fcn.00402ad0
mov esi, dword [ebp + 0x44]
cmp dword [esi - 8], edi
jge 0x441630
push 0x80070057
call fcn.004032e0
mov dword [esi - 0xc], edi
push edi
mov word [esi + 0x410], 0
mov ecx, dword [ebp + 0x40]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441650
sub eax, edx
sar eax, 1
js 0x441626
cmp eax, dword [esi - 8]
jg 0x441626
mov dword [esi - 0xc], eax
lea edx, [ebp + 0x44]
mov word [esi + eax*2], cx
lea ecx, [ebx + 0x10]
push edx
call fcn.00403000
mov eax, dword [ebp + 0x3c]
push 0
push 0
push 0x100000
push str.FileMaxSize
push eax
call fcn.00438940
mov dword [ebx + 0x14], eax
lea eax, [esi - 0x10]
add esp, 0x14
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4416b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4416d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 6
mov eax, dword [ebp + 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x48
mov esp, ebp
pop ebp
ret