Function at 0x40b190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ff3b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x43f7ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
push 8
call fcn.0040ab50
mov ecx, dword [edi + 0x8c4]
cmp ecx, esi
je 0x40b1f1
push 1
call fcn.00403f70
mov ecx, dword [edi + 0x8c4]
cmp ecx, esi
je 0x40b1f1
push 1
call fcn.004082a0
push 0x14
call fcn.0040db80
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp eax, esi
je 0x40b210
push esi
mov ecx, eax
call fcn.00403be0
jmp 0x40b212
xor eax, eax
mov byte [ebp - 4], 0
mov dword [edi + 0x8c4], eax
lea esi, [edi + 0x22e4]
cmp byte [esi], 0
je 0x40b26a
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b230
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b250
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b250
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x23e8]
cmp byte [esi], 0
je 0x40b2ba
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b280
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b2a0
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b2a0
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x24ec]
cmp byte [esi], 0
je 0x40b30a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b2d0
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b2f0
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b2f0
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x25f0]
cmp byte [esi], 0
je 0x40b35a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b320
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b340
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b340
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x26f4]
cmp byte [esi], 0
je 0x40b3aa
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b370
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b390
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b390
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x27f8]
cmp byte [esi], 0
je 0x40b3fa
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b3c0
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b3e0
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b3e0
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x2c08]
cmp byte [esi], 0
je 0x40b44a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b410
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b430
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b430
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x2d0c]
cmp byte [esi], 0
je 0x40b49a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b460
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b480
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b480
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x2e10]
cmp byte [esi], 0
je 0x40b4ea
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b4b0
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b4d0
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b4d0
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x670]
cmp byte [esi], 0
je 0x40b53a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b500
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b520
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b520
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x3324]
cmp byte [esi], 0
je 0x40b58a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b550
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b570
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b570
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x2f14]
cmp byte [esi], 0
je 0x40b5da
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b5a0
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b5c0
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b5c0
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x3018]
cmp byte [esi], 0
je 0x40b62a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b5f0
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b610
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b610
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
lea esi, [edi + 0x311c]
cmp byte [esi], 0
je 0x40b67a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b640
sub eax, edx
add eax, 1
push eax
call fcn.0040db80
add esp, 4
mov edx, esi
mov esi, eax
jmp 0x40b660
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x40b660
push eax
mov ecx, dword [edi + 0x8c4]
call fcn.00403c60
push 0x104
call fcn.0040db80
add esp, 4
mov ebx, eax
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebx
call fcn.0040e2c0
add esp, 4
mov eax, str.msocxushell.dll
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b6a5
sub eax, esi
mov edi, ebx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x40b6b5
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]
push ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x8c4]
call fcn.00403c60
mov esi, dword [ebp - 0x14]
add esi, 0xb08
cmp byte [esi], 0
jne 0x40b6f2
mov ecx, dword [ebp - 0x14]
call fcn.0040b070
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b6f7
sub eax, edx
add eax, 2
push eax
call fcn.0040db80
add esp, 4
mov edi, eax
mov ecx, esi
mov edx, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x40b714
push edi
call fcn.0040e2c0
add esp, 4
push edi
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x8c4]
call fcn.00403c60
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret