Function at 0x461d20
Capabilities:
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6421e4
mov eax, dword fs:[0]
push eax
sub esp, 0x3b4
mov eax, dword [0x6bc858]
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
xor ebx, ebx
push 0x63
lea eax, [ebp - 0xdf]
push ebx
push eax
mov dword [ebp - 0x35c], ebx
mov byte [ebp - 0xe0], bl
call fcn.005ff630
add esp, 0xc
push 0x63
lea ecx, [ebp - 0x24f]
push ebx
push ecx
mov byte [ebp - 0x250], bl
call fcn.005ff630
add esp, 0xc
push 0x63
lea edx, [ebp - 0x77]
push ebx
push edx
mov byte [ebp - 0x78], bl
call fcn.005ff630
add esp, 0xc
push 0x63
lea eax, [ebp - 0x2b7]
push ebx
push eax
mov byte [ebp - 0x2b8], bl
call fcn.005ff630
add esp, 0xc
mov dword [ebp - 0x328], ebx
push 8
mov dword [ebp - 4], ebx
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4627ce
mov dword [ebp - 0x328], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [ebp - 0x328]
lea ecx, [ebp - 0x328]
mov dword [edx], ecx
mov esi, 0xf
mov dword [ebp - 0x310], esi
mov dword [ebp - 0x314], ebx
mov byte [ebp - 0x324], bl
mov dword [ebp - 4], 1
mov dword [ebp - 0x308], ebx
push 8
mov byte [ebp - 4], 2
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x46279b
mov dword [ebp - 0x308], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x308]
lea eax, [ebp - 0x308]
mov dword [ecx], eax
mov dword [ebp - 0x2f0], esi
mov dword [ebp - 0x2f4], ebx
mov byte [ebp - 0x304], bl
push 0x103
lea edx, [ebp - 0x1e7]
push ebx
mov byte [ebp - 4], 3
push edx
mov byte [ebp - 0x1e8], bl
call fcn.005ff630
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x1e8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x461e87
lea ecx, [ebp - 0x1e8]
push ecx
sub eax, edx
mov edx, ecx
push str._sMicrosoft_
push edx
mov byte [ebp + eax - 0x1e8], 0x5c
call fcn.005f1060
add esp, 0xc
lea ecx, [ebp - 0x1e8]
call fcn.004c3dc0
test eax, eax
je 0x461ec9
lea ecx, [ebp - 0x1e8]
call fcn.004c4240
push str.Config.sys
lea eax, [ebp - 0x1e8]
push eax
mov ecx, eax
push 0x675f00
push ecx
call fcn.005f1060
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x10
lea edx, [ebp - 0x1e8]
push edx
mov edi, 0x64
push edi
lea eax, [ebp - 0x250]
push eax
push 0x6745b6
push str.037896DC_6FFE_407D_B1D0_4984F151C3DA
push 0x675f88
call esi
lea ecx, [ebp - 0x1e8]
push ecx
push edi
lea edx, [ebp - 0x2b8]
push edx
push 0x6745b6
push str.5712F618_8B0C_4167_994C_0151C923C13B
push 0x675f88
call esi
cmp dword [0x6c4b24], ebx
je 0x461f68
mov eax, dword [0x6c3eec]
mov ecx, dword [0x6c3ef0]
mov edx, dword [0x6c3ef4]
mov dword [ebp - 0x2c8], eax
mov eax, dword [0x6c3ef8]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2bc], eax
jmp 0x461f75
lea ecx, [ebp - 0x2c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0x35c]
push edx
push 0x2001f
push ebx
push str.SoftwareMicrosoftOleOffice360
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x462004
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x350]
push eax
mov eax, dword [ebp - 0x35c]
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0x34c]
push edx
push ebx
push str.037896DC_6FFE_407D_B1D0_4984F151C3DA
push eax
mov dword [ebp - 0x350], edi
mov dword [ebp - 0x34c], 1
call esi
lea ecx, [ebp - 0x350]
push ecx
mov ecx, dword [ebp - 0x35c]
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x34c]
push eax
push ebx
push str.5712F618_8B0C_4167_994C_0151C923C13B
push ecx
mov dword [ebp - 0x350], edi
call esi
mov edx, dword [ebp - 0x35c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x250]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x462010
sub eax, edx
cmp eax, ebx
jne 0x462148
lea eax, [ebp - 0xe0]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x462030
sub eax, edx
cmp eax, ebx
jne 0x462148
lea eax, [ebp - 0x2b8]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x462050
sub eax, edx
cmp eax, ebx
jne 0x462148
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x462067
sub eax, edx
cmp eax, ebx
jne 0x462148
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x34c], esp
push str.037896DC_6FFE_407D_B1D0_4984F151C3DA
call fcn.00412330
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2bc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00462970
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x34c], esp
push str.5712F618_8B0C_4167_994C_0151C923C13B
call fcn.00412330
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2bc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00462970
lea ecx, [ebp - 0x308]
mov dword [0x6c4a68], 0x1e
mov byte [ebp - 4], 1
call fcn.00412410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x328]
call fcn.00412410
mov eax, 1
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.005f0da0
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0xe0]
lea eax, [ebp - 0x250]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x462174
cmp cl, bl
je 0x462170
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x462174
add eax, 2
add esi, 2
cmp cl, bl
jne 0x462154
xor eax, eax
jmp 0x462179
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x462501
lea eax, [ebp - 0xe0]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x462190
sub eax, edx
push eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x308]
call fcn.00412c10
lea esi, [ebp - 0x78]
lea eax, [ebp - 0x2b8]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4621d5
cmp cl, bl
je 0x4621d1
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4621d5
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4621b5
xor eax, eax
jmp 0x4621da
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x462501
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4621e8
sub eax, edx
push eax
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x328]
call fcn.00412c10
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp - 0x380]
push eax
call fcn.004121e0
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x38c], ebx
mov dword [ebp - 0x388], ebx
mov dword [ebp - 0x384], ebx
cmp dword [ebp - 0x36c], ebx
je 0x4624f2
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x34c], esp
mov dword [ebp - 0x350], esi
mov dword [esi], ebx
push 8
mov byte [ebp - 4], 5
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x462768
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ecx, dword [esi]
mov dword [ecx], esi
push 0xffffffffffffffff
mov byte [ebp - 4], 6
push ebx
lea edx, [ebp - 0x380]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004126e0
lea esi, [ebp - 0x358]
mov byte [ebp - 4], 4
call fcn.00468430
mov eax, dword [ebp - 0x354]
mov ecx, dword [ebp - 0x358]
push eax
push ecx
push str._014I64d
lea ecx, [ebp - 0x2e8]
call fcn.004d2ae0
add esp, 0x2c
mov esi, eax
lea edi, [ebp - 0x380]
mov byte [ebp - 4], 7
call fcn.00419940
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 4
call fcn.00412410
push 4
push 8
lea edx, [ebp - 0x2e8]
push edx
mov eax, edi
push eax
call fcn.00415980
cmp dword [eax + 0x18], 0x10
jb 0x46230a
mov eax, dword [eax + 4]
jmp 0x46230d
add eax, 4
push eax
call fcn.005f4900
mov si, ax
add esp, 4
lea ecx, [ebp - 0x2e8]
mov word [ebp - 0x390], si
call fcn.00412410
mov ecx, 0x7dd
cmp si, cx
jb 0x4624f2
push 2
push 0xc
lea edx, [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x380]
push eax
call fcn.00415980
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x46235f
mov eax, dword [eax + 4]
jmp 0x462362
add eax, 4
push eax
call fcn.005f4900
add esp, 4
lea ecx, [ebp - 0x2e8]
mov word [ebp - 0x38e], ax
call fcn.00412410
mov ecx, dword [ebp - 0x38e]
dec ecx
cmp cx, 0xb
ja 0x4624f2
push 2
push 6
lea edx, [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x380]
push eax
call fcn.00415980
cmp dword [eax + 0x18], esi
jb 0x4623af
mov eax, dword [eax + 4]
jmp 0x4623b2
add eax, 4
push eax
call fcn.005f4900
add esp, 4
lea ecx, [ebp - 0x2e8]
mov word [ebp - 0x38a], ax
call fcn.00412410
mov ecx, dword [ebp - 0x38a]
dec ecx
cmp cx, 0x1e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x380]
ja 0x4624fc
call fcn.00412410
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x2e8]
push eax
call fcn.004121e0
mov dword [ebp - 0x370], ebx
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x368], ebx
cmp dword [ebp - 0x2d4], ebx
je 0x4626d4
sub esp, 0x20
mov esi, esp
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x34c], esp
mov dword [ebp - 0x350], esi
mov dword [esi], ebx
push 8
mov byte [ebp - 4], 9
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x462735
mov dword [esi], eax
xor ecx, ecx
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esi]
mov dword [ecx], esi
push 0xffffffffffffffff
mov byte [ebp - 4], 0xa
push ebx
lea edx, [ebp - 0x2e8]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004126e0
lea esi, [ebp - 0x358]
mov byte [ebp - 4], 8
call fcn.00468430
mov eax, dword [ebp - 0x354]
mov ecx, dword [ebp - 0x358]
push eax
push ecx
push str._014I64d
lea ecx, [ebp - 0x348]
call fcn.004d2ae0
add esp, 0x2c
mov esi, eax
lea edi, [ebp - 0x2e8]
mov byte [ebp - 4], 0xb
call fcn.00419940
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 8
call fcn.00412410
push 4
push 8
lea edx, [ebp - 0x348]
push edx
mov eax, edi
push eax
call fcn.00415980
cmp dword [eax + 0x18], 0x10
jb 0x462529
mov eax, dword [eax + 4]
jmp 0x46252c
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 3
call fcn.00412410
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 1
call fcn.00412410
lea ecx, [ebp - 0x328]
mov dword [ebp - 4], 0xffffffff
call fcn.00412410
xor eax, eax
jmp 0x46212c
add eax, 4
push eax
call fcn.005f4900
mov si, ax
add esp, 4
lea ecx, [ebp - 0x348]
mov word [ebp - 0x370], si
call fcn.00412410
mov ecx, 0x7dd
cmp si, cx
jb 0x4626d4
push 2
push 0xc
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x2e8]
push eax
call fcn.00415980
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x46257e
mov eax, dword [eax + 4]
jmp 0x462581
add eax, 4
push eax
call fcn.005f4900
add esp, 4
lea ecx, [ebp - 0x348]
mov word [ebp - 0x36e], ax
call fcn.00412410
mov ecx, dword [ebp - 0x36e]
dec ecx
cmp cx, 0xb
ja 0x4626d4
push 2
push 6
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x2e8]
push eax
call fcn.00415980
cmp dword [eax + 0x18], esi
jb 0x4625ce
mov eax, dword [eax + 4]
jmp 0x4625d1
add eax, 4
push eax
call fcn.005f4900
add esp, 4
lea ecx, [ebp - 0x348]
mov word [ebp - 0x36a], ax
call fcn.00412410
mov ecx, dword [ebp - 0x36a]
dec ecx
cmp cx, 0x1e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e8]
ja 0x4624fc
call fcn.00412410
mov edx, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0x2c4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x2c0]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x2bc]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x370]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x36c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x368]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
call fcn.00462930
or ebx, 0xffffffff
cmp eax, ebx
je 0x462711
lea edi, [ebp - 0x390]
lea esi, [ebp - 0x2c8]
call fcn.00462810
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x34c], esp
push str.5712F618_8B0C_4167_994C_0151C923C13B
test eax, eax
je 0x4626df
call fcn.00412330
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2bc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00462970
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 1
call fcn.00412410
mov dword [ebp - 4], ebx
jmp 0x46211c
lea ecx, [ebp - 0x2e8]
jmp 0x4624f8
call fcn.00412330
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2c4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2bc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00462970
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 1
call fcn.00412410
lea ecx, [ebp - 0x328]
mov dword [ebp - 4], ebx
call fcn.00412410
xor eax, eax
jmp 0x46212c
lea eax, [ebp - 0x34c]
push eax
lea ecx, [ebp - 0x39c]
mov dword [ebp - 0x34c], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x39c]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea edx, [ebp - 0x34c]
push edx
lea ecx, [ebp - 0x39c]
mov dword [ebp - 0x34c], ebx
call fcn.005f41f0
push 0x6a361c
lea eax, [ebp - 0x39c]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x3b0]
mov dword [ebp - 0x3a0], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x3b0]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 0x3a4], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x3bc]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3