Function at 0x411300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x58a464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x420]
push 0x104
push eax
call esi
push 0x56f3b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x411362
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x58fe58], eax
jmp 0x411367
mov eax, dword [0x58fe58]
test eax, eax
je 0x411372
push 0x800
call eax
push 0x56e974
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0x104
lea eax, [ebp - 0x218]
push eax
call esi
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x4113b5
xor ecx, ecx
jmp 0x4113cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4113c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 0xc
push str._version.dll
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x411403
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x411431
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x41145b
xor ecx, ecx
jmp 0x411473
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411464
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 0xb
push str.ws2_32.dll
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 1
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x4114a7
mov eax, dword [eax]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x4114cf
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x4114f9
xor ecx, ecx
jmp 0x411511
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411502
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 8
push str._sxs.dll
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 2
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x411545
mov eax, dword [eax]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x41156d
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x411597
xor ecx, ecx
jmp 0x4115af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4115a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 0xb
push str.dwmapi.dll
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 3
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x4115e3
mov eax, dword [eax]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x41160b
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x411635
xor ecx, ecx
jmp 0x41164f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411640
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 0xc
push str.msimg32.dll
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 4
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x411683
mov eax, dword [eax]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x4116ab
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x4116d5
xor ecx, ecx
jmp 0x4116ef
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4116e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 0xa
push str.d3d8.dll_
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 5
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x411723
mov eax, dword [eax]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x41174b
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x411775
xor ecx, ecx
jmp 0x41178f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411780
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 0xc
push str.ieframe.dll
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 6
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x4117c3
mov eax, dword [eax]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x4117eb
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x411815
xor ecx, ecx
jmp 0x41182f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411820
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004065f0
push 0xc
push str.ws2help.dll
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 7
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x411863
mov eax, dword [eax]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x41188b
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00406d50
xor eax, eax
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
cmp word [ebp - 0x218], ax
jne 0x4118b5
xor ecx, ecx
jmp 0x4118cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4118c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x450]
call fcn.004065f0
push 0x12
push str.WindowsCodecs.dll
lea ecx, [ebp - 0x450]
mov dword [ebp - 4], 8
call fcn.00406810
cmp dword [eax + 0x14], 8
jb 0x411903
mov eax, dword [eax]
push eax
call esi
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x411924
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00406d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f0482
mov esp, ebp
pop ebp
ret