Function at 0x403340
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
sub esp, 0x204
push ebx
push ebp
push esi
push edi
call fcn.004040c0
mov edi, 0x4581ac
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor ebx, ebx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [0x4583b8], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [0x4583bc], ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.vrvhook.dll
call fcn.0041a5cc
lea ecx, [esp + 0x14]
push ecx
call fcn.00405c30
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0041a55e
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x458600], eax
jne 0x40340c
lea ecx, [esp + 0x14]
push ecx
call edi
cmp eax, ebx
mov dword [0x458600], eax
jne 0x40340c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x430464
push eax
call esi
cmp eax, ebx
mov dword [0x4583c4], eax
jne 0x40343b
push str.Get_SetProcessHandle_Function_Address_Error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
mov edx, dword [0x458600]
push 0x430420
push edx
call esi
cmp eax, ebx
mov dword [0x4585d0], eax
jne 0x40346a
push str.Get_SetHelpControlVar_Function_Address_Error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
mov eax, dword [0x458600]
push 0x4303d8
push eax
call esi
cmp eax, ebx
mov dword [0x4585d4], eax
jne 0x403498
push str.Get_SetDisableCreatParam_Function_Address_Error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
mov ecx, dword [0x458600]
push 0x430390
push ecx
call esi
cmp eax, ebx
mov dword [0x4585dc], eax
jne 0x4034c7
push str.Get_SetDisableFormatUSB_Function_Address_Error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
mov edx, dword [0x458600]
push 0x430350
push edx
call esi
cmp eax, ebx
mov dword [0x4585e4], eax
jne 0x4034f6
push str.Get_StartStopHook_Function_Address_Error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
mov eax, dword [0x458600]
push 0x430314
push eax
call esi
cmp eax, ebx
mov dword [0x4583c0], eax
jne 0x403524
push str.Get_GetHookHandle_Function_Address_Error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204
ret
cmp dword [esp + 0x218], ebx
je 0x403571
push 0x4302d8
call edi
cmp eax, ebx
mov dword [0x45860c], eax
je 0x403571
push str.ImpersonateLoggedOnUser
push eax
call esi
cmp eax, ebx
mov dword [0x4585ec], eax
jne 0x403554
mov dword [0x4585ec], ebx
mov ecx, dword [0x45860c]
push str.OpenProcessToken
push ecx
call esi
cmp eax, ebx
mov dword [0x4585e8], eax
jne 0x403571
mov dword [0x4585e8], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x204
ret