Function at 0x1003f800
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156c86
mov eax, dword fs:[0]
push eax
sub esp, 0xc6c
mov eax, dword [0x101b90ec]
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
push 0x208
xor edi, edi
lea eax, [ebp - 0xc40]
push edi
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x208
push edi
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x208
push edi
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0xa38]
push 0x208
push edi
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push edi
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push edi
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0xc40]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x422], ax
test ax, ax
jne 0x1003f8c3
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.1012a364
add esp, 8
test eax, eax
jne 0x1003f965
mov edx, str.WanNengWBIME.users
lea ecx, [ebp - 0xc58]
call fcn.10059ff0
mov edi, eax
lea esi, [ebx + 0x24]
cmp esi, edi
je 0x1003f943
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x1003f91c
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10042110
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1003f934
mov eax, dword [esi]
jmp 0x1003f936
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.100419a0
mov eax, dword [ebp - 0xc44]
cmp eax, 8
jb 0x1003fba8
inc eax
lea ecx, [ebp - 0xc58]
push eax
push dword [ebp - 0xc58]
jmp 0x1003fba3
xor ecx, ecx
mov word [eax], cx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x832], ax
test ax, ax
jne 0x1003f970
lea ecx, [ebp - 0x830]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1003f991
mov eax, dword [str.Local]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ecx], eax
mov eax, dword [0x10183214]
mov dword [ecx + 4], eax
mov eax, dword [0x10183218]
mov dword [ecx + 8], eax
mov ax, word [0x1018321c]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x830]
push eax
call esi
test eax, eax
mov ecx, 1
mov eax, edi
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc74], eax
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x62a], ax
test ax, ax
jne 0x1003f9e1
lea ecx, [ebp - 0x628]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1003fa02
mov eax, dword [str.LocalLow]
mov dword [ecx], eax
mov eax, dword [0x10183224]
mov dword [ecx + 4], eax
mov eax, dword [0x10183228]
mov dword [ecx + 8], eax
mov eax, dword [0x1018322c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x10183230]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x628]
push eax
call esi
test eax, eax
mov ecx, 1
mov eax, edi
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc78], eax
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xa3a], ax
test ax, ax
jne 0x1003fa52
lea ecx, [ebp - 0xa38]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1003fa73
mov eax, dword [str.Roaming]
mov dword [ecx], eax
mov eax, dword [0x10183238]
mov dword [ecx + 4], eax
mov eax, dword [0x1018323c]
mov dword [ecx + 8], eax
mov eax, dword [0x10183240]
mov dword [ecx + 0xc], eax
mov ax, word [0x10183244]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0xa38]
push eax
call esi
test eax, eax
mov eax, 1
cmovne edi, eax
mov eax, dword [ebp - 0xc74]
test eax, eax
je 0x1003fb71
mov eax, dword [ebp - 0xc78]
test eax, eax
je 0x1003fb71
test edi, edi
je 0x1003fb71
call fcn.1010f68c
test eax, eax
je 0x1003fb71
push str.WanNengWBIME.users
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x10183248
push eax
call fcn.10041b30
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x1003fb28
lea eax, [ebp - 0x218]
push eax
call fcn.1010f7c1
add esp, 4
cmp word [ebp - 0x218], 0
jne 0x1003fb46
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebx + 0x24]
call fcn.10041f70
jmp 0x1003fba8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003fb50
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x24]
call fcn.10041f70
jmp 0x1003fba8
mov edx, str.WanNengWBIME.users
lea ecx, [ebp - 0xc70]
call fcn.10059ff0
push eax
lea ecx, [ebx + 0x24]
call fcn.10041540
mov eax, dword [ebp - 0xc5c]
cmp eax, 8
jb 0x1003fba8
inc eax
lea ecx, [ebp - 0xc70]
push eax
push dword [ebp - 0xc70]
call fcn.10042110
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.10109ec2
mov esp, ebp
pop ebp
ret