Function at 0x475ef0
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 0x475fff
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 0x475ff4
test eax, eax
je 0x475ff4
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.LanmanWorkstation
push 0
call ebp
test eax, eax
jne 0x475fba
fld qword [0x497538]
mov edx, dword [esp + 0x14]
sub esp, 8
fstp qword [esp]
push 0xd8
push edx
call fcn.00470040
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 0x475ff4
fld qword [0x497510]
mov edx, dword [esp + 0x14]
sub esp, 8
fstp qword [esp]
push 0x44
push edx
call fcn.00470040
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 0x4760bf
cmp dword [esp + 0xfc], 5
jae 0x4760bf
xor ebx, ebx
mov dword [esp + 0x18], 0xea
xor ebp, ebp
add ebp, 0x2000
push ebp
push ebx
call fcn.0045ca11
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x476066
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0
push 0
push 0x48b6ec
push getsockopt
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
mov dword [esp + 0x18], eax
je 0x476027
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4760ae
fld qword [0x48ace0]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x1c]
push 4
push edx
call fcn.00470040
fild dword [esp + 0x24]
mov eax, dword [esp + 0x24]
test eax, eax
jge 0x476098
fadd qword [0x497508]
fmul qword [0x497500]
add esp, 8
fstp qword [esp]
push eax
push ebx
call fcn.00470040
add esp, 0x10
test ebx, ebx
je 0x4760bb
push ebx
call fcn.0045c7f1
add esp, 4
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4761b8
push 0x4974e4
push ebp
call esi
push 0x4974d4
push ebp
mov ebx, eax
call esi
push 0x4974c0
push ebp
mov dword [esp + 0x24], eax
call esi
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x4761b1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4761b1
test eax, eax
je 0x4761b1
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x34]
push eax
call ebx
test eax, eax
je 0x47615b
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x98]
push ecx
push 0x40
push edx
call dword [esp + 0x28]
test eax, eax
je 0x476150
fld qword [0x4974b8]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0xa0]
push 0x40
push eax
call fcn.00470040
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 0x4761b1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x98]
push eax
push 0x40
push ecx
call dword [esp + 0x28]
test eax, eax
je 0x4761a6
fld qword [0x4974b8]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0xa0]
push 0x40
push edx
call fcn.00470040
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.00475e00
lea ecx, [esp + 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
fld qword [0x48ea20]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0xe0]
push 0x20
push edx
call fcn.00470040
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
fld qword [0x48ea20]
sub esp, 8
fstp qword [esp]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push 4
push eax
call fcn.00470040
mov ebp, dword [esp + 0x30]
add esp, 0x10
test ebp, ebp
je 0x4762e3
push 0x497470
push ebp
call esi
push str.GetCursorInfo
push ebp
mov ebx, eax
call esi
push 0x497460
push ebp
mov dword [esp + 0x28], eax
call esi
test ebx, ebx
mov dword [esp + 0x28], eax
je 0x476261
call ebx
fld qword [0x48ace0]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x5c]
push 4
push ecx
mov dword [esp + 0x64], eax
call fcn.00470040
add esp, 0x10
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4762ae
cmp dword [esp + 0x108], 2
jne 0x47627d
cmp dword [esp + 0xfc], 5
jb 0x4762ae
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], 0x14
call eax
test eax, eax
je 0x4762ae
fld qword [0x497458]
mov eax, dword [esp + 0x40]
sub esp, 8
fstp qword [esp]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00470040
add esp, 0x10
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4762dc
push 0xbf
call eax
fld qword [0x48ea20]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x34]
push 4
push edx
mov dword [esp + 0x3c], eax
call fcn.00470040
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x4765a3
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 0x4973a0
push edi
mov dword [esp + 0x28], eax
call esi
test ebx, ebx
mov dword [esp + 0x30], eax
je 0x47659c
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x47659c
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x47659c
test ebp, ebp
je 0x47659c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x47659c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x47659c
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x47659c
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x47659c
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x47659c
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x47659c
test eax, eax
je 0x47659c
push 0
push 0xf
call ebx
mov esi, eax
test esi, esi
je 0x47659c
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x48], 0x10
call ebp
test eax, eax
je 0x476496
mov ebp, 0x24
fld qword [0x497398]
mov ecx, dword [esp + 0x40]
sub esp, 8
fstp qword [esp]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00470040
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 0x476484
mov ebx, 0x32
fld qword [0x497390]
mov eax, dword [esp + 0x74]
sub esp, 8
fstp qword [esp]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00470040
add esp, 0x10
lea edx, [esp + 0x74]
push edx
call dword [esp + 0x20]
test eax, eax
je 0x476484
dec ebx
test ebx, ebx
jg 0x476451
lea eax, [esp + 0x40]
push eax
push esi
call dword [esp + 0x1c]
test eax, eax
jne 0x476410
lea ecx, [esp + 0x190]
push ecx
push esi
mov dword [esp + 0x198], 0x128
call dword [esp + 0x40]
test eax, eax
je 0x4764f5
jmp 0x4764c0
fld qword [0x497388]
mov edx, dword [esp + 0x190]
sub esp, 8
fstp qword [esp]
push edx
lea eax, [esp + 0x19c]
push eax
call fcn.00470040
add esp, 0x10
lea ecx, [esp + 0x190]
push ecx
push esi
call dword [esp + 0x3c]
test eax, eax
jne 0x4764c0
lea edx, [esp + 0x58]
push edx
push esi
mov dword [esp + 0x60], 0x1c
call dword [esp + 0x44]
test eax, eax
je 0x47653c
jmp 0x476510
fld qword [0x497380]
mov eax, dword [esp + 0x58]
sub esp, 8
fstp qword [esp]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00470040
add esp, 0x10
lea edx, [esp + 0x58]
push edx
push esi
call dword [esp + 0x30]
test eax, eax
jne 0x476510
lea eax, [esp + 0x2b8]
push eax
push esi
mov dword [esp + 0x2c0], 0x224
call dword [esp + 0x28]
test eax, eax
je 0x476595
jmp 0x476560
fld qword [0x497388]
mov ecx, dword [esp + 0x2b8]
sub esp, 8
fstp qword [esp]
push ecx
lea edx, [esp + 0x2c4]
push edx
call fcn.00470040
add esp, 0x10
lea eax, [esp + 0x2b8]
push eax
push esi
call dword [esp + 0x38]
test eax, eax
jne 0x476560
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