Function at 0x497220
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x497234
add esp, 0xfffffff0
call fcn.00449c2c
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4911a4]
call fcn.004b59a8
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x4961f0]
call fcn.004b875c
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x4961f0]
call fcn.004b875c
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x497289
call fcn.00449c84
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4fe944
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4fe987
cmp byte [ebx + 0x11], 0
jne 0x4fe987
cmp byte [ebx + 0x24], 0
jne 0x4fe987
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x4fe99e
mov ecx, dword [0x5461ac]
mov dl, 1
mov eax, dword [0x4cfd38]
call fcn.0046935c
call fcn.0044aafc
pop ebx
ret
mov ecx, dword [0x5461ac]
mov dl, 1
mov eax, dword [0x4cfd38]
call fcn.0046935c
call fcn.0044aafc
pop ebx
ret

Function at 0x4ff30c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4ff35a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004fe7f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ff373
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ff37c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004fe7f0
dec esi
jne 0x4ff39e
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x5197cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x519868
push 0
mov eax, ebx
call fcn.0044bda4
push eax
mov eax, dword [ebp + 8]
push eax
call sub.ADVAPI32.DLL_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x519841
mov ebx, esi
test ebx, ebx
je 0x519813
mov ebx, dword [ebx - 4]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0044bda4
push eax
push 1
push 0
mov eax, edi
call fcn.0044bda4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
test ebx, ebx
je 0x51985c
mov ecx, dword [0x5461f8]
mov dl, 1
mov eax, dword [0x518064]
call fcn.0046935c
call fcn.0044aafc
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4