Function at 0x10003400
Capabilities:
Get common file path

Disassembly:
sub esp, 0x310
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x118]
xor edi, edi
push 0x104
push eax
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x1000343c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret
mov ebx, dword [esp + 0x324]
cmp ebx, edi
jle 0x100035ac
mov ebp, dword [esp + 0x328]
mov eax, dword [ebp]
test eax, eax
je 0x100035a3
test edi, edi
jne 0x1000353c
mov ecx, dword [esp + 0x32c]
test ecx, ecx
je 0x1000353c
mov esi, str.mapi32.dll
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1000349d
test cl, cl
je 0x10003499
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1000349d
add eax, 2
add esi, 2
test cl, cl
jne 0x10003479
xor eax, eax
jmp 0x100034a2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000353c
push str.mapi32.dll
lea eax, [esp + 0x11c]
push str.system
push eax
lea ecx, [esp + 0x20]
push 0x1000dc9c
push ecx
call fcn.10005dd0
add esp, 0x14
lea edx, [esp + 0x118]
lea eax, [esp + 0x21c]
push str.mapi32.dll
push str.system32
push edx
push 0x1000dc9c
push eax
call fcn.10005dd0
add esp, 0x14
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x14]
push ecx
push edx
push str.Moved
push 1
call fcn.10001290
add esp, 0x10
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push str.mapi32x.dll
push str.system
push eax
push 0x1000dc9c
push ecx
call fcn.10005dd0
add esp, 0x14
push str.mapi32x.dll
jmp 0x10003565
mov ecx, dword [ebp + edi*4]
lea edx, [esp + 0x118]
push ecx
push str.system
push edx
lea eax, [esp + 0x20]
push 0x1000dc9c
push eax
call fcn.10005dd0
mov ecx, dword [ebp + edi*4]
add esp, 0x14
push ecx
lea edx, [esp + 0x11c]
push str.system32
push edx
lea eax, [esp + 0x228]
push 0x1000dc9c
push eax
call fcn.10005dd0
add esp, 0x14
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x14]
push ecx
push edx
push str.Moved
push 1
call fcn.10001290
add esp, 0x10
inc edi
cmp edi, ebx
jl 0x10003452
push str.mapisvc.inf
lea eax, [esp + 0x11c]
push str.system
push eax
lea ecx, [esp + 0x20]
push 0x1000dc9c
push ecx
call fcn.10005dd0
add esp, 0x14
lea edx, [esp + 0x118]
lea eax, [esp + 0x21c]
push str.mapisvc.inf
push str.system32
push edx
push 0x1000dc9c
push eax
call fcn.10005dd0
add esp, 0x14
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x14]
push ecx
push edx
push str.Moved
push 1
call fcn.10001290
add esp, 0x10
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push str.mapi32.dll
push str.system
push eax
push 0x1000dc9c
push ecx
call fcn.10005dd0
add esp, 0x14
lea edx, [esp + 0x14]
push 0
push edx
push str.Handled
push 1
call fcn.10001290
add esp, 0x10
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push str.mlcfg32.cpl
push str.system
push eax
push 0x1000dc9c
push ecx
call fcn.10005dd0
add esp, 0x14
lea edx, [esp + 0x14]
push 0
push edx
push str.Handled
push 1
call fcn.10001290
add esp, 0x10
lea eax, [esp + 0x118]
lea ecx, [esp + 0x21c]
push str.mlcfg32.cpl
push str.system32
push eax
push 0x1000dc9c
push ecx
call fcn.10005dd0
add esp, 0x14
lea edx, [esp + 0x21c]
lea eax, [esp + 0x14]
push edx
push eax
push str.Moved
push 1
call fcn.10001290
add esp, 0x10
push 0
push str.MapiNotHandled
push str.Handled
push 5
call fcn.10001290
add esp, 0x10
mov eax, dword [esp + 0x32c]
test eax, eax
je 0x10003725
push str.mapi32x.dll
lea ecx, [esp + 0x11c]
push str.system
push ecx
lea edx, [esp + 0x20]
push 0x1000dc9c
push edx
call fcn.10005dd0
add esp, 0x14
lea eax, [esp + 0x14]
push 0
push eax
push str.Handled
push 1
call fcn.10001290
add esp, 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x310
ret