Function at 0x43b930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0fec
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4ce4bc]
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 ebx, ecx
movzx eax, word [ebx + 0xc]
lea esi, [ebx + 0xc]
mov edi, dword [ebp + 8]
test ax, ax
jne 0x43b986
push 0
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [esi], 0
je 0x43bdbb
mov ecx, ebx
call fcn.0043cf30
cmp word [eax], 0
je 0x43bdbb
cmp dword [edi + 0x10], 1
jbe 0x43bdbb
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], eax
mov eax, edi
jb 0x43b9c9
mov eax, dword [edi]
cmp word [eax], 0x62
je 0x43b9d8
xor bl, bl
mov al, bl
jmp 0x43bdbd
push 3
push 0x4ada38
lea ecx, [ebp - 0x40]
call fcn.00404580
mov ecx, 7
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
cmp dword [edi + 0x10], 1
mov byte [ebp - 4], 1
jbe 0x43bddb
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43ba1b
mov eax, dword [edi]
movzx eax, word [eax + 2]
add eax, 0xffffff9a
cmp eax, 0x11
ja case.0x43ba32.103
movzx eax, byte [eax + 0x43bdf8]
jmp dword [eax*4 + 0x43bde0]
mov eax, 0x4ada40
jmp 0x43ba5a
mov eax, 0x4abec0
jmp 0x43ba5a
mov eax, 0x4abec8
jmp 0x43ba5a
mov eax, 0x4aab98
jmp 0x43ba5a
mov eax, 0x4abed0
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d5c0
mov ecx, ebx
call fcn.0043cf30
mov ecx, ebx
mov esi, eax
call fcn.0043cf10
push eax
lea ecx, [ebp - 0xf4]
call fcn.00401960
push str.Kingsoftoffice6cache_
push eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 2
push eax
call fcn.00401590
push esi
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 3
push eax
call fcn.00401590
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00417730
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00417730
push str.cache.merge
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 6
push eax
call fcn.00401590
add esp, 0x3c
mov ecx, edi
push eax
call fcn.004023b0
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x43bb29
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bb1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcd9
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp edx, 8
jb 0x43bb7a
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bb70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcd9
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
cmp edx, 8
jb 0x43bbd4
mov ecx, dword [ebp - 0xac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bbca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcd9
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0xb0]
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
cmp edx, 8
jb 0x43bc31
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bc27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcd9
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0xc8]
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
cmp edx, 8
jb 0x43bc8a
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bc80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bcd9
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
cmp edx, 8
jb 0x43bce9
mov ecx, dword [ebp - 0xf4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bcdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43bcdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
jb 0x43bd0e
mov edi, dword [edi]
lea eax, [ebp - 0x64]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43bd2f
cmp dword [ebp - 0x44], 0x2800000
ja 0x43bd2f
mov ecx, dword [ebp - 0x14]
mov bl, 1
jmp 0x43bd34
mov ecx, dword [ebp - 0x14]
xor bl, bl
cmp ecx, 8
jb 0x43bd67
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bd5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bda7
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x43bdb7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bdad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43bdad
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov al, bl
jmp 0x43bdbd
xor al, al
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.00499afc
mov esp, ebp
pop ebp
ret 4
call fcn.00404510
push ebp
mov edx, -1170669501
inc ebx
add byte [edi - 0x46], al
inc ebx
add byte [esi - 0x46], cl
inc ebx
add byte [eax - 0x46], al
inc ebx
add byte [edx], dh
mov ebp, 0x5000043
add eax, 0x5050505
add eax, 84017413
add eax, 84215043
add al, 204
int3