Function at 0x404e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48da80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ad658]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov eax, dword [0x4ad658]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
and dword [esp + 0x14], 0xfffffe00
xor eax, eax
mov edi, ecx
mov dword [esp + 0x18], eax
mov ecx, 1
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x24]
and edx, 0xffffff04
or edx, 0x104
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
test byte [0x4b611c], cl
jne 0x404eac
or dword [0x4b611c], ecx
push 0x492300
mov dword [0x4b60f8], 0x49a9e8
call fcn.00465514
add esp, 4
mov ecx, dword [0x4b26ac]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x498300
call edx
mov dword [esp + 0x1c], eax
push str.logversion
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x58], 2
call fcn.0043c740
mov esi, eax
lea eax, [esp + 0x1c]
call fcn.0043c010
lea eax, [esp + 0x1c]
mov byte [esp + 0x50], 1
call fcn.0043bf70
mov ecx, dword [esp + 0x24]
and ecx, 0xffffff04
or ecx, 0x104
test byte [0x4b611c], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
jne 0x404f34
or dword [0x4b611c], 1
push 0x492300
mov dword [0x4b60f8], 0x49a9e8
call fcn.00465514
add esp, 4
mov ecx, dword [0x4b26ac]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
push str.user
call eax
mov dword [esp + 0x1c], eax
push str.logType
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 3
call fcn.0043c740
mov esi, eax
lea eax, [esp + 0x1c]
call fcn.0043c010
lea eax, [esp + 0x1c]
mov byte [esp + 0x50], 1
call fcn.0043bf70
cmp dword [edi + 0x14], 0x10
jb 0x404f83
mov esi, dword [edi]
jmp 0x404f85
mov esi, edi
mov edx, dword [esp + 0x24]
and edx, 0xffffff04
or edx, 0x104
test byte [0x4b611c], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0
jne 0x404fc8
or dword [0x4b611c], 1
push 0x492300
mov dword [0x4b60f8], 0x49a9e8
call fcn.00465514
add esp, 4
mov ecx, dword [0x4b26ac]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push esi
call edx
mov dword [esp + 0x1c], eax
push 0x498314
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x58], 4
call fcn.0043c740
mov esi, eax
lea eax, [esp + 0x1c]
call fcn.0043c010
lea eax, [esp + 0x1c]
mov byte [esp + 0x50], 1
call fcn.0043bf70
mov esi, dword [edi + 0x10]
mov eax, esi
cmp esi, 4
jb 0x405018
mov eax, 4
cmp dword [edi + 0x14], 0x10
jb 0x405022
mov edx, dword [edi]
jmp 0x405024
mov edx, edi
mov ecx, 0x49831c
call fcn.00411b60
test eax, eax
jne 0x405046
cmp esi, 4
jae 0x40503c
or eax, 0xffffffff
jmp 0x405044
xor eax, eax
cmp esi, 4
setne al
test eax, eax
sete al
test al, al
je 0x4050ae
mov eax, dword [ebx + 0x11c]
sub eax, 2
lea esi, [esp + 0x1c]
je 0x405077
push 0x498a80
call fcn.0043bd40
push str.detail
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 6
push ecx
jmp 0x405090
push 0x498a88
call fcn.0043bd40
push str.detail
lea edx, [esp + 0x10]
mov byte [esp + 0x54], 5
push edx
call fcn.0043c740
mov esi, eax
lea eax, [esp + 0x1c]
call fcn.0043c010
lea eax, [esp + 0x1c]
mov byte [esp + 0x50], 1
call fcn.0043bf70
mov eax, dword [esp + 0x24]
and eax, 0xffffff04
or eax, 0x104
test byte [0x4b611c], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
jne 0x4050ef
or dword [0x4b611c], 1
push 0x492300
mov dword [0x4b60f8], 0x49a9e8
call fcn.00465514
add esp, 4
mov ecx, dword [0x4b26ac]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
push str.res2exe
call eax
mov dword [esp + 0x1c], eax
push 0x49832c
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x58], 7
call fcn.0043c740
mov esi, eax
lea eax, [esp + 0x1c]
call fcn.0043c010
lea eax, [esp + 0x1c]
mov byte [esp + 0x50], 1
call fcn.0043bf70
lea edi, [ebx + 0x71c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [esp + 0x1c]
lea ecx, [esp + 0xc]
call fcn.0043cc00
mov byte [esp + 0x50], 8
mov esi, dword [ebx + 0x734]
mov edx, dword [esi + 4]
push eax
push edx
push esi
call fcn.0040fe20
mov ecx, dword [ebx + 0x738]
mov edx, 0x9249248
sub edx, ecx
cmp edx, 1
jae 0x405180
push str.list_T__too_long
call fcn.004639c3
inc ecx
mov dword [ebx + 0x738], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
cmp dword [esp + 0x30], 0x10
jb 0x4051a3
mov eax, dword [esp + 0x1c]
push eax
call fcn.00464d3e
add esp, 4
push edi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call fcn.0043bf70
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00464d49
mov esp, ebp
pop ebp
ret