Function at 0x442100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8421
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x645154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x63c], ebx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x638], eax
mov dword [ebp - 4], 0
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x442194
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov esi, eax
call fcn.00415250
push esi
push eax
call fcn.0040e050
add esp, 8
push str.Here_1
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
push dword [ebp - 0x638]
lea ecx, [ebp - 0x668]
call fcn.0043d2b0
mov byte [ebp - 4], 1
call fcn.0040cee5
mov ecx, eax
test ecx, ecx
jne 0x4421be
push 0x80004005
call fcn.00402c5b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
push 4
push str.ven_
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 2
call fcn.00402822
lea ecx, [ebp - 0x668]
call fcn.0043df00
mov edx, eax
test edx, edx
jne 0x4421f7
xor ecx, ecx
jmp 0x44220f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442200
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x630]
call fcn.00404602
push 5
push str.dev_
lea ecx, [ebp - 0x630]
call fcn.00404602
lea ecx, [ebp - 0x668]
call fcn.0043d690
mov edx, eax
test edx, edx
jne 0x442243
xor ecx, ecx
jmp 0x44225f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442250
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x630]
call fcn.00404602
push 0x1f4
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x4422cf
mov edx, dword [ebp - 0x630]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4422a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x668]
call fcn.0043d4b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00595c5d
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp word [ebp + eax*2 - 0x426], 0x5c
je 0x4422fb
push 0x5dc364
lea eax, [ebp - 0x424]
push eax
call esi
push str.inf_
lea eax, [ebp - 0x424]
push eax
call esi
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x634]
call fcn.0040d2c0
mov byte [ebp - 4], 3
test edi, edi
jne 0x442327
xor ecx, ecx
jmp 0x44233f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442330
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x634]
call fcn.00404602
lea eax, [ebp - 0x66c]
push eax
mov eax, dword [ebx + 0x40]
push 2
push 0
push dword [ebp - 0x634]
call eax
mov edi, eax
mov dword [ebp - 0x638], edi
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x4423b2
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov esi, eax
call fcn.00415250
push esi
push eax
call fcn.0040e050
add esp, 8
push str.Here_2
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
cmp edi, 0xffffffff
jne 0x4423f5
mov edx, dword [ebp - 0x634]
or esi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4423db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x630]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x44229a
lea eax, [ebp - 0x64c]
push eax
mov eax, dword [ebx + 0x34]
push 0
push str.Manufacturer
push edi
call eax
test eax, eax
je 0x4423b7
push 0
push 0x1f4
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x64c]
push eax
mov eax, dword [ebx + 0x3c]
call eax
test eax, eax
je 0x4423b7
lea eax, [ebp - 0x64c]
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebx + 0x34]
push edi
call eax
test eax, eax
jne 0x4424de
lea eax, [ebp - 0x21c]
push 0x5dfa68
push eax
call fcn.00599766
push eax
lea eax, [ebp - 0x62c]
push 0x104
push eax
call fcn.005a8044
lea ecx, [ebp - 0x21c]
add esp, 0x14
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442480
sub ecx, edx
lea edx, [ebp - 0x62c]
sar ecx, 1
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4424a0
sub edx, esi
mov eax, 0x2e
sar edx, 1
sub ecx, edx
mov word [ebp + ecx*2 - 0x21c], ax
lea eax, [ebp - 0x64c]
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebx + 0x34]
push edi
call eax
test eax, eax
jne 0x4424de
push edi
jmp 0x4427c7
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x442526
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov esi, eax
call fcn.00415250
push esi
push eax
call fcn.0040e050
add esp, 8
push 0x5dfa6c
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
push 0
push 0x1f4
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x64c]
push eax
mov eax, dword [ebx + 0x3c]
call eax
mov esi, dword [ebp - 0x630]
nop dword [eax]
test eax, eax
je 0x4427c1
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x4425a0
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov edi, eax
call fcn.00415250
push edi
push eax
call fcn.0040e050
add esp, 8
push str.Here_4
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.005a0975
lea eax, [ebp - 0x21c]
push 0x5dfa8c
push eax
call fcn.00599766
add esp, 0x10
mov edi, eax
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x442619
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov ebx, eax
call fcn.00415250
push ebx
push eax
call fcn.0040e050
add esp, 8
push str.Compare_1:
push eax
call fcn.0040d6e0
add esp, 8
push edi
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x44266b
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov ebx, eax
call fcn.00415250
push ebx
push eax
call fcn.0040e050
add esp, 8
push str.Compare_2:
push eax
call fcn.0040d6e0
add esp, 8
push esi
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
test edi, edi
je 0x442785
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442680
sub ecx, edx
sar ecx, 1
push ecx
push esi
push edi
call fcn.005a80a8
add esp, 0xc
test eax, eax
jne 0x442785
mov eax, dword [ebp - 0x63c]
push dword [ebp - 0x638]
mov eax, dword [eax + 0x44]
call eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4426b6
sub esi, ecx
sar esi, 1
cmp word [edi + esi*2], ax
je 0x44273b
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x442713
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov esi, eax
call fcn.00415250
push esi
push eax
call fcn.0040e050
add esp, 8
push str.Got_4ID
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
lea ecx, [ebp - 0x634]
call fcn.0040ed50
lea ecx, [ebp - 0x630]
call fcn.0040ed50
lea ecx, [ebp - 0x668]
call fcn.0043d4b0
xor al, al
jmp 0x4422b1
call fcn.00415250
push 3
mov ecx, eax
call fcn.004152d0
test al, al
je 0x4427cc
call fcn.00415250
push 3
mov ecx, eax
call fcn.00414940
mov esi, eax
call fcn.00415250
push esi
push eax
call fcn.0040e050
add esp, 8
push str.Got_2ID
push eax
call fcn.0040dcd0
add esp, 8
push eax
call fcn.0040e570
add esp, 4
jmp 0x4427cc
mov ebx, dword [ebp - 0x63c]
lea eax, [ebp - 0x64c]
push eax
push eax
mov eax, dword [ebx + 0x38]
call eax
test eax, eax
je 0x4427c1
push 0
push 0x1f4
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x64c]
push eax
mov eax, dword [ebx + 0x3c]
call eax
jmp 0x442550
push dword [ebp - 0x638]
mov eax, dword [ebx + 0x44]
call eax
lea ecx, [ebp - 0x634]
call fcn.0040ed50
lea ecx, [ebp - 0x630]
call fcn.0040ed50
jmp 0x4422a4