Function at 0x47ae90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f48dd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x674ff8]
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
mov esi, dword [ecx + 0x18]
lea ebx, [ecx + 0x18]
mov edi, dword [ebp + 8]
mov ecx, 0x63ca44
mov dword [ebp - 0x238], 0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47aefe
test dx, dx
je 0x47aefa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47aefe
add eax, 4
add ecx, 4
test dx, dx
jne 0x47aed8
xor eax, eax
jmp 0x47af03
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
je 0x47af15
lea ecx, [esi - 0x10]
push ecx
jmp 0x47b101
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005c7190
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47af47
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004049c0
push 0x63d128
lea eax, [ebp - 0x234]
push ebx
push eax
call fcn.0040a7c0
push str.Kakao
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.0040a7c0
push 0x63d128
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 1
push eax
call fcn.0040a7c0
push 0x63d060
push eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push eax
call fcn.0040a7c0
push 0x63d128
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
push eax
call fcn.0040a7c0
push str.down
push eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 4
push eax
call fcn.0040a7c0
add esp, 0x48
push 0x63d128
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 5
push eax
call fcn.0040a7c0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00404270
mov byte [ebp - 4], 5
or esi, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b034
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b055
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b076
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b097
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b0b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b0d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x47b0fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00404bc0
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov eax, edi
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.005c2ae8
mov esp, ebp
pop ebp
ret 4