Function at 0x46bdee
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.00473740
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x4b4f6f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, str.7078
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b716
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46be75
push ebx
call fcn.00473746
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, str.kernel32.dll
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46be91
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, str.DeleteCriticalSection_LeaveCriticalSection_EnterCriticalSection_InitializeCriticalSection_VirtualFree_VirtualAlloc_LocalFree___LocalAlloc_GetVersion_GetCurrentThreadId_WideCharToMultiByte_GetThreadLocale_GetStartupInfoA_GetModuleFileNameA_GetLocaleInfoA_GetCommandLineA_FreeLibrary_ExitProcess_WriteFile_UnhandledExceptionFilter_RtlUnwind_RaiseException_GetStdHandle
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46beab
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c6b9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46bed9
push ebx
call fcn.00473746
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_LoadLibraryA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46befb
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.004582a2
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00453cf7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046cce8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x46bfe7
mov ebx, dword [ebp - 0x10]
call fcn.004558f2
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x46bf6c
push 4
call fcn.0047374c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46bf7f
push 1
call fcn.0047374c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_GetProcAddress_1]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x46bfae
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
push 4
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_RtlMoveMemory_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46bfdb
push 6
call fcn.0047374c
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x46bf41
add esp, 0xc
mov eax, str.70D8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b716
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c00e
push ebx
call fcn.00473746
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, str.user32.dll
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46c02a
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, str.GetKeyboardType_MessageBoxA_CharNextA
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46c044
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c6b9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c072
push ebx
call fcn.00473746
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_LoadLibraryA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c094
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.004582a2
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00453cf7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046cce8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x46c180
mov ebx, dword [ebp - 0x10]
call fcn.004558f2
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x46c105
push 4
call fcn.0047374c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46c118
push 1
call fcn.0047374c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_GetProcAddress_1]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x46c147
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
push 4
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_RtlMoveMemory_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c174
push 6
call fcn.0047374c
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x46c0da
add esp, 0xc
mov eax, str.70E8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b716
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c1a7
push ebx
call fcn.00473746
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, str.advapi32.dll
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46c1c3
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, str.RegQueryValueExA_RegOpenKeyExA_RegCloseKey
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46c1dd
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c6b9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c20b
push ebx
call fcn.00473746
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_LoadLibraryA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c22d
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.004582a2
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00453cf7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046cce8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x46c319
mov ebx, dword [ebp - 0x10]
call fcn.004558f2
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x46c29e
push 4
call fcn.0047374c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46c2b1
push 1
call fcn.0047374c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_GetProcAddress_1]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x46c2e0
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
push 4
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_RtlMoveMemory_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c30d
push 6
call fcn.0047374c
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x46c273
add esp, 0xc
mov eax, str.70F8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b716
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c340
push ebx
call fcn.00473746
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, str.kernel32.dll
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46c35c
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, str.TlsSetValue_TlsGetValue_TlsFree_TlsAlloc_LocalFree_LocalAlloc
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46c376
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c6b9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c3a4
push ebx
call fcn.00473746
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_LoadLibraryA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c3c6
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.004582a2
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00453cf7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046cce8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x46c4b2
mov ebx, dword [ebp - 0x10]
call fcn.004558f2
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x46c437
push 4
call fcn.0047374c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46c44a
push 1
call fcn.0047374c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_GetProcAddress_1]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x46c479
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
push 4
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_RtlMoveMemory_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c4a6
push 6
call fcn.0047374c
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x46c40c
add esp, 0xc
mov eax, str.7114
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045b716
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c4d9
push ebx
call fcn.00473746
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, str.kernel32.dll
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46c4f5
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, str.WriteProcessMemory_VirtualFreeEx_VirtualAllocEx_VirtualAlloc_SizeofResource_SetThreadContext_ResumeThread_ReadProcessMemory___ReadFile_LockResource_LoadResource_LoadLibraryA_GetThreadContext_GetProcAddress_GetModuleHandleA_GetFileSize_GetCurrentProcess_FreeResource_FindResourceW_FindResourceA_CreateProcessA_CreateFileW_CreateFileA_CloseHandle
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46c50f
push ebx
call fcn.00473746
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c6b9
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x46c53d
push ebx
call fcn.00473746
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_LoadLibraryA_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c55f
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.004582a2
mov dword [ebp - 0x18], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 4]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00453cf7
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046cce8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x46c64b
mov ebx, dword [ebp - 0x10]
call fcn.004558f2
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x46c5d0
push 4
call fcn.0047374c
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x46c5e3
push 1
call fcn.0047374c
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_GetProcAddress_1]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x46c612
push 6
call fcn.0047374c
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
push 4
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_RtlMoveMemory_1]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x46c63f
push 6
call fcn.0047374c
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x46c5a5
add esp, 0xc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46c65e
push ebx
call fcn.00473746
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46c66e
push ebx
call fcn.00473746
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x46c68c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x46c688
imul eax, dword [ebx]
jmp 0x46c67d
mov ecx, eax
test ecx, ecx
je 0x46c6ab
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x46c6a4
push ebx
push eax
call fcn.00473746
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x46c692
call fcn.00473746
add esp, 4
mov esp, ebp
pop ebp
ret 4