Function at 0x45125f
Capabilities:
Link many functions at runtime

Disassembly:
push 0x960
push 0x464040
call fcn.00453b00
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x970], edi
xor ebx, ebx
mov dword [ebp - 0x96c], ebx
mov dword [ebp - 0x968], ebx
xor eax, eax
mov word [ebp - 0x624], ax
mov esi, 0x1fe
push esi
push ebx
lea eax, [ebp - 0x622]
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
mov word [ebp - 0x21c], ax
push esi
push ebx
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push ebx
lea eax, [ebp - 0x422]
push eax
call sub.MSVCR100.dll_memset
add esp, 0x24
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov dword [ebp - 0x738], 0x114
lea eax, [ebp - 0x738]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
jne 0x45130c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x4515f7
cmp dword [ebp - 0x728], 2
jne 0x451323
cmp dword [ebp - 0x734], 4
jne 0x451323
xor eax, eax
inc eax
jmp 0x451325
xor eax, eax
mov dword [0x46cbf0], eax
cmp dword [ebp - 0x728], 2
jne 0x45137e
push str.VDMDBG.DLL
call fcn.0044e639
pop ecx
mov dword [0x46cbf8], eax
cmp eax, ebx
je 0x45137e
push str.VDMEnumTaskWOWEx
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x46cbdc], eax
cmp eax, ebx
je 0x45136a
mov dword [0x46cbfc], 1
jmp 0x451384
push dword [0x46cbf8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x46cbf8], ebx
jmp 0x451384
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.00450e7b
push str.KERNEL32.DLL
call fcn.0044e639
pop ecx
mov dword [0x46cbf4], eax
cmp eax, ebx
je 0x4512f6
push 0x46182c
push eax
call esi
mov dword [0x46cbc4], eax
push str.Process32FirstW
push dword [0x46cbf4]
call esi
mov dword [0x46cbe4], eax
push str.Process32NextW
push dword [0x46cbf4]
call esi
mov dword [0x46cbe8], eax
push str.Module32FirstW
push dword [0x46cbf4]
call esi
mov dword [0x46cbe0], eax
push str.Module32NextW
push dword [0x46cbf4]
call esi
mov dword [0x46cbcc], eax
cmp dword [0x46cbe8], ebx
je 0x45157d
cmp dword [0x46cbe4], ebx
je 0x45157d
cmp eax, ebx
je 0x45157d
cmp dword [0x46cbe0], ebx
je 0x45157d
mov eax, dword [0x46cbc4]
cmp eax, ebx
je 0x45157d
push ebx
push 2
call eax
mov dword [ebp - 0x968], eax
cmp eax, 0xffffffff
je 0x45157d
mov dword [ebp - 0x964], 0x22c
lea ecx, [ebp - 0x964]
push ecx
push eax
call dword [0x46cbe4]
mov edi, 0x4b8
cmp eax, ebx
je 0x451556
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
pop ecx
mov esi, eax
cmp esi, ebx
je 0x451526
push edi
push ebx
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x95c]
mov dword [esi + 8], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x624]
push eax
push ebx
push ebx
lea eax, [ebp - 0x940]
push eax
call dword [sym.imp.MSVCR100.dll__wsplitpath]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x624]
push eax
push str._s_s
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.MSVCR100.dll__swprintf]
lea ebx, [esi + 0x60]
push 0x28
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0x3c
xor eax, eax
mov word [esi + 0xae], ax
push esi
push dword [ebp - 0x95c]
cmp dword [ebp + 8], eax
je 0x45151d
call fcn.00450ecf
pop ecx
pop ecx
cmp dword [0x46cbfc], 0
je 0x451524
push str.NTVDM.EXE
push ebx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x451524
push esi
call fcn.004511d3
jmp 0x451523
call fcn.00451079
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x964], 0x22c
lea eax, [ebp - 0x964]
push eax
push dword [ebp - 0x968]
call dword [0x46cbe8]
mov ecx, dword [ebp - 0x96c]
mov dword [esi], ecx
mov dword [ebp - 0x96c], esi
jmp 0x451460
push dword [ebp - 0x968]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x968], ebx
push dword [0x46cbf4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xfffffffe
jmp 0x4515db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push dword [0x46cbf4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4512fe
mov eax, dword [0x46cbf8]
cmp eax, ebx
je 0x4515eb
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x46cbf8], ebx
mov eax, dword [ebp - 0x96c]
call fcn.00453b48
ret