Function at 0x41ac5b
Capabilities:
Get common file path
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1800
call fcn.00612c90
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x804]
push esi
push edi
push 6
mov dword [ebp - 0x17f0], ecx
lea edi, [ebp - 0x81c]
pop ecx
push 0x3d0
mov esi, str.uGetcategory0000.json
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.006390b0
add esp, 0xc
push ebx
call fcn.00643470
pop ecx
cmp eax, 1
jae 0x41acf5
lea eax, [ebp - 0xfec]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x41afb7
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0xfec]
push eax
push 0x6c643c
lea eax, [ebp - 0xc04]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
jmp 0x41ad0c
push ebx
lea eax, [ebp - 0xc04]
push 0x3e8
push eax
call fcn.006494f3
add esp, 0xc
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x17fc], eax
cmp eax, 0xffffffff
je 0x41afb7
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
mov dword [ebp - 0x17f8], ebx
test ebx, ebx
je 0x41afb7
xor eax, eax
push eax
push eax
push eax
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x17f4], eax
test eax, eax
jne 0x41ad7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41afbd
mov esi, str._common_:_
mov dword [ebp - 0x10], 0x65737522
lea edi, [ebp - 0x24]
mov dword [ebp - 0xc], 0x3a2272
mov ebx, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, str._uri_:
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str._password_:
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, 0x400
xor eax, eax
mov byte [ebp - 0x434], al
mov byte [ebp - 0x13ec], al
mov byte [ebp - 0x17ec], al
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00639500
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x41af8b
lea eax, [ebp - 0x24]
push eax
call fcn.00643470
add ebx, eax
lea eax, [ebp - 0x18]
pop ecx
push eax
push ebx
call fcn.00639500
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41adb2
lea eax, [ebp - 0x18]
push eax
call fcn.00643470
pop ecx
lea ebx, [esi + eax]
cmp byte [ebx], 0x20
jne 0x41ae0d
inc ebx
push 0x2c
push ebx
call fcn.006393d0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41adb2
sub eax, ebx
sub eax, 2
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x434]
push edi
push eax
call fcn.00650b7d
lea eax, [ebp - 0x434]
push eax
call fcn.00643470
mov ebx, eax
add esp, 0x14
cmp ebx, 0xc350
ja 0x41aea4
mov cl, byte [ebp - 0x434]
xor eax, eax
test cl, cl
je 0x41ae85
lea edx, [ebp - 0x434]
cmp cl, 0x5c
je 0x41ae6b
mov byte [eax + 0x71d0d0], cl
inc eax
inc edx
mov edi, eax
mov cl, byte [edx]
test cl, cl
jne 0x41ae5f
cmp edi, 0xc35a
jae 0x41afd0
mov edi, 0x400
mov byte [eax + 0x71d0d0], 0
lea eax, [ebx + 1]
push 0x71d0d0
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.006494f3
add esp, 0xc
lea eax, [ebp - 0x10]
mov ebx, esi
push eax
push esi
call fcn.00639500
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41adb2
lea eax, [ebp - 0x10]
push eax
call fcn.00643470
pop ecx
lea ebx, [esi + eax]
cmp byte [ebx], 0x20
jne 0x41aecf
inc ebx
push 0x2c
push ebx
call fcn.006393d0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41adb2
sub eax, ebx
sub eax, 2
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x17ec]
push edi
push eax
call fcn.00650b7d
lea eax, [ebp - 0x30]
mov ebx, esi
push eax
push esi
call fcn.00639500
mov esi, eax
add esp, 0x18
test esi, esi
je 0x41adb2
lea eax, [ebp - 0x30]
push eax
call fcn.00643470
pop ecx
lea ebx, [esi + eax]
cmp byte [ebx], 0x20
jne 0x41af26
inc ebx
push 0x2c
push ebx
call fcn.006393d0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41adb2
sub eax, ebx
sub eax, 2
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x13ec]
push edi
push eax
call fcn.00650b7d
mov ecx, dword [ebp - 0x17f0]
lea eax, [ebp - 0x13ec]
add esp, 0x10
mov ebx, esi
mov esi, 0x6c5bb9
push 0xffffffffffffffff
push esi
push eax
lea eax, [ebp - 0x17ec]
push eax
lea eax, [ebp - 0x434]
push eax
push esi
push 0x8d
push 5
call fcn.0043ee6b
jmp 0x41adb2
push dword [ebp - 0x17f4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x17f8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebp - 0x17fc]
test eax, eax
je 0x41afb2
push eax
call esi
xor eax, eax
inc eax
jmp 0x41afbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 4
call fcn.00612782
int3