Function at 0x419ab0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x864
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.ntdll.dll
mov dword [esp + 0x18], ebx
stosb byte es:[edi], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x419d20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlInitUnicodeString
push esi
call edi
push str.RtlEqualUnicodeString
push esi
mov dword [0x478cac], eax
call edi
push str.ZwOpenDirectoryObject
push esi
mov dword [0x478ca8], eax
call edi
push str.ZwQueryDirectoryObject
push esi
mov dword [0x478ca4], eax
call edi
push str.ZwOpenSymbolicLinkObject
push esi
mov dword [0x478ca0], eax
call edi
push str.ZwQuerySymbolicLinkObject
push esi
mov dword [0x478c9c], eax
call edi
push str.ZwClose
push esi
mov dword [0x478c98], eax
call edi
mov dword [0x478c94], eax
lea eax, [esp + 0x68]
push str.global__
push eax
call dword [0x478cac]
mov ecx, dword [esp + 0x874]
lea edx, [esp + 0x60]
push ecx
push edx
call dword [0x478cac]
lea ecx, [esp + 0x40]
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x6c]
push 1
push edx
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], 0x40
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call dword [0x478ca4]
test eax, eax
jne 0x419d20
lea eax, [esp + 0x58]
push str.SymbolicLink
push eax
call dword [0x478cac]
push 0x400
push 2
mov word [esp + 0x20], bx
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x419d20
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov word [esp + 0x1a], 0x400
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ebx
push 1
lea eax, [esp + 0x80]
push 0x800
push eax
push ecx
call dword [0x478ca0]
cmp eax, ebx
jne 0x419d20
lea edx, [esp + 0x58]
push 1
lea eax, [esp + 0x7c]
push edx
push eax
call dword [0x478ca8]
test al, al
je 0x419bf0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x74]
push 1
push ecx
mov dword [esp + 0x34], 0x18
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [0x478c9c]
test eax, eax
jne 0x419d20
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ebx
push edx
push eax
call dword [0x478c98]
test eax, eax
jne 0x419cf9
lea ecx, [esp + 0x60]
push 1
lea edx, [esp + 0x1c]
push ecx
push edx
call dword [0x478ca8]
test al, al
je 0x419cc9
mov eax, dword [esp + 0x74]
push eax
call esi
add esp, 4
cmp eax, 2
jne 0x419cc9
mov ecx, dword [esp + 0x74]
mov ax, word [ecx]
cmp ax, 0x41
jb 0x419cc9
cmp ax, 0x5a
ja 0x419cc9
cmp word [ecx + 2], 0x3a
je 0x419d06
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
and ecx, 0xffff
xor eax, eax
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
call dword [0x478c94]
jmp 0x419bf0
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x478c94]
jmp 0x419d20
mov edx, dword [esp + 0x878]
push ecx
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
pop ebx
je 0x419d32
push eax
call dword [0x478c94]
mov eax, dword [esp + 8]
add esp, 0x864
ret