Function at 0x45da20
Capabilities:
Check os version
Get memory capacity
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4d0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0xf8]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xfc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ADVAPI32.DLL
call esi
mov ebp, eax
push str.KERNEL32.DLL
mov dword [esp + 0x20], ebp
call esi
push str.USER32.DLL
mov edi, eax
call esi
push str.NETAPI32.DLL
mov dword [esp + 0x24], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x45db2f
push str.NetStatisticsGet
push ebx
call esi
push str.NetApiBufferFree
push ebx
mov ebp, eax
call esi
test ebp, ebp
mov dword [esp + 0x18], eax
je 0x45db24
test eax, eax
je 0x45db24
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.LanmanWorkstation
push 0
call ebp
test eax, eax
jne 0x45daea
fld qword [0x475bb0]
mov edx, dword [esp + 0x14]
sub esp, 8
fstp qword [esp]
push 0xd8
push edx
call fcn.004562b0
mov eax, dword [esp + 0x24]
add esp, 0x10
push eax
call dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.LanmanServer
push 0
call ebp
test eax, eax
jne 0x45db24
fld qword [0x475b88]
mov edx, dword [esp + 0x14]
sub esp, 8
fstp qword [esp]
push 0x44
push edx
call fcn.004562b0
mov eax, dword [esp + 0x24]
add esp, 0x10
push eax
call dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x1c]
cmp dword [esp + 0x108], 2
jne 0x45dbef
cmp dword [esp + 0xfc], 5
jae 0x45dbef
xor ebx, ebx
mov dword [esp + 0x18], 0xea
xor ebp, ebp
add ebp, 0x2000
push ebp
push ebx
call fcn.0044cbae
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45db96
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0
push 0
push 0x4709e8
push getsockname
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
mov dword [esp + 0x18], eax
je 0x45db57
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45dbde
fld qword [0x46fff0]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x1c]
push 4
push edx
call fcn.004562b0
fild dword [esp + 0x24]
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x45dbc8
fadd qword [0x475b80]
fmul qword [0x475b78]
add esp, 8
fstp qword [esp]
push eax
push ebx
call fcn.004562b0
add esp, 0x10
test ebx, ebx
je 0x45dbeb
push ebx
call fcn.00449a9f
add esp, 4
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x45dce8
push 0x475b5c
push ebp
call esi
push 0x475b4c
push ebp
mov ebx, eax
call esi
push 0x475b38
push ebp
mov dword [esp + 0x24], eax
call esi
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x45dce1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x45dce1
test eax, eax
je 0x45dce1
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x34]
push eax
call ebx
test eax, eax
je 0x45dc8b
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x98]
push ecx
push 0x40
push edx
call dword [esp + 0x28]
test eax, eax
je 0x45dc80
fld qword [0x475b30]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0xa0]
push 0x40
push eax
call fcn.004562b0
add esp, 0x10
mov ecx, dword [esp + 0x24]
push 0
push ecx
call dword [esp + 0x20]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea edx, [esp + 0x34]
push edx
call ebx
test eax, eax
je 0x45dce1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x98]
push eax
push 0x40
push ecx
call dword [esp + 0x28]
test eax, eax
je 0x45dcd6
fld qword [0x475b30]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0xa0]
push 0x40
push edx
call fcn.004562b0
add esp, 0x10
mov eax, dword [esp + 0x24]
push 0
push eax
call dword [esp + 0x20]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0045d930
lea ecx, [esp + 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
fld qword [0x471ee0]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0xe0]
push 0x20
push edx
call fcn.004562b0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
fld qword [0x471ee0]
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push 4
push eax
call fcn.004562b0
mov ebp, dword [esp + 0x30]
add esp, 0x10
test ebp, ebp
je 0x45de13
push 0x475ae8
push ebp
call esi
push str.GetCursorInfo
push ebp
mov ebx, eax
call esi
push 0x475ac8
push ebp
mov dword [esp + 0x28], eax
call esi
test ebx, ebx
mov dword [esp + 0x28], eax
je 0x45dd91
call ebx
fld qword [0x46fff0]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x5c]
push 4
push ecx
mov dword [esp + 0x64], eax
call fcn.004562b0
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45ddde
cmp dword [esp + 0x108], 2
jne 0x45ddad
cmp dword [esp + 0xfc], 5
jb 0x45ddde
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], 0x14
call eax
test eax, eax
je 0x45ddde
fld qword [0x475ac0]
mov eax, dword [esp + 0x40]
sub esp, 8
fstp qword [esp]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.004562b0
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x45de0c
push 0xbf
call eax
fld qword [0x471ee0]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x34]
push 4
push edx
mov dword [esp + 0x3c], eax
call fcn.004562b0
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x45e0d3
push str.CreateToolhelp32Snapshot
push edi
call esi
push str.Heap32First
push edi
mov ebx, eax
call esi
push str.Heap32Next
push edi
mov dword [esp + 0x20], eax
call esi
push str.Heap32ListFirst
push edi
mov dword [esp + 0x24], eax
call esi
push str.Heap32ListNext
push edi
mov ebp, eax
call esi
push str.Process32First
push edi
mov dword [esp + 0x1c], eax
call esi
push str.Process32Next
push edi
mov dword [esp + 0x40], eax
call esi
push str.Thread32First
push edi
mov dword [esp + 0x3c], eax
call esi
push str.Thread32Next
push edi
mov dword [esp + 0x44], eax
call esi
push str.Module32First
push edi
mov dword [esp + 0x30], eax
call esi
push 0x475a08
push edi
mov dword [esp + 0x28], eax
call esi
test ebx, ebx
mov dword [esp + 0x30], eax
je 0x45e0cc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x45e0cc
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x45e0cc
test ebp, ebp
je 0x45e0cc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x45e0cc
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x45e0cc
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x45e0cc
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x45e0cc
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x45e0cc
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x45e0cc
test eax, eax
je 0x45e0cc
push 0
push 0xf
call ebx
mov esi, eax
test esi, esi
je 0x45e0cc
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x48], 0x10
call ebp
test eax, eax
je 0x45dfc6
mov ebp, 0x24
fld qword [0x475a00]
mov ecx, dword [esp + 0x40]
sub esp, 8
fstp qword [esp]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004562b0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
add esp, 0x10
push eax
push ecx
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x80], ebp
call dword [esp + 0x24]
test eax, eax
je 0x45dfb4
mov ebx, 0x32
fld qword [0x4759f8]
mov eax, dword [esp + 0x74]
sub esp, 8
fstp qword [esp]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004562b0
add esp, 0x10
lea edx, [esp + 0x74]
push edx
call dword [esp + 0x20]
test eax, eax
je 0x45dfb4
dec ebx
test ebx, ebx
jg 0x45df81
lea eax, [esp + 0x40]
push eax
push esi
call dword [esp + 0x1c]
test eax, eax
jne 0x45df40
lea ecx, [esp + 0x190]
push ecx
push esi
mov dword [esp + 0x198], 0x128
call dword [esp + 0x40]
test eax, eax
je 0x45e025
jmp 0x45dff0
fld qword [0x4759f0]
mov edx, dword [esp + 0x190]
sub esp, 8
fstp qword [esp]
push edx
lea eax, [esp + 0x19c]
push eax
call fcn.004562b0
add esp, 0x10
lea ecx, [esp + 0x190]
push ecx
push esi
call dword [esp + 0x3c]
test eax, eax
jne 0x45dff0
lea edx, [esp + 0x58]
push edx
push esi
mov dword [esp + 0x60], 0x1c
call dword [esp + 0x44]
test eax, eax
je 0x45e06c
jmp 0x45e040
fld qword [0x4759e8]
mov eax, dword [esp + 0x58]
sub esp, 8
fstp qword [esp]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004562b0
add esp, 0x10
lea edx, [esp + 0x58]
push edx
push esi
call dword [esp + 0x30]
test eax, eax
jne 0x45e040
lea eax, [esp + 0x2b8]
push eax
push esi
mov dword [esp + 0x2c0], 0x224
call dword [esp + 0x28]
test eax, eax
je 0x45e0c5
jmp 0x45e090
fld qword [0x4759f0]
mov ecx, dword [esp + 0x2b8]
sub esp, 8
fstp qword [esp]
push ecx
lea edx, [esp + 0x2c4]
push edx
call fcn.004562b0
add esp, 0x10
lea eax, [esp + 0x2b8]
push eax
push esi
call dword [esp + 0x38]
test eax, eax
jne 0x45e090
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret