Function at 0x4de0e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 4], 4
push eax
mov eax, dword [0x6516f4]
xor ebx, ebx
or eax, 0x20019
mov dword [ebp - 0xc], ebx
push eax
push ebx
push str.SoftwareTeraByte_UnlimitedImage
push reloc.WS2_32.dll_bind
call dword [0x648da0]
test eax, eax
jne 0x4de4f1
push esi
mov esi, dword [0x648dac]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 4
push eax
push ebx
push ebx
push 0x5f9e04
push dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
cmovne ecx, edx
push eax
push edx
push edx
push 0x5f9c70
push dword [ebp - 8]
mov dword [ebp - 0x14], ecx
call esi
test eax, eax
jne 0x4de323
test dword [ebp - 0xc], 0x100000
mov ebx, 1
mov dword [ebp - 0x10], ebx
je 0x4de323
xor esi, esi
mov dword [ebp - 4], 1
xor ecx, ecx
xor ebx, ebx
xor edx, edx
push edi
xor edi, edi
test dword [ebp - 0xc], 0x10000
cmovne eax, dword [ebp - 4]
mov dword [0x650bc4], eax
mov eax, dword [ebp - 0xc]
test eax, 0x20000
cmovne ecx, dword [ebp - 4]
test eax, 0x40000
mov dword [0x650bc8], ecx
mov ecx, dword [ebp - 4]
cmovne edx, ecx
test eax, 0x80000
mov dword [0x650bcc], edx
cmovne esi, ecx
mov dword [0x650bd0], esi
mov esi, eax
test esi, 0x200000
mov eax, 0
cmovne edi, ecx
test esi, 0x80000000
mov dword [0x650bd4], edi
cmovne ebx, ecx
mov edi, dword [ebp - 0x14]
test esi, 0x40000000
mov dword [0x650bf0], ebx
cmovne eax, ecx
test esi, 0x20000000
mov dword [0x650bf4], eax
mov eax, 0
cmovne eax, ecx
test esi, 0x10000000
mov dword [0x650bf8], eax
mov eax, 0
cmovne eax, ecx
test esi, 0x8000
mov dword [0x650bfc], eax
mov eax, 0
cmovne eax, ecx
test esi, 0x4000
mov dword [0x650c00], eax
mov eax, 0
cmovne eax, ecx
test esi, 0x400
mov dword [0x650c10], eax
mov eax, 0
cmovne eax, ecx
mov dword [0x650c2c], eax
test edi, edi
je 0x4de29e
xor ecx, ecx
xor edx, edx
xor eax, eax
test esi, 0x2000
cmovne eax, dword [ebp - 4]
test esi, 0x1000
mov dword [0x650c04], eax
cmovne ecx, dword [ebp - 4]
test esi, 0x800
mov dword [0x650c08], ecx
mov ecx, dword [ebp - 4]
cmovne edx, ecx
mov dword [0x650c0c], edx
cmp edi, 1
jbe 0x4de2b3
xor eax, eax
test esi, 0x800000
cmovne eax, ecx
mov dword [0x650c28], eax
cmp edi, 2
pop edi
jbe 0x4de2c9
xor eax, eax
test esi, 0x200
cmovne eax, ecx
mov dword [0x650c30], eax
test esi, 0x1000000
je 0x4de2dd
mov dword [0x650bd8], 0
jmp 0x4de31a
test esi, 0x4000000
je 0x4de2f1
mov dword [0x650bd8], 1
jmp 0x4de31a
test esi, 0x8000000
je 0x4de305
mov dword [0x650bd8], 4
jmp 0x4de31a
and esi, 0x2000000
or esi, 0x4000000
shr esi, 0x19
mov dword [0x650bd8], esi
mov esi, dword [0x648dac]
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push 0x650bdc
push 0
push 0
push str.PHYLockDiskCacheSize
push dword [ebp - 8]
call esi
mov ecx, dword [0x650bdc]
test eax, eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push 0x650be0
push 0
push 0
mov edx, 0x400
push str.PHYLockWriteFreeTime
push dword [ebp - 8]
cmovne ecx, edx
mov dword [0x650bdc], ecx
call esi
mov ecx, dword [0x650be0]
test eax, eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push 0x650be4
push 0
push 0
mov edx, 0x109a
push str.PHYLockMaxWaitTime
push dword [ebp - 8]
cmovne ecx, edx
mov dword [0x650be0], ecx
call esi
mov ecx, dword [0x650be4]
test eax, eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push 0x650be8
push 0
push 0
mov edx, 0xa
push str.PHYLockCacheSize
push dword [ebp - 8]
cmovne ecx, edx
mov dword [0x650be4], ecx
call esi
mov ecx, dword [0x650be8]
test eax, eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push 0x650c14
push 0
push 0
mov edx, 0x2000
push str.PHYLockThrottleDelay
push dword [ebp - 8]
cmovne ecx, edx
mov dword [0x650be8], ecx
call esi
mov ecx, dword [0x650c14]
xor edx, edx
test eax, eax
mov dword [ebp - 4], 4
lea eax, [ebp - 4]
push eax
push 0x650c18
push edx
push edx
push str.PHYLockThrottleAbort
push dword [ebp - 8]
cmovne ecx, edx
mov dword [0x650c14], ecx
call esi
mov ecx, dword [0x650c18]
mov edx, 0x50
test eax, eax
mov dword [ebp - 4], 4
lea eax, [ebp - 4]
push eax
push 0x650c1c
push 0
push 0
push str.PHYLockThrottleInterval
push dword [ebp - 8]
cmovne ecx, edx
mov dword [0x650c18], ecx
call esi
mov ecx, dword [0x650c1c]
test eax, eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x18]
mov edx, 0x64
push eax
push 0
push 0
push str.PHYLockThrottleOptions
push dword [ebp - 8]
cmovne ecx, edx
mov dword [0x650c1c], ecx
call esi
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, 0x10001
mov dword [ebp - 4], 4
cmovne ecx, edx
mov eax, ecx
mov dword [ebp - 0x18], ecx
shr eax, 0x10
mov dword [0x650c24], eax
movzx eax, cx
mov dword [0x650c20], eax
lea eax, [ebp - 4]
push eax
push 0x650bec
push 0
push 0
push str.PHYLockExtraSize
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [0x650bdc]
mov ecx, 0xfff
cmp eax, ecx
cmova eax, ecx
mov dword [0x650bdc], eax
mov eax, dword [0x650bec]
cmp eax, 0x400
jb 0x4de518
cmp eax, 0x4000
jbe 0x4de522
mov dword [0x650bec], 0x80
mov eax, dword [0x650bd8]
mov ecx, 4
mov edx, dword [0x650c18]
cmp eax, ecx
cmova eax, ecx
mov ecx, dword [0x650c14]
mov dword [0x650bd8], eax
mov eax, 0x14
cmp ecx, eax
cmova ecx, eax
mov eax, 0x1f4
cmp edx, eax
mov dword [0x650c14], ecx
cmova edx, eax
cmp edx, ecx
cmovb edx, ecx
mov dword [0x650c18], edx
test ecx, ecx
je 0x4de57c
lea eax, [ecx - 1]
add eax, edx
xor edx, edx
div ecx
imul eax, ecx
mov dword [0x650c18], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret