Function at 0x10004400
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x10091a13
mov eax, dword fs:[0]
push eax
sub esp, 0x760
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x75c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x774]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x59]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x38], esi
mov byte [esp + 0x60], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.10004140
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x784]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x784], ebx
call sym.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::getIntegrityData_unsigned_long_int__char___
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x100044aa
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x1312d08
call edx
mov eax, dword [esp + 0x18]
jmp 0x100048ae
push 0x103
lea eax, [esp + 0x15d]
push ebx
push eax
mov byte [esp + 0x164], bl
call sub.MSVCR80.dll_memset
push 0x103
lea ecx, [esp + 0x371]
push ebx
push ecx
mov byte [esp + 0x378], bl
call sub.MSVCR80.dll_memset
push 0x103
lea edx, [esp + 0x481]
push ebx
push edx
mov byte [esp + 0x488], bl
call sub.MSVCR80.dll_memset
push 0x103
lea eax, [esp + 0x695]
push ebx
push eax
mov byte [esp + 0x69c], bl
call sub.MSVCR80.dll_memset
push 0x103
lea ecx, [esp + 0x59d]
push ebx
push ecx
mov byte [esp + 0x5a4], bl
call sub.MSVCR80.dll_memset
add esp, 0x3c
push 0x104
lea edx, [esp + 0x15c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x10004621
lea eax, [esp + 0x158]
push str.AnySign4PC.exe
push eax
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
test eax, eax
je 0x10004621
push 0x104
lea ecx, [esp + 0x56c]
push ecx
push 0x104
lea edx, [esp + 0x678]
push edx
push 0x104
lea eax, [esp + 0x478]
push eax
push 0x104
lea ecx, [esp + 0x37c]
push ecx
lea edx, [esp + 0x178]
push edx
call dword [sym.imp.MSVCR80.dll__splitpath_s]
lea eax, [esp + 0x384]
add esp, 0x24
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100045b7
lea edi, [esp + 0x54]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x100045d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x464]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100045f3
lea edi, [esp + 0x54]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x10004607
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x1000464f
push ebx
push 0x26
lea eax, [esp + 0x5c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x54]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x10004637
mov ecx, 8
mov esi, str.SoftForumXecureWebAnySigndll_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCR80.dll_strtok]
push 0x1009f038
push ecx
call ebp
add esp, 8
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0x38]
push edx
push ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x788], 1
call fcn.10004160
push 1
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.10004200
mov dword [edi], esi
mov eax, dword [esi + 4]
lea ecx, [esp + 0x38]
mov dword [eax], esi
mov byte [esp + 0x77c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x1009f038
push ebx
call ebp
add esp, 8
cmp eax, ebx
jne 0x10004664
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov dword [esp + 0x34], esi
nop
cmp esi, eax
je 0x10004870
push 0x103
lea edx, [esp + 0x261]
push ebx
push edx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x268], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x77c], 2
jae 0x1000471e
lea eax, [esp + 0x3c]
push 0x1009f034
push eax
call ebp
add esp, 8
xor ecx, ecx
jmp 0x10004730
mov dl, byte [esp + ecx + 0x54]
mov byte [esp + ecx + 0x25c], dl
add ecx, 1
cmp dl, bl
jne 0x10004730
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10004744
lea edi, [esp + 0x25c]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x10004760
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x2c]
push eax
push 2
lea ecx, [esp + 0x264]
push ecx
mov ecx, edi
call sym.XecureMacuxCSM.dll_public:_int___thiscall_XWClientSM::fileHash_char_const___int__char___
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x1000481c
push 0x1009f034
push ebx
call ebp
mov esi, dword [esp + 0x30]
add esp, 8
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100047d1
cmp dl, bl
je 0x100047cd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100047d1
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x100047b1
xor eax, eax
jmp 0x100047d6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x10004836
cmp esi, ebx
je 0x100047e8
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x77c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
cmp esi, eax
jne 0x1000480f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
mov dword [esp + 0x34], edx
mov esi, edx
jmp 0x100046d0
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x1312d08
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x1000485b
push eax
jmp 0x10004852
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x1312d08
call edx
cmp esi, ebx
mov dword [esp + 0x20], 0xffffffff
je 0x1000485b
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x77c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
cmp esi, eax
mov dword [esp + 0x1c], ebx
je 0x100048ae
jmp 0x10004890
mov edi, dword [esi]
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
cmp edi, eax
mov esi, edi
jne 0x10004890
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x100048c4
push ecx
call dword [sym.imp.MSVCR80.dll_free]
mov eax, dword [esp + 0x1c]
add esp, 4
mov esi, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
cmp esi, eax
mov dword [esp + 0x77c], 0xffffffff
mov dword [esp + 0x1c], ebx
je 0x1000490e
jmp 0x100048f0
mov edi, dword [esi]
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
cmp edi, eax
mov esi, edi
jne 0x100048f0
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x774]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x75c]
xor ecx, esp
call fcn.10090524
add esp, 0x76c
ret 4