Function at 0x100180c0
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10113723
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x650], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x66c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x67c]
mov dword [esp + 0x18], eax
call sub.Comn.dll_GetObjectSys
mov byte [0x10153789], 0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1c]
mov bl, 1
call eax
test eax, eax
je 0x1001812a
xor bl, bl
mov byte [0x10153789], 1
xor ebp, ebp
push 0x3fe
lea ecx, [esp + 0x26a]
push ebp
push ecx
mov word [esp + 0x270], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
test bl, bl
je 0x10018213
mov ecx, dword [0x1011e450]
mov eax, dword [0x1011e44c]
mov edx, dword [0x1011e448]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x264]
push ecx
push ebp
mov dword [esp + 0x40], eax
mov ax, word [0x1011e458]
push ebp
mov dword [esp + 0x40], edx
mov edx, dword [0x1011e454]
mov word [esp + 0x50], ax
xor eax, eax
push 0x23
push ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov dword [esp + 0x6a], eax
mov word [esp + 0x6e], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x34]
mov edx, eax
jmp 0x100181c0
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x100181c0
lea edi, [esp + 0x264]
sub eax, edx
add edi, 0xfffffffe
jmp 0x100181e0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x100181e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [esp + 0x264]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push edx
call dword [0x101193e4]
jmp 0x1001846c
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x674], ebp
call fcn.100031d0
mov esi, eax
mov dword [esp + 0x2c], esi
call fcn.10002190
xor edi, edi
test eax, eax
je 0x1001833a
cmp esi, ebp
jle 0x10018432
xor ebx, ebx
mov edi, edi
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x10018275
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1001827f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
lea eax, [ebx + esi]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x206
lea eax, [esp + 0x62]
push ebp
mov byte [esp + 0x67c], 1
push eax
mov word [esp + 0x68], bp
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x4c], 8
jae 0x100182bc
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
push 0x10120110
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
sub esp, 0x10
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.100032e0
add esp, 0x1c
cmp eax, ebp
jne 0x10018314
lea ecx, [esp + 0x34]
mov byte [esp + 0x674], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add edi, 1
add ebx, 0x1c
cmp edi, dword [esp + 0x2c]
jl 0x10018250
jmp 0x10018432
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push eax
call dword [0x101193e4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x674], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x10018432
cmp esi, ebp
jle 0x10018432
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
xor ebx, ebx
lea ebx, [ebx]
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10018375
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1001837f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
lea eax, [ebx + esi]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x206
lea ecx, [esp + 0x62]
push 0
mov byte [esp + 0x67c], 2
push ecx
mov word [esp + 0x68], 0
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x4c], 8
jae 0x100183bf
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x60]
push str._sDocuments_and_SettingsAll_UsersApplication_DataAomeiBR
push edx
call ebp
sub esp, 0x10
lea eax, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
call fcn.100032e0
add esp, 0x1c
test eax, eax
jne 0x1001840f
lea ecx, [esp + 0x34]
mov byte [esp + 0x674], al
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add edi, 1
add ebx, 0x1c
cmp edi, dword [esp + 0x2c]
jl 0x10018350
jmp 0x10018430
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x1c]
call dword [0x101193e4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x674], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor ebp, ebp
mov dword [esp + 0x674], 0xffffffff
mov esi, dword [esp + 0x20]
cmp esi, ebp
je 0x1001846c
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x10018463
lea ecx, [ecx]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x10018450
mov esi, dword [esp + 0x20]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x66c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.1010dc50
add esp, 0x664
ret 4