Function at 0x100a9840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da223
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x100fb074]
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 eax, ecx
mov dword [ebp - 0x30c], eax
xor ebx, ebx
lea esi, [eax + 8]
mov dword [ebp - 0x2dc], ebx
cmp dword [esi + 0x10], ebx
ja 0x100a988d
xor al, al
jmp 0x100aa542
lea ecx, [ebp - 0x2d8]
call fcn.1000b6b0
mov dword [ebp - 4], 0
and dword [ebp - 0x328], 0xfffffe00
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x100a98d3
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a98f3
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.10001800
push 1
lea eax, [ebp - 0x330]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.1000b8f0
test al, al
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x21c]
sete al
mov byte [ebp - 0x2dd], al
cmp edx, 0x10
jb 0x100a9977
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
mov al, byte [ebp - 0x2dd]
add esp, 8
test al, al
je 0x100a9982
xor bl, bl
jmp 0x100aa52a
push 0x100f5391
push str.group
lea ecx, [ebp - 0x330]
call fcn.10015d00
push eax
lea ecx, [ebp - 0x348]
call fcn.10014ef0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x340]
test dl, dl
je 0x100a99bb
cmp dl, 6
je 0x100a99bb
cmp dl, 7
jne 0x100a99ce
lea ecx, [ebp - 0x348]
call fcn.10015800
test eax, eax
je 0x100aa51d
cmp dl, 6
jne 0x100aa51d
xor edx, edx
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x2fc], edx
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 5
xor esi, esi
call fcn.10015800
test eax, eax
je 0x100a9a8a
lea eax, [ebp - 0x248]
push eax
push ecx
push esi
lea ecx, [ebp - 0x348]
call fcn.10015980
add esp, 4
mov ecx, eax
call fcn.10015330
push eax
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 6
call fcn.10016640
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x100a9a74
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9a6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
add esp, 8
lea ecx, [ebp - 0x348]
inc esi
call fcn.10015800
cmp esi, eax
jb 0x100a9a08
mov edx, dword [ebp - 0x300]
sub edx, dword [ebp - 0x304]
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x314], eax
jne 0x100a9abb
lea ecx, [ebp - 0x304]
xor bl, bl
call fcn.1000a810
jmp 0x100aa51f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
and dword [ebp - 0x228], 0xfffffe00
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
xor esi, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x2f8], esi
nop word [eax + eax]
push 0xd0
call fcn.100b47e3
mov dword [eax + 0x1c], 0
xor edx, edx
mov dword [eax + 0x20], 0xf
add esp, 4
mov byte [eax + 0xc], 0
mov dword [eax + 0x34], 0
lea edi, [eax + 0xc]
mov dword [eax + 0x38], 0xf
lea ecx, [eax + 0x24]
mov byte [ecx], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0xf
mov byte [eax + 0x3c], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0xf
mov byte [eax + 0x54], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x80], 0xf
mov byte [eax + 0x6c], 0
mov dword [ebp - 0x2e4], ecx
lea ecx, [eax + 0x6c]
mov dword [eax + 0x94], 0
mov dword [eax + 0x98], 7
mov word [eax + 0x84], dx
mov dword [ebp - 0x2ec], ecx
lea ecx, [eax + 0x84]
mov dword [ebp - 0x2f4], ecx
lea ecx, [eax + 0x9c]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 0x308], ecx
lea ecx, [ebp - 0x230]
mov dword [eax + 0xc4], edx
mov dword [eax + 0xc8], 0xf
mov dword [ebp - 0x2e8], eax
mov byte [eax + 0xb4], dl
mov dword [ebp - 0x310], eax
call fcn.100158a0
mov ecx, dword [ebp - 0x304]
lea eax, [esi + esi*2]
cmp dword [ecx + eax*8 + 0x14], 0x10
lea ecx, [ecx + eax*8]
mov eax, ecx
jb 0x100a9c24
mov eax, dword [ecx]
mov edx, dword [ecx + 0x10]
jb 0x100a9c2b
mov ecx, dword [ecx]
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x330]
call fcn.10015d00
push eax
lea ecx, [ebp - 0x248]
call fcn.10014ef0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.100151a0
lea ecx, [ebp - 0x248]
call fcn.10015080
mov edx, dword [ebp - 0x228]
test dl, dl
je 0x100a9c7b
cmp dl, 6
je 0x100a9c7b
cmp dl, 7
jne 0x100aa4ea
lea ecx, [ebp - 0x230]
call fcn.10015800
test eax, eax
je 0x100aa4ea
cmp dl, 7
jne 0x100aa4ea
push 0x100f26da
push 0x100f26d8
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100a9cbd
cmp cl, 6
je 0x100a9cbd
cmp cl, 7
jne 0x100a9cc8
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100a9d06
push 0x100f26da
push 0x100f26d8
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.100164a0
test al, al
je 0x100a9d06
push 0x100f26da
push 0x100f26d8
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.10015480
jmp 0x100a9d08
xor eax, eax
mov esi, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x230]
push 0x100f5398
push str.auto
mov dword [esi], eax
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100a9d36
cmp cl, 6
je 0x100a9d36
cmp cl, 7
jne 0x100a9d41
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100a9d7f
push 0x100f5398
push str.auto
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.100164a0
test al, al
je 0x100a9d7f
push 0x100f5398
push str.auto
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.10015480
jmp 0x100a9d81
xor eax, eax
push 0x100f53a4
push str.virus_id
lea ecx, [ebp - 0x230]
mov dword [esi + 8], eax
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100a9daa
cmp cl, 6
je 0x100a9daa
cmp cl, 7
jne 0x100a9db5
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100a9df3
push 0x100f53a4
push str.virus_id
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.100164a0
test al, al
je 0x100a9df3
push 0x100f53a4
push str.virus_id
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.10015480
jmp 0x100a9df5
xor eax, eax
push 0x100ee028
push str.name
lea ecx, [ebp - 0x230]
mov dword [esi + 4], eax
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100a9e1e
cmp cl, 6
je 0x100a9e1e
cmp cl, 7
jne 0x100a9e29
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100a9e70
push 0x100ee028
push str.name
lea ecx, [ebp - 0x230]
call fcn.10015d00
cmp byte [eax + 8], 4
jne 0x100a9e70
push 0x100ee028
push str.name
lea ecx, [ebp - 0x230]
call fcn.10015d00
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.10015330
mov byte [ebp - 4], 9
or ebx, 1
jmp 0x100a9ea6
push 0
push 0x100e86f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10001800
lea eax, [ebp - 0x248]
or ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 0x2dc], ebx
call fcn.1000a6a0
test bl, 2
je 0x100a9efc
mov edx, dword [ebp - 0x234]
and ebx, 0xfffffffd
mov dword [ebp - 0x2dc], ebx
cmp edx, 0x10
jb 0x100a9efc
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9ef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
add esp, 8
mov dword [ebp - 4], 8
test bl, 1
je 0x100a9f4b
mov edx, dword [ebp - 0x24c]
and ebx, 0xfffffffe
mov dword [ebp - 0x2dc], ebx
cmp edx, 0x10
jb 0x100a9f4b
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9f41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
add esp, 8
push 0x100f53ad
push str.crxid
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100a9f71
cmp cl, 6
je 0x100a9f71
cmp cl, 7
jne 0x100a9f7c
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100a9fc3
push 0x100f53ad
push str.crxid
lea ecx, [ebp - 0x230]
call fcn.10015d00
cmp byte [eax + 8], 4
jne 0x100a9fc3
push 0x100f53ad
push str.crxid
lea ecx, [ebp - 0x230]
call fcn.10015d00
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.10015330
mov byte [ebp - 4], 0xa
or ebx, 4
jmp 0x100a9ff9
push 0
push 0x100e86f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10001800
lea eax, [ebp - 0x248]
or ebx, 8
mov esi, dword [ebp - 0x2e4]
mov ecx, esi
push eax
mov dword [ebp - 0x2dc], ebx
call fcn.1000a6a0
test bl, 8
je 0x100aa055
mov edx, dword [ebp - 0x234]
and ebx, 0xfffffff7
mov dword [ebp - 0x2dc], ebx
cmp edx, 0x10
jb 0x100aa055
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa04b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
add esp, 8
mov dword [ebp - 4], 8
test bl, 4
je 0x100aa0a4
mov edx, dword [ebp - 0x24c]
and ebx, 0xfffffffb
mov dword [ebp - 0x2dc], ebx
cmp edx, 0x10
jb 0x100aa0a4
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa09a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
add esp, 8
push 0x100f53b6
push str.crxkey
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100aa0ca
cmp cl, 6
je 0x100aa0ca
cmp cl, 7
jne 0x100aa0d5
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100aa11c
push 0x100f53b6
push str.crxkey
lea ecx, [ebp - 0x230]
call fcn.10015d00
cmp byte [eax + 8], 4
jne 0x100aa11c
push 0x100f53b6
push str.crxkey
lea ecx, [ebp - 0x230]
call fcn.10015d00
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
call fcn.10015330
mov byte [ebp - 4], 0xb
or ebx, 0x10
jmp 0x100aa152
push 0
push 0x100e86f4
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10001800
lea eax, [ebp - 0x248]
or ebx, 0x20
mov ecx, dword [ebp - 0x2ec]
push eax
mov dword [ebp - 0x2dc], ebx
call fcn.1000a6a0
test bl, 0x20
je 0x100aa1ac
mov edx, dword [ebp - 0x234]
and ebx, 0xffffffdf
mov dword [ebp - 0x2dc], ebx
cmp edx, 0x10
jb 0x100aa1ac
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa1a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
add esp, 8
mov dword [ebp - 4], 8
test bl, 0x10
je 0x100aa1fb
mov edx, dword [ebp - 0x24c]
and ebx, 0xffffffef
mov dword [ebp - 0x2dc], ebx
cmp edx, 0x10
jb 0x100aa1fb
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100aa1f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aa55e
push edx
push ecx
call fcn.100b4813
add esp, 8
mov ecx, dword [ebp - 0x2f4]
mov eax, ecx
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x100aa212
mov eax, dword [ecx]
xor ecx, ecx
push 0x100f53be
mov word [eax], cx
lea ecx, [ebp - 0x230]
push str.crxzip
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100aa23d
cmp cl, 6
je 0x100aa23d
cmp cl, 7
jne 0x100aa24c
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100aa332
push 0x100f53be
push str.crxzip
lea ecx, [ebp - 0x230]
call fcn.10015d00
cmp byte [eax + 8], 4
jne 0x100aa332
push 0x100f53be
push str.crxzip
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.10015220
mov dword [ebp - 0x2f0], eax
test eax, eax
jne 0x100aa295
xor edi, edi
jmp 0x100aa303
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x2ec], eax
test eax, eax
jne 0x100aa2b7
xor edi, edi
jmp 0x100aa303
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b4821
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100b7060
add esp, 0xc
test edi, edi
je 0x100aa303
push dword [ebp - 0x2ec]
push edi
push 0xffffffffffffffff
push dword [ebp - 0x2f0]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, edi
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100aa310
mov ecx, dword [ebp - 0x2f4]
sub edx, esi
sar edx, 1
push edx
push edi
call fcn.10002ec0
mov esi, dword [ebp - 0x2e4]
push 0x100f53c7
push str.browser
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov cl, byte [eax + 8]
test cl, cl
je 0x100aa358
cmp cl, 6
je 0x100aa358
cmp cl, 7
jne 0x100aa363
mov ecx, eax
call fcn.10015800
test eax, eax
je 0x100aa3a1
push 0x100f53c7
push str.browser
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.100164a0
test al, al
je 0x100aa3a1
push 0x100f53c7
push str.browser
lea ecx, [ebp - 0x230]
call fcn.10015d00
mov ecx, eax
call fcn.10015480
jmp 0x100aa3a4
or eax, 0xffffffff
mov edx, dword [ebp - 0x2e8]
lea edi, [edx + 0x9c]
mov dword [edx + 0xcc], eax
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x100aa3c7
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
cmp dword [edx + 0x34], ecx
je 0x100aa4c4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100aa3e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100029a0
cmp dword [esi + 0x14], 0x10
jb 0x100aa40c
mov esi, dword [esi]
mov dword [ebp - 0x2e4], esi
test esi, esi
jne 0x100aa414
xor edi, edi
jmp 0x100aa483
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x2f0], eax
test eax, eax
jne 0x100aa436
xor edi, edi
jmp 0x100aa483
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b4821
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100b7060
add esp, 0xc
test edi, edi
je 0x100aa483
push dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2e4]
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, edi
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100aa490
mov ecx, dword [ebp - 0x308]
sub edx, esi
sar edx, 1
push edx
push edi
call fcn.100029a0
mov ecx, dword [ebp - 0x308]
push 3
push 0x100f53c8
call fcn.100029a0
mov edx, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x30c]
add ecx, 0x20
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x100aa4dd
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x100aa4ea
lea edx, [ebp - 0x310]
push edx
push eax
call fcn.100aafb0
mov esi, dword [ebp - 0x2f8]
inc esi
mov dword [ebp - 0x2f8], esi
cmp esi, dword [ebp - 0x314]
jb 0x100a9b20
lea ecx, [ebp - 0x230]
mov bl, 1
call fcn.10015080
lea ecx, [ebp - 0x304]
call fcn.1000a810
jmp 0x100aa51f
xor bl, bl
lea ecx, [ebp - 0x348]
call fcn.10015080
lea ecx, [ebp - 0x330]
call fcn.10015080
lea ecx, [ebp - 0x2d8]
call fcn.1000a490
mov al, bl
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.100b47d2
mov esp, ebp
pop ebp
ret
call fcn.100ba02c
int3