Function at 0x423f30
Capabilities:
Create directory
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adb76
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [ebx + 8]
push edi
call dword [eax + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push esi
mov ecx, edi
mov dword [ebp - 0x26c], eax
call dword [sym.imp.soui4.dll_protected:_int___thiscall_SOUI::SWindow::OnCreate_void__]
mov esi, eax
call dword [0x6527e8]
mov dword [edi + 0x25c], eax
test eax, eax
je 0x4241f8
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x423fc8
test eax, eax
je 0x423fc8
xor eax, eax
jmp 0x423fcd
mov eax, 1
test eax, eax
jne 0x42410f
xorps xmm0, xmm0
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], eax
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423ff4
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.004060e0
push 0x5e491c
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.00425e00
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
cmova eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x424069
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 0
cmova eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x250]
call fcn.00405b70
push str.cookies.dat
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.00425e00
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
mov ecx, dword [0x65289c]
cmova eax, dword [ebp - 0x250]
push eax
push dword [edi + 0x25c]
call ecx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.00405b70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x268]
cmp dword [ebp - 0x254], 7
mov ecx, dword [0x6528a0]
cmova eax, dword [ebp - 0x268]
push eax
push 0
call ecx
lea ecx, [ebp - 0x268]
call fcn.00405d20
lea ecx, [ebp - 0x250]
call fcn.00405d20
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
call fcn.00405d20
push 0
push dword [edi + 0x25c]
call dword [0x652884]
push 0
push dword [edi + 0x25c]
call dword [0x652868]
push edi
push 0x422f40
push dword [edi + 0x25c]
call dword [0x6528e8]
push edi
push 0x422f60
push dword [edi + 0x25c]
call dword [0x6528e0]
push edi
push 0x422fd0
push dword [edi + 0x25c]
call dword [0x6528d8]
push edi
push 0x423040
push dword [edi + 0x25c]
call dword [0x6528f8]
push edi
push 0x4230a0
push dword [edi + 0x25c]
call dword [0x6528e4]
push edi
push 0x423110
push dword [edi + 0x25c]
call dword [0x6528fc]
push edi
push 0x423180
push dword [edi + 0x25c]
call dword [0x65299c]
push edi
push 0x423500
push dword [edi + 0x25c]
call dword [0x6528ec]
push edi
push 0x4235a0
push dword [edi + 0x25c]
call dword [0x6528f0]
push edi
push 0x423990
push dword [edi + 0x25c]
call dword [0x65291c]
push dword [ebp - 0x26c]
push dword [edi + 0x25c]
call dword [0x652878]
or dword [edi + 0x18c], 0x20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4