Function at 0x4092e0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x258
mov eax, dword [0x41c028]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x25c]
push ebx
push ebp
push esi
push edi
push 0x206
mov dword [esp + 0x24], eax
xor ebp, ebp
lea eax, [esp + 0x5e]
xor edx, edx
push ebp
push eax
mov dword [esp + 0x28], ecx
xor ebx, ebx
mov word [esp + 0x64], dx
call fcn.0040e6d0
add esp, 0xc
push str.ntdll.dll
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebp
jne 0x40936b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10000
push ebp
push ebp
push eax
call fcn.004148f0
mov ebx, eax
add ebx, 0x6f0000
mov ebp, edx
adc ebp, 0x15
push ebp
push ebx
push 0x70
jmp 0x4094ff
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtOpenSymbolicLinkObject
push esi
call edi
push str.NtQuerySymbolicLinkObject
push esi
mov dword [esp + 0x30], eax
call edi
push str.NtClose
push esi
mov dword [esp + 0x20], eax
call edi
push str.RtlInitUnicodeString
push esi
mov dword [esp + 0x1c], eax
call edi
push str.RtlUnicodeStringToAnsiString
push esi
mov dword [esp + 0x2c], eax
call edi
push str.RtlInitAnsiString
push esi
mov dword [esp + 0x34], eax
call edi
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4094d6
cmp dword [esp + 0x18], ebx
je 0x4094d6
cmp dword [esp + 0x14], ebx
je 0x4094d6
cmp dword [esp + 0x2c], ebx
je 0x4094d6
test eax, eax
je 0x4094d6
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x5c]
push 0x104
push edx
call fcn.00409560
add esp, 0xc
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
push ecx
call dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push 0xf0001
lea ecx, [esp + 0x18]
lea edx, [esp + 0x58]
push ecx
mov dword [esp + 0x44], 0x18
mov dword [esp + 0x50], 0x40
mov dword [esp + 0x4c], edx
call edi
test eax, eax
jge 0x409475
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10000
push 0
push 0
push eax
call fcn.004148f0
mov ebx, eax
add ebx, 0x970000
mov ebp, edx
adc ebp, 0x15
push ebp
push ebx
push 0x98
jmp 0x4094ff
mov edi, dword [esp + 0x20]
push 0x208
push 0
push edi
call fcn.0040e6d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
lea eax, [esp + 0x34]
push eax
mov edx, 0x208
push ecx
mov dword [esp + 0x40], edi
mov word [esp + 0x3e], dx
call dword [esp + 0x24]
test eax, eax
jge 0x409511
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10000
push 0
push 0
push eax
call fcn.004148f0
mov ebx, eax
add ebx, 0xa20000
mov ebp, edx
adc ebp, 0x15
push ebp
push ebx
push 0xa3
jmp 0x4094ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10000
push 0
push 0
push eax
call fcn.004148f0
mov ebx, eax
add ebx, 0x830000
mov ebp, edx
adc ebp, 0x15
push ebp
push ebx
push 0x84
push str..SymbolicLink.cpp
push str._S__d_nRet0x_016llX_n
call fcn.004019b0
add esp, 0x14
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x409527
push eax
call dword [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
test esi, esi
je 0x409532
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x264]
pop edi
pop esi
mov edx, ebp
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00409551
add esp, 0x258
ret 4