Function at 0x408130
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x467802
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x487bb0]
xor eax, esp
mov dword [esp + 0x484], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487bb0]
xor eax, esp
push eax
lea eax, [esp + 0x49c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4b0]
mov edi, dword [esp + 0x4ac]
mov ebp, dword [esp + 0x4b4]
push str.ADSafe3
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
cmp esi, dword [edi + 0x10]
jbe 0x4081a8
call fcn.004507b0
mov ebx, dword [edi]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x4081bf
call fcn.004507b0
mov eax, dword [edi]
test ebx, ebx
je 0x4081c9
cmp ebx, eax
je 0x4081ce
call fcn.004507b0
cmp dword [esp + 0x18], esi
je 0x4089d2
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, dword [ebp + 0x10]
jbe 0x4081e7
call fcn.004507b0
mov ebp, dword [ebp]
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x10]
cmp dword [eax + 0xc], edi
jbe 0x408205
call fcn.004507b0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test ebp, ebp
je 0x40820f
cmp ebp, eax
je 0x408214
call fcn.004507b0
cmp esi, edi
je 0x40829c
test ebp, ebp
jne 0x40825d
call fcn.004507b0
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x408231
call fcn.004507b0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x408262
call fcn.004507b0
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x408252
call fcn.004507b0
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x18], 8
jb 0x408266
mov eax, dword [ecx + 4]
jmp 0x408269
mov eax, dword [ebp]
jmp 0x408227
mov eax, dword [eax]
jmp 0x408240
lea eax, [ecx + 4]
mov ecx, dword [esi]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x40827a
lea ebx, [eax + 1]
test ebp, ebp
jne 0x408297
call fcn.004507b0
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x40828f
call fcn.004507b0
add esi, 4
jmp 0x4081f0
mov eax, dword [ebp]
jmp 0x408285
test ebx, ebx
jne 0x40899b
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x408404
call fcn.004507b0
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x4082c5
call fcn.004507b0
mov ebp, dword [esp + 0x18]
push 7
xor ebx, ebx
push ebx
push str.ADSafe3
mov ecx, ebp
call fcn.00401a00
mov edi, eax
cmp edi, 0xffffffff
je 0x40899b
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x40840b
call fcn.004507b0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x408302
call fcn.004507b0
mov eax, dword [esp + 0x14]
mov esi, dword [ebp + 0x14]
cmp eax, ebx
jne 0x408412
call fcn.004507b0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x408322
call fcn.004507b0
mov eax, dword [esp + 0x2c]
sub esi, edi
sub esi, eax
dec esi
push esi
lea eax, [edi + eax + 1]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebp
call fcn.004044a0
push 0xb
push ebx
push str.Install.xml
lea ecx, [esp + 0x78]
mov dword [esp + 0x4b0], ebx
call fcn.00401a00
cmp eax, 0xffffffff
jne 0x4084a2
push 0x208
lea edx, [esp + 0x294]
push ebx
push edx
call fcn.0044fe60
mov ecx, dword [esp + 0x7c]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x84], esi
jae 0x40838a
lea ecx, [esp + 0x70]
mov eax, dword [0x486e58]
cmp dword [0x486e6c], esi
jae 0x40839c
mov eax, 0x486e58
push ecx
push eax
lea eax, [esp + 0x298]
push 0x46c8b4
push eax
call fcn.00401040
lea ecx, [esp + 0x2a0]
push ecx
call fcn.004230a0
lea edx, [esp + 0x2a4]
push edx
call fcn.00423030
add esp, 0x18
test eax, eax
je 0x4083e1
lea eax, [esp + 0x290]
push eax
call fcn.00423220
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x408419
call fcn.004507b0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4083fa
call fcn.004507b0
cmp dword [ebp + 0x18], esi
jb 0x40841d
mov eax, dword [ebp + 4]
jmp 0x408420
mov eax, dword [eax]
jmp 0x4082b7
mov eax, dword [eax]
jmp 0x4082f8
mov eax, dword [eax]
jmp 0x408318
mov eax, dword [eax]
jmp 0x4083f0
lea eax, [ebp + 4]
push 1
lea ecx, [esp + 0x294]
push ecx
push eax
call fcn.00423fe0
add esp, 0xc
xor edx, edx
lea eax, [esp + 0x290]
mov word [esp + 0x54], dx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408450
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x294]
push eax
lea ecx, [esp + 0x58]
call fcn.00403680
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x4a8], 1
call fcn.00407e00
mov byte [esp + 0x4a4], 0
cmp dword [esp + 0x68], esi
jb 0x4084a2
mov edx, dword [esp + 0x54]
push edx
call fcn.0044fc16
add esp, 4
mov eax, dword [esp + 0x70]
mov esi, 8
cmp dword [esp + 0x84], esi
jae 0x4084b8
lea eax, [esp + 0x70]
push 0xf
push str.DMProtect64.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
je 0x40853e
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], esi
jae 0x4084dd
lea eax, [esp + 0x70]
push 0xd
push str.DMProtect.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
je 0x40853e
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], esi
jae 0x408502
lea eax, [esp + 0x70]
push 0xa
push str.DMWP64.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
je 0x40853e
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], esi
jae 0x408527
lea eax, [esp + 0x70]
push esi
push str.DMWP.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
jne 0x40895f
push 0x206
lea ecx, [esp + 0x8e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x94], ax
call fcn.0044fe60
add esp, 0xc
push 0x104
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.0040a9b0
cmp eax, ebx
mov eax, dword [esp + 0x70]
je 0x4085cd
cmp dword [esp + 0x84], esi
jae 0x40858b
lea eax, [esp + 0x70]
push 0xf
push str.DMProtect64.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
jne 0x40861d
lea edi, [esp + 0x88]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4085b0
mov ecx, 0x11
mov esi, str._system32DRIVERSDMProtect64.sys
rep movsd dword es:[edi], dword [esi]
jmp 0x408816
cmp dword [esp + 0x84], esi
jae 0x4085da
lea eax, [esp + 0x70]
push 0xd
push str.DMProtect.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
jne 0x408710
lea edi, [esp + 0x88]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x408600
mov ecx, 0x10
mov esi, str._system32DRIVERSDMProtect.sys
rep movsd dword es:[edi], dword [esi]
jmp 0x408816
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], esi
jae 0x40862e
lea eax, [esp + 0x70]
push 0xa
push str.DMWP64.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
jne 0x40897a
lea edi, [esp + 0x88]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x408650
mov ecx, 0xe
mov esi, str._system32DRIVERSDMWP64.sys
rep movsd dword es:[edi], dword [esi]
sub esp, 0x1c
movsw word es:[edi], word [esi]
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
lea eax, [esp + 0xa4]
mov dword [esp + 0x44], esp
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x408690
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0xa8]
push edx
call fcn.00403680
mov eax, dword [esp + 0x30]
mov byte [esp + 0x4c0], 2
cmp eax, ebx
jne 0x4086d9
call fcn.004507b0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4086ce
call fcn.004507b0
cmp dword [ebp + 0x18], 8
jb 0x4086dd
mov esi, dword [ebp + 4]
jmp 0x4086e0
mov eax, dword [eax]
jmp 0x4086c4
lea esi, [ebp + 4]
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
mov eax, esi
mov dword [esp + 0x58], esp
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x408700
jmp 0x4087fb
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], esi
jae 0x408721
lea eax, [esp + 0x70]
push esi
push str.DMWP.sys
push eax
call fcn.00450f6c
add esp, 0xc
test eax, eax
jne 0x40897a
lea edi, [esp + 0x88]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x408742
mov ecx, 0xd
mov esi, 0x46d7c4
rep movsd dword es:[edi], dword [esi]
sub esp, 0x1c
movsw word es:[edi], word [esi]
mov ecx, esp
xor edx, edx
lea eax, [esp + 0xa4]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x3c], esp
mov word [ecx + 4], dx
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x408780
sub eax, esi
sar eax, 1
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00403680
mov eax, dword [esp + 0x30]
mov byte [esp + 0x4c0], 3
cmp eax, ebx
jne 0x4087c9
call fcn.004507b0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4087be
call fcn.004507b0
cmp dword [ebp + 0x18], 8
jb 0x4087cd
mov esi, dword [ebp + 4]
jmp 0x4087d0
mov eax, dword [eax]
jmp 0x4087b4
lea esi, [ebp + 4]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov eax, esi
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x60], esp
mov word [ecx + 4], dx
lea edi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4087f0
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00403680
mov byte [esp + 0x4dc], 0
call fcn.00404e10
add esp, 0x38
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
lea eax, [esp + 0xa4]
mov dword [esp + 0x3c], esp
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x408840
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0xa8]
push edx
call fcn.00403680
mov eax, dword [esp + 0x30]
mov byte [esp + 0x4c0], 4
cmp eax, ebx
jne 0x408889
call fcn.004507b0
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x40887e
call fcn.004507b0
cmp dword [ebp + 0x18], 8
jb 0x40888d
mov esi, dword [ebp + 4]
jmp 0x408890
mov eax, dword [eax]
jmp 0x408874
lea esi, [ebp + 4]
sub esp, 0x1c
mov ecx, esp
mov ebp, 7
xor eax, eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov word [ecx + 4], ax
mov eax, esi
mov dword [esp + 0x60], esp
lea edi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4088b0
sub eax, edi
sar eax, 1
push eax
push esi
call fcn.00403680
mov byte [esp + 0x4dc], 0
call fcn.00404e10
add esp, 0x38
test al, al
je 0x4088df
call fcn.00404a60
xor ecx, ecx
lea eax, [esp + 0x88]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
lea edx, [eax + 2]
jmp 0x408900
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408900
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x3c]
call fcn.00403680
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x4a8], 5
call fcn.00407e00
cmp dword [esp + 0x4c], 8
jb 0x40894b
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0044fc16
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], dx
mov esi, 8
mov dword [esp + 0x4a4], 0xffffffff
cmp dword [esp + 0x84], esi
jb 0x40899b
mov eax, dword [esp + 0x70]
push eax
jmp 0x408993
mov dword [esp + 0x4a4], 0xffffffff
cmp dword [esp + 0x84], esi
jb 0x40899b
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0044fc16
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4089ce
call fcn.004507b0
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x4089b8
call fcn.004507b0
add dword [esp + 0x18], 0x1c
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
jmp 0x4081b2
mov eax, dword [eax]
jmp 0x4089aa
mov eax, 1
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x484]
xor ecx, esp
call fcn.0044ffb3
add esp, 0x494
ret