Function at 0x10001b2c
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.1001fb4e
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x1002e5ed
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.100024be
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10001bb3
push ebx
call fcn.1001fb54
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 0x10001bcf
push ebx
call fcn.1001fb54
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 0x10001be9
push ebx
call fcn.1001fb54
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.10002531
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10001c17
push ebx
call fcn.1001fb54
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10001c39
push 6
call fcn.1001fb5a
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001b13
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.1000121c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002c44
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 0x10001d25
mov ebx, dword [ebp - 0x10]
call fcn.10001243
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10001caa
push 4
call fcn.1001fb5a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10001cbd
push 1
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10001cec
push 6
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10001d19
push 6
call fcn.1001fb5a
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x10001c7f
add esp, 0xc
mov eax, str.70D8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100024be
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10001d4c
push ebx
call fcn.1001fb54
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 0x10001d68
push ebx
call fcn.1001fb54
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 0x10001d82
push ebx
call fcn.1001fb54
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.10002531
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10001db0
push ebx
call fcn.1001fb54
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10001dd2
push 6
call fcn.1001fb5a
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001b13
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.1000121c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002c44
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 0x10001ebe
mov ebx, dword [ebp - 0x10]
call fcn.10001243
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10001e43
push 4
call fcn.1001fb5a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10001e56
push 1
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10001e85
push 6
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10001eb2
push 6
call fcn.1001fb5a
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x10001e18
add esp, 0xc
mov eax, str.70E8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100024be
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10001ee5
push ebx
call fcn.1001fb54
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 0x10001f01
push ebx
call fcn.1001fb54
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 0x10001f1b
push ebx
call fcn.1001fb54
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.10002531
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10001f49
push ebx
call fcn.1001fb54
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10001f6b
push 6
call fcn.1001fb5a
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001b13
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.1000121c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002c44
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 0x10002057
mov ebx, dword [ebp - 0x10]
call fcn.10001243
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10001fdc
push 4
call fcn.1001fb5a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10001fef
push 1
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1000201e
push 6
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1000204b
push 6
call fcn.1001fb5a
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x10001fb1
add esp, 0xc
mov eax, str.70F8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100024be
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000207e
push ebx
call fcn.1001fb54
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 0x1000209a
push ebx
call fcn.1001fb54
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 0x100020b4
push ebx
call fcn.1001fb54
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.10002531
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100020e2
push ebx
call fcn.1001fb54
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10002104
push 6
call fcn.1001fb5a
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001b13
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.1000121c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002c44
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 0x100021f0
mov ebx, dword [ebp - 0x10]
call fcn.10001243
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10002175
push 4
call fcn.1001fb5a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002188
push 1
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x100021b7
push 6
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100021e4
push 6
call fcn.1001fb5a
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x1000214a
add esp, 0xc
mov eax, str.7114
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100024be
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10002217
push ebx
call fcn.1001fb54
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 0x10002233
push ebx
call fcn.1001fb54
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 0x1000224d
push ebx
call fcn.1001fb54
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.10002531
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000227b
push ebx
call fcn.1001fb54
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1000229d
push 6
call fcn.1001fb5a
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001b13
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.1000121c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10002c44
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 0x10002389
mov ebx, dword [ebp - 0x10]
call fcn.10001243
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x1000230e
push 4
call fcn.1001fb5a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002321
push 1
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10002350
push 6
call fcn.1001fb5a
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]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1000237d
push 6
call fcn.1001fb5a
add esp, 4
add dword [ebp - 0x1c], 4
pop eax
pop ebx
pop ecx
jmp 0x100022e3
add esp, 0xc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000239c
push ebx
call fcn.1001fb54
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100023ac
push ebx
call fcn.1001fb54
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x100023ca
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x100023c6
imul eax, dword [ebx]
jmp 0x100023bb
mov ecx, eax
test ecx, ecx
je 0x100023e9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x100023e2
push ebx
push eax
call fcn.1001fb54
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x100023d0
call fcn.1001fb54
add esp, 4
mov esp, ebp
pop ebp
ret 4