Function at 0x419e40
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f28b
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x58cfe0]
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, dword [ebp + 8]
push 0x44
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x464]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x464]
push 0
call fcn.00458e00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x464]
call fcn.00458fd0
xor esi, esi
test eax, eax
je 0x41a222
push 1
push 0x548fb8
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x478], esi
call fcn.00472600
add esp, 8
lea ecx, [ebp - 0x464]
call fcn.00458fe0
mov dword [ebp - 0x474], eax
test eax, eax
je 0x41a206
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x470], edi
test edi, edi
je 0x41a109
push edi
lea ecx, [ebp - 0x464]
call fcn.004590c0
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x480], eax
call fcn.004591d0
test eax, eax
je 0x41a100
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
push edi
call dword [ebp - 0x444]
test eax, eax
je 0x41a01c
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
jne 0x419f84
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004823d0
add esp, 0x10
xor edi, edi
test ebx, ebx
jle 0x41a016
nop
mov eax, dword [ebp - 0x47c]
push 0
push 0xffffffffffffffff
push 0x5c
mov esi, dword [eax + edi*4]
push esi
call fcn.0049c290
add esp, 0x10
test eax, eax
jne 0x419fc4
lea eax, [ebp - 0x420]
push eax
call fcn.0048ed30
push eax
push esi
call fcn.0050d5a0
add esp, 0xc
jmp 0x41a007
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x419ff1
push eax
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004823d0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0050d5a0
add esp, 8
test eax, eax
je 0x41a034
inc edi
cmp edi, ebx
jl 0x419f90
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov edi, dword [ebp - 0x470]
lea ecx, [ebp - 0x464]
call fcn.004591d0
test eax, eax
jne 0x419f33
jmp 0x41a100
cmp edi, ebx
mov edi, dword [ebp - 0x470]
jge 0x41a199
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x480]
push edi
call dword [ebp - 0x444]
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x41a01c
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x41a01c
mov eax, dword [ebp - 0x46c]
test eax, eax
jne 0x41a0a1
push 1
push eax
call fcn.0048f480
add esp, 8
mov dword [ebp - 0x46c], eax
test eax, eax
je 0x41a1d5
push dword [ebp - 0x474]
mov ecx, eax
call fcn.0048ce40
test eax, eax
je 0x41a1d5
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a0c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x46c]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0048d000
test eax, eax
je 0x41a1d5
mov ecx, dword [ebp - 0x46c]
call fcn.0048c050
test eax, eax
je 0x41a1d5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea ecx, [ebp - 0x464]
call fcn.004591b0
mov dword [ebp - 0x474], eax
test eax, eax
jne 0x419ef0
mov ebx, dword [ebp - 0x46c]
test ebx, ebx
je 0x41a1db
lea eax, [ebp - 0x468]
mov ecx, ebx
push eax
call fcn.0048c3d0
test eax, eax
je 0x41a1db
push 0
mov ecx, ebx
call fcn.0048ce40
test eax, eax
je 0x41a1db
push 0
mov ecx, ebx
call fcn.0048d040
test eax, eax
je 0x41a1db
lea eax, [ebp - 0x468]
mov ecx, ebx
push eax
call fcn.0048c3d0
test eax, eax
je 0x41a1db
push dword [ebp - 0x468]
call fcn.004e6b5b
mov esi, eax
add esp, 4
test esi, esi
jne 0x41a1a4
push str.WhoIsUsingTheDllNt
call fcn.0048a0f0
add esp, 4
jmp 0x41a1dd
mov esi, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
jmp 0x41a01c
push 0
push 0
mov ecx, ebx
call fcn.0048dab0
test eax, eax
je 0x41a1dd
push dword [ebp - 0x468]
mov ecx, ebx
push esi
call fcn.0048d060
xor ecx, ecx
mov edx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x478], ecx
jmp 0x41a1dd
mov ebx, dword [ebp - 0x46c]
xor esi, esi
test edi, edi
je 0x41a1e8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x41a1fd
push 0
mov ecx, ebx
call fcn.0048bfe0
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
cmp dword [ebp - 0x478], 0
jne 0x41a213
push 8
push esi
call fcn.00507268
add esp, 8
xor esi, esi
push 0
push 0x548fb8
call fcn.00472600
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
call fcn.00458f60
mov eax, esi
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.00507257
mov esp, ebp
pop ebp
ret