Function at 0x100169f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087623
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x100c90c0]
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
mov dword [ebp - 0x268], 0
mov dword [ebp - 4], 0
call fcn.10045b20
cmp eax, 0xa
jne 0x10016a83
mov eax, dword [0x100f0b34]
cmp eax, 0xffffffff
jne 0x10016aa6
push 0x100b33dc
push str.kernel32
mov dword [0x100f0b34], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10016aa1
push 0x100f0b34
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x10016aa1
mov dword [0x100f0b34], eax
xor eax, eax
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.1006daee
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100f0b34]
test eax, eax
je 0x10016a83
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.10074d40
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10016a83
xor edi, edi
mov byte [ebp - 4], 1
lea esi, [ebp - 0x220]
xor ecx, ecx
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x230], ecx
lea edx, [esi + 2]
jmp 0x10016b10
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10016b10
sub esi, edx
sar esi, 1
je 0x10016b5b
push esi
lea ecx, [ebp - 0x234]
call fcn.1003f120
mov edi, dword [ebp - 0x228]
push esi
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x22c]
push edi
call fcn.1006fb74
mov ecx, esi
lea eax, [esi + 1]
add esp, 0x10
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 2
test ecx, ecx
jle 0x10016b88
lea edx, [ecx - 1]
cmp edx, ecx
sbb eax, eax
inc eax
jne 0x10016b7b
movzx eax, word [edi + edx*2]
cmp eax, 0x5c
je 0x10016b88
cmp eax, 0x2f
je 0x10016b88
push 0x5c
lea ecx, [ebp - 0x234]
call fcn.1003eea0
push str.rundll32.exe
lea ecx, [ebp - 0x234]
call fcn.1003ef80
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x10016d73
mov eax, dword [ecx]
push 0
push 0x100ca988
push 0x100ca71c
push 0
push 0
push 9
call dword [eax + 0x10]
push eax
call fcn.10084c25
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10016d73
lea eax, [ebp - 0x27c]
push eax
mov ecx, esi
call fcn.10015e60
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 3
call fcn.1005b470
push ecx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 4
call fcn.1005b810
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x224], 4
call fcn.1005ba50
test eax, eax
jne 0x10016c3f
push str.Verify_Hook_dll_failed
push str.CIEInjector::IsIE1064Bit
push 2
call fcn.10041ef0
add esp, 0xc
mov esi, 1
jmp 0x10016d4b
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
push ecx
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x244]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.10023e30
test eax, eax
jne 0x10016ccb
push dword [ebp - 0x238]
push str.Load__s_failed.
push str.CIEInjector::IsIE1064Bit
push 2
call fcn.10041ef0
add esp, 0x10
xor esi, esi
jmp 0x10016d35
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x264]
call fcn.1003e5f0
push str._DllConnectToIE
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 7
call fcn.1003ef80
mov dword [ebp - method.CUtils.virtual_0], vtable.CUtils.0
push ecx
lea eax, [ebp - 0x224]
push eax
push ecx
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0x224], 0
call fcn.100505b0
lea ecx, [ebp - 0x264]
mov esi, 1
call fcn.10022960
lea ecx, [ebp - 0x254]
call fcn.10022960
lea ecx, [ebp - 0x244]
call fcn.10022960
lea ecx, [ebp - 0x2e8]
call fcn.1005b6b0
lea ecx, [ebp - 0x27c]
call fcn.10022960
lea ecx, [ebp - 0x234]
call fcn.10022960
mov eax, esi
jmp 0x10016a85
lea ecx, [ebp - 0x234]
xor esi, esi
call fcn.10022960
mov eax, esi
jmp 0x10016a85