Function at 0x411960
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x234]
sub esp, 0x234
push 0xffffffffffffffff
push 0x4b4d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4d57fc]
xor eax, ebp
mov dword [ebp + 0x230], 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 - 0x18], ebx
mov eax, dword [ebp + 0x23c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x240]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetErrorMode]
mov dword [ebp - 0x40], eax
or eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x58], eax
xor esi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], esi
mov ebx, dword [ebx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x4b9328]
mov ecx, ebx
call edi
test al, al
jne 0x411d88
mov ebx, dword [ebp - 0x3c]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x411a55
lea eax, [ebp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x411a55
push 0x4bcc74
lea eax, [ebp + 0x20]
push 0x104
push eax
call fcn.0047fc16
push ebx
lea eax, [ebp + 0x20]
push 0x104
push eax
call fcn.0047fc16
lea ebx, [ebp + 0x20]
add esp, 0x18
mov dword [ebp - 0x3c], ebx
call fcn.0041aa10
push 2
push 0
push ebx
mov edi, eax
mov dword [ebp + 0x22c], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x411d8b
cmp dword [ebx + 0x18], 0
je 0x411a91
call fcn.0041aa10
mov ecx, dword [ebx + 0x18]
sub eax, edi
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x38]
push 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push ecx
push 0x29bb
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x411cde
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], ecx
lea edx, [eax + eax]
mov ecx, dword [ebp - 0x64]
xor edi, edi
mov dword [ebp - 0x48], ecx
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x54], edi
sar ecx, 1
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x2c], ecx
cmp edx, 2
jb 0x411b20
cmp ecx, 0x7fffffff
ja 0x411e45
push ecx
lea ecx, [ebp - 0x54]
lfence
call fcn.00408880
push dword [ebp - 0x70]
mov edi, eax
lfence
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x48]
mov dword [ebp - 0x54], edi
push edi
lea eax, [edi + eax*2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x4c], eax
call fcn.004643e0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x50], ecx
mov eax, ecx
xor ecx, ecx
mov byte [ebp - 4], 3
mov word [ebp - 0x2a], cx
lea ecx, [ebp - 0x2a]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0040fee0
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x4c]
push eax
lea eax, [ebp + 0x228]
mov dword [ebp - 0x20], ecx
push eax
mov dword [ebp - 0x30], edi
mov dword [ebp + 0x228], 0x3b002c
mov dword [ebp + 0x22c], 0x20
mov dword [ebp - 0x68], 0
push edi
call fcn.0047fd64
mov edi, eax
add esp, 0xc
test edi, edi
je 0x411c38
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
test eax, eax
je 0x411bd7
movaps xmm0, xmmword [str.NvcPluginLoadHeP]
lea eax, [ebp]
push str.Dependency_module__ls_has_been_loaded_already
push 3
push 0xd8
push eax
push dword [ebx]
movups xmmword [ebp], xmm0
mov dword [ebp + 0x10], 0x7265706c
mov dword [ebp + 0x14], 0x336e6957
mov dword [ebp + 0x18], 0x70632e32
mov word [ebp + 0x1c], 0x70
call fcn.0041eb00
add esp, 0x18
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x228]
push eax
push 0
jmp 0x411b6a
mov ecx, ebx
call fcn.004113a0
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x411c71
mov byte [ebp - 0x11], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [str.NvcPluginLoadHeP]
mov esi, eax
push esi
push str.Dependency_module_load_failed
push 1
push 0xe2
lea eax, [ebp]
mov dword [ebp - 0x34], esi
push eax
push dword [ebx]
movups xmmword [ebp], xmm0
mov dword [ebp + 0x10], 0x7265706c
mov dword [ebp + 0x14], 0x336e6957
mov dword [ebp + 0x18], 0x70632e32
mov word [ebp + 0x1c], 0x70
call fcn.0041e8a0
add esp, 0x18
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test edx, edx
je 0x411cd7
mov eax, dword [ebp - 0x20]
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, edx
cmp ecx, 0x1000
jb 0x411ccd
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e4a
jmp 0x411ccd
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x28]
je 0x411c99
mov dword [ebx], eax
lea eax, [ebp - 0x68]
push eax
add ebx, 4
lea eax, [ebp + 0x228]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x18]
push 0
jmp 0x411b6a
lea eax, [ebp - 0x48]
push eax
push ebx
lea ecx, [ebp - 0x60]
call fcn.0040fd80
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x228]
push eax
push 0
jmp 0x411b6a
push ecx
push edx
call fcn.00461556
add esp, 8
mov dword [ebp - 4], 1
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x11], 0
je 0x411d9c
jmp 0x411d8b
mov ebx, dword [ebp - 0x18]
push 1
push dword [ebp - 0x3c]
mov ecx, ebx
call fcn.004116d0
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, dword [ebx + 8]
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x4b9328]
mov ecx, ebx
call edi
test al, al
jne 0x411dd7
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x1c]
cmp edi, ebx
je 0x411dd7
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add edi, 4
cmp edi, ebx
jne 0x411dc8
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
setne bl
test esi, esi
je 0x411deb
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x411e1e
mov ecx, dword [ebp - 0x28]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x411e14
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e4f
push ecx
push edx
call fcn.00461556
add esp, 8
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 + 0x230]
xor ecx, ebp
call fcn.00461564
lea esp, [ebp + 0x234]
pop ebp
ret 8
call fcn.00412690
call fcn.0046d841
call fcn.0046d841
int3