Function at 0x1003f900
Capabilities:
Check os version
Get memory capacity
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4d8
call fcn.10016d60
push ebx
push ebp
push esi
lea eax, [esp + 0xfc]
push edi
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x104], 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 + 0x28], ebp
call esi
push str.USER32.DLL
mov edi, eax
call esi
push str.NETAPI32.DLL
mov dword [esp + 0x20], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1003fa07
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 0x1003f9fc
test eax, eax
je 0x1003f9fc
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push str.LanmanWorkstation
push 0
call ebp
test eax, eax
jne 0x1003f9c8
mov edx, dword [esp + 0x14]
push 0x40468000
push eax
push 0xd8
push edx
call fcn.1001b790
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 0x1003f9fc
mov edx, dword [esp + 0x14]
push 0x40310000
push eax
push 0x44
push edx
call fcn.1001b790
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 + 0x24]
test ebp, ebp
je 0x1003faf3
push str.CryptAcquireContextW
push ebp
call esi
push str.CryptGenRandom
push ebp
mov ebx, eax
call esi
push str.CryptReleaseContext
push ebp
mov dword [esp + 0x1c], eax
call esi
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x1003faec
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1003faec
test eax, eax
je 0x1003faec
push 0xf0000000
push 1
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
call ebx
test eax, eax
je 0x1003fa9b
mov eax, dword [esp + 0x20]
lea edx, [esp + 0xc0]
push edx
push 0x40
push eax
call dword [esp + 0x20]
test eax, eax
je 0x1003fa90
push 0
push 0
lea ecx, [esp + 0xc8]
push 0x40
push ecx
call fcn.1001b790
add esp, 0x10
mov edx, dword [esp + 0x20]
push 0
push edx
call dword [esp + 0x20]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
lea eax, [esp + 0x2c]
push 0
push eax
call ebx
test eax, eax
je 0x1003faec
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0xc0]
push ecx
push 0x40
push edx
call dword [esp + 0x20]
test eax, eax
je 0x1003fae1
push 0x40500000
push 0
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.1001b790
add esp, 0x10
mov ecx, dword [esp + 0x20]
push 0
push ecx
call dword [esp + 0x20]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x1003fbb6
push str.GetForegroundWindow
push ebp
call esi
push str.GetCursorInfo
push ebp
mov ebx, eax
call esi
push str.GetQueueStatus
push ebp
mov dword [esp + 0x2c], eax
call esi
test ebx, ebx
mov dword [esp + 0x1c], eax
je 0x1003fb3e
call ebx
push 0
push 0
lea edx, [esp + 0x5c]
push 4
push edx
mov dword [esp + 0x64], eax
call fcn.1001b790
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1003fb86
cmp dword [esp + 0x110], 2
jne 0x1003fb5a
cmp dword [esp + 0x104], 5
jb 0x1003fb86
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0x14
push ecx
call eax
test eax, eax
je 0x1003fb86
mov edx, dword [esp + 0x40]
push 0x40000000
push 0
lea eax, [esp + 0x48]
push edx
push eax
call fcn.1001b790
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1003fbaf
push 0xbf
call eax
push 0x3ff00000
push 0
lea ecx, [esp + 0x30]
push 4
push ecx
mov dword [esp + 0x38], eax
call fcn.1001b790
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1003fe50
push str.CreateToolhelp32Snapshot
push edi
call esi
push str.CloseToolhelp32Snapshot
push edi
mov ebx, eax
call esi
push str.Heap32First
push edi
mov dword [esp + 0x34], eax
call esi
push str.Heap32Next
push edi
mov dword [esp + 0x20], eax
call esi
push str.Heap32ListFirst
push edi
mov dword [esp + 0x1c], eax
call esi
push str.Heap32ListNext
push edi
mov ebp, eax
call esi
push str.Process32First
push edi
mov dword [esp + 0x3c], eax
call esi
push str.Process32Next
push edi
mov dword [esp + 0x38], eax
call esi
push str.Thread32First
push edi
mov dword [esp + 0x44], eax
call esi
push str.Thread32Next
push edi
mov dword [esp + 0x40], eax
call esi
push str.Module32First
push edi
mov dword [esp + 0x24], eax
call esi
push str.Module32Next
push edi
mov dword [esp + 0x2c], eax
call esi
test ebx, ebx
mov dword [esp + 0x58], eax
je 0x1003fe49
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1003fe49
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1003fe49
test ebp, ebp
je 0x1003fe49
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1003fe49
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1003fe49
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x1003fe49
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1003fe49
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1003fe49
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1003fe49
test eax, eax
je 0x1003fe49
push 0
push 0xf
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x1003fe49
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0x10
push edx
push esi
call ebp
test eax, eax
je 0x1003fd61
mov ebp, 0x24
mov eax, dword [esp + 0x40]
push 0x40080000
push 0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.1001b790
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
add esp, 0x10
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], ebp
push edx
push eax
push ecx
call dword [esp + 0x24]
test eax, eax
je 0x1003fd53
mov ebx, 0x50
mov edx, dword [esp + 0x7c]
push 0x40140000
push 0
lea eax, [esp + 0x84]
push edx
push eax
call fcn.1001b790
add esp, 0x10
lea ecx, [esp + 0x7c]
push ecx
call dword [esp + 0x18]
test eax, eax
je 0x1003fd53
dec ebx
test ebx, ebx
jg 0x1003fd25
lea edx, [esp + 0x40]
push edx
push esi
call dword [esp + 0x3c]
test eax, eax
jne 0x1003fcec
lea eax, [esp + 0x198]
mov dword [esp + 0x198], 0x128
push eax
push esi
call dword [esp + 0x38]
test eax, eax
je 0x1003fdad
mov ecx, dword [esp + 0x198]
push 0x40220000
push 0
lea edx, [esp + 0x1a0]
push ecx
push edx
call fcn.1001b790
add esp, 0x10
lea eax, [esp + 0x198]
push eax
push esi
call dword [esp + 0x44]
test eax, eax
jne 0x1003fd7d
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0x1c
push ecx
push esi
call dword [esp + 0x40]
test eax, eax
je 0x1003fdea
mov edx, dword [esp + 0x60]
push 0x40180000
push 0
lea eax, [esp + 0x68]
push edx
push eax
call fcn.1001b790
add esp, 0x10
lea ecx, [esp + 0x60]
push ecx
push esi
call dword [esp + 0x24]
test eax, eax
jne 0x1003fdc3
lea edx, [esp + 0x2c0]
mov dword [esp + 0x2c0], 0x224
push edx
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x1003fe36
mov eax, dword [esp + 0x2c0]
push 0x40220000
push 0
lea ecx, [esp + 0x2c8]
push eax
push ecx
call fcn.1001b790
add esp, 0x10
lea edx, [esp + 0x2c0]
push edx
push esi
call dword [esp + 0x60]
test eax, eax
jne 0x1003fe06
mov eax, dword [esp + 0x2c]
push esi
test eax, eax
je 0x1003fe43
call eax
jmp 0x1003fe49
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x1006d9b4]
test eax, eax
je 0x1003fe8b
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1003fe6f
mov dword [0x1006d9b4], eax
jmp 0x1003fe8b
push 0
push 0
lea ecx, [esp + 0x60]
push 8
push ecx
call fcn.1001b790
mov eax, dword [0x1006d9b4]
add esp, 0x10
test eax, eax
jne 0x1003fea8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
lea edx, [esp + 0x34]
push 4
push edx
mov dword [esp + 0x3c], eax
call fcn.1001b790
add esp, 0x10
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x3ff00000
push 0
lea ecx, [esp + 0xa8]
push 0x20
push ecx
call fcn.1001b790
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x3ff00000
push 0
lea edx, [esp + 0x30]
push 4
push edx
mov dword [esp + 0x38], eax
call fcn.1001b790
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret