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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4dc
call fcn.1008bee0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
push ebx
push esi
lea eax, [ebp - 0x190]
push edi
push eax
mov dword [ebp - 0x190], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ADVAPI32.DLL
call esi
push str.KERNEL32.DLL
mov dword [ebp - 0x14], eax
call esi
push str.USER32.DLL
mov ebx, eax
call esi
push str.NETAPI32.DLL
mov dword [ebp - 0xc], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10075f05
push str.NetStatisticsGet
push edi
call esi
push str.NetApiBufferFree
push edi
mov dword [ebp - 8], eax
call esi
xor ecx, ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], ecx
je 0x10075efe
cmp eax, ecx
je 0x10075efe
lea eax, [ebp - 4]
push eax
push ecx
push ecx
push str.LanmanWorkstation
push ecx
call dword [ebp - 8]
test eax, eax
jne 0x10075ecb
fld qword [0x100a2788]
push ecx
push ecx
fstp qword [esp]
push 0xd8
push dword [ebp - 4]
call fcn.1005f678
add esp, 0x10
push dword [ebp - 4]
call dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push str.LanmanServer
push eax
call dword [ebp - 8]
test eax, eax
jne 0x10075efe
fld qword [0x100a2760]
push ecx
push ecx
fstp qword [esp]
push 0x44
push dword [ebp - 4]
call fcn.1005f678
add esp, 0x10
push dword [ebp - 4]
call dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10075ff4
push str.CryptAcquireContextW
push edi
call esi
push str.CryptGenRandom
push edi
mov dword [ebp - 8], eax
call esi
push str.CryptReleaseContext
push edi
mov dword [ebp - 4], eax
call esi
xor edi, edi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], edi
je 0x10075feb
cmp dword [ebp - 4], edi
je 0x10075feb
cmp eax, edi
je 0x10075feb
push 0xf0000000
push 1
push edi
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [ebp - 8]
test eax, eax
je 0x10075f9a
lea eax, [ebp - 0xfc]
push eax
push 0x40
push dword [ebp - 0x1c]
call dword [ebp - 4]
test eax, eax
je 0x10075f93
push ecx
push ecx
fldz
lea eax, [ebp - 0xfc]
fstp qword [esp]
push 0x40
push eax
call fcn.1005f678
add esp, 0x10
mov dword [ebp - 0x18], 1
push edi
push dword [ebp - 0x1c]
call dword [ebp - 0x10]
push edi
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [ebp - 8]
test eax, eax
je 0x10075feb
lea eax, [ebp - 0xfc]
push eax
push 0x40
push dword [ebp - 0x1c]
call dword [ebp - 4]
test eax, eax
je 0x10075fe4
fld qword [0x100a26c0]
push ecx
push ecx
lea eax, [ebp - 0xfc]
fstp qword [esp]
push 0x40
push eax
call fcn.1005f678
add esp, 0x10
mov dword [ebp - 0x18], 1
push edi
push dword [ebp - 0x1c]
call dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xc], 0
je 0x100760be
push str.GetForegroundWindow
push dword [ebp - 0xc]
call esi
push str.GetCursorInfo
mov edi, eax
push dword [ebp - 0xc]
call esi
push 0x100a2688
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
call esi
test edi, edi
mov dword [ebp - 0x14], eax
je 0x10076042
call edi
push ecx
push ecx
fldz
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
fstp qword [esp]
push 4
push eax
call fcn.1005f678
add esp, 0x10
xor eax, eax
cmp dword [ebp - 4], eax
je 0x1007608f
cmp dword [ebp - 0x180], 2
jne 0x1007605e
cmp dword [ebp - 0x18c], 5
jae 0x1007605e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], eax
je 0x1007608f
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x14
push eax
call dword [ebp - 4]
test eax, eax
je 0x1007608f
fld qword [0x100a2680]
push ecx
push ecx
lea eax, [ebp - 0x54]
fstp qword [esp]
push dword [ebp - 0x54]
push eax
call fcn.1005f678
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x100760b5
push 0xbf
call dword [ebp - 0x14]
push ecx
push ecx
fld1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
fstp qword [esp]
push 4
push eax
call fcn.1005f678
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x100763b0
push str.CreateToolhelp32Snapshot
push ebx
xor edi, edi
call esi
push str.CloseToolhelp32Snapshot
push ebx
mov dword [ebp - 0x14], eax
call esi
push str.Heap32First
push ebx
mov dword [ebp - 0x40], eax
call esi
push str.Heap32Next
push ebx
mov dword [ebp - 0xc], eax
call esi
push str.Heap32ListFirst
push ebx
mov dword [ebp - 0x28], eax
call esi
push str.Heap32ListNext
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.Process32First
push ebx
mov dword [ebp - 0x3c], eax
call esi
push str.Process32Next
push ebx
mov dword [ebp - 0x30], eax
call esi
push str.Thread32First
push ebx
mov dword [ebp - 0x38], eax
call esi
push str.Thread32Next
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.Module32First
push ebx
mov dword [ebp - 0x2c], eax
call esi
push 0x100a25b0
push ebx
mov dword [ebp - 0x34], eax
call esi
xor esi, esi
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x14], esi
je 0x100763a9
cmp dword [ebp - 0xc], esi
je 0x100763a9
cmp dword [ebp - 0x28], esi
je 0x100763a9
cmp dword [ebp - 0x10], esi
je 0x100763a9
cmp dword [ebp - 0x3c], esi
je 0x100763a9
cmp dword [ebp - 0x30], esi
je 0x100763a9
cmp dword [ebp - 0x38], esi
je 0x100763a9
cmp dword [ebp - 0x24], esi
je 0x100763a9
cmp dword [ebp - 0x2c], esi
je 0x100763a9
cmp dword [ebp - 0x34], esi
je 0x100763a9
cmp eax, esi
je 0x100763a9
push esi
push 0xf
call dword [ebp - 0x14]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x100763a9
cmp dword [ebp - 0x18], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x50], 0x10
je 0x100761de
call esi
mov edi, eax
add edi, 0x3e8
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 4]
call dword [ebp - 0x10]
test eax, eax
je 0x1007627e
fld qword [0x100a25a8]
push ecx
push ecx
lea eax, [ebp - 0x50]
fstp qword [esp]
push dword [ebp - 0x50]
push eax
call fcn.1005f678
add esp, 0x10
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x24
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push eax
call dword [ebp - 0xc]
test eax, eax
je 0x10076266
mov dword [ebp - 8], 0x50
fld qword [0x100a25a0]
push ecx
push ecx
lea eax, [ebp - 0x9c]
fstp qword [esp]
push dword [ebp - 0x9c]
push eax
call fcn.1005f678
add esp, 0x10
lea eax, [ebp - 0x9c]
push eax
call dword [ebp - 0x28]
test eax, eax
je 0x10076266
dec dword [ebp - 8]
cmp dword [ebp - 8], 0
jg 0x1007622f
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 4]
call dword [ebp - 0x3c]
test eax, eax
je 0x1007627e
call esi
cmp eax, edi
jb 0x100761f0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x2b8], 0x128
je 0x10076298
call esi
mov edi, eax
add edi, 0x3e8
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 4]
call dword [ebp - 0x30]
test eax, eax
je 0x100762e0
fld qword [0x100a2598]
push ecx
push ecx
lea eax, [ebp - 0x2b8]
fstp qword [esp]
push dword [ebp - 0x2b8]
push eax
call fcn.1005f678
add esp, 0x10
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 4]
call dword [ebp - 0x38]
test eax, eax
je 0x100762e0
call esi
cmp eax, edi
jb 0x100762a9
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x78], 0x1c
je 0x100762f7
call esi
mov edi, eax
add edi, 0x3e8
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 4]
call dword [ebp - 0x24]
test eax, eax
je 0x10076333
fld qword [0x100a2590]
push ecx
push ecx
lea eax, [ebp - 0x78]
fstp qword [esp]
push dword [ebp - 0x78]
push eax
call fcn.1005f678
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 4]
call dword [ebp - 0x2c]
test eax, eax
je 0x10076333
call esi
cmp eax, edi
jb 0x10076305
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x4dc], 0x224
je 0x1007634d
call esi
mov edi, eax
add edi, 0x3e8
lea eax, [ebp - 0x4dc]
push eax
push dword [ebp - 4]
call dword [ebp - 0x34]
test eax, eax
je 0x10076395
fld qword [0x100a2598]
push ecx
push ecx
lea eax, [ebp - 0x4dc]
fstp qword [esp]
push dword [ebp - 0x4dc]
push eax
call fcn.1005f678
add esp, 0x10
lea eax, [ebp - 0x4dc]
push eax
push dword [ebp - 4]
call dword [ebp - 0x58]
test eax, eax
je 0x10076395
call esi
cmp eax, edi
jb 0x1007635e
cmp dword [ebp - 0x40], 0
push dword [ebp - 4]
je 0x100763a3
call dword [ebp - 0x40]
jmp 0x100763a9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.10076500
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push ecx
push ecx
fld1
lea eax, [ebp - 0xbc]
fstp qword [esp]
push 0x20
push eax
call fcn.1005f678
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ecx
push ecx
fld1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
fstp qword [esp]
push 4
push eax
call fcn.1005f678
add esp, 0x10
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret