Function at 0x403c30
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f5d6
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x454710]
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 edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push eax
call fcn.004226e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push eax
lea eax, [ebp - 0x21a]
push eax
call fcn.004226e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push eax
lea eax, [ebp - 0x422]
push eax
call fcn.004226e0
add esp, 0xc
mov dword [ebp - 0x668], 0
mov dword [ebp - method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
mov dword [ebp - 0x64c], 0xf
mov dword [ebp - 0x650], 0
mov byte [ebp - 0x660], 0
mov byte [ebp - 0x648], 0
push 0
push 0x44c300
lea ecx, [ebp - 0x660]
mov dword [ebp - 4], 0
call fcn.00403420
push esi
lea ecx, [ebp - 0x664]
call fcn.00408690
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x660]
mov dword [ebp - 0x630], 0xf
push eax
lea ecx, [ebp - 0x644]
mov dword [ebp - 0x634], 0
mov byte [ebp - 0x644], 0
call fcn.00403020
lea eax, [ebp - 0x62c]
mov byte [ebp - 4], 1
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x403da8
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push str._sHNCUserHwp_
push eax
call esi
lea eax, [edi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x403d8f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push str._sConfig_s.json
push eax
call esi
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x66c], 7
mov dword [ebp - 0x670], 0
mov word [ebp - 0x680], ax
cmp word [ebp - 0x21c], ax
jne 0x403dd2
xor ecx, ecx
jmp 0x403def
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
jmp 0x403de0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403de0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x680]
call fcn.00404310
lea ecx, [ebp - 0x680]
call fcn.00403b20
cmp dword [ebp - 0x66c], 8
jb 0x403e24
push dword [ebp - 0x680]
call fcn.0040ea58
add esp, 4
push 0x44c458
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.004214c3
mov edx, dword [ebp - 0x668]
add esp, 0xc
test edx, edx
je 0x403e98
mov esi, dword [ebp - 0x630]
lea ecx, [ebp - 0x644]
mov edi, dword [ebp - 0x644]
cmp esi, 0x10
cmovae ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403e64
push edx
sub ecx, ebx
lea eax, [ebp - 0x644]
push ecx
cmp esi, 0x10
push 1
cmovae eax, edi
push eax
call fcn.00421de0
push dword [ebp - 0x668]
call fcn.004218af
add esp, 0x14
mov esi, 1
jmp 0x403e9a
xor esi, esi
cmp dword [ebp - 0x630], 0x10
jb 0x403eb1
push dword [ebp - 0x644]
call fcn.0040ea58
add esp, 4
cmp dword [ebp - 0x64c], 0x10
mov dword [ebp - 0x630], 0xf
mov dword [ebp - 0x634], 0
mov byte [ebp - 0x644], 0
mov dword [ebp - method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
jb 0x403eed
push dword [ebp - 0x660]
call fcn.0040ea58
add esp, 4
mov eax, esi
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.00420923
mov esp, ebp
pop ebp
ret 4