joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dbc4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x493b4c]
cmp dword [eax + 0x30], 0
je 0x44dc6e
cmp dword [ebx + 0x94], 0
jne 0x44dc68
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44db54
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44dc68
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44dc2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dc68
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417d30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dc3d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e7d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e805
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404224
jmp 0x44e812
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404188
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f91c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f95d
mov eax, esi
call fcn.004647e4
test al, al
je 0x44f95d
mov eax, dword [ebx + 0x84]
call fcn.004644e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f95d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004644e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452c20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404134
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x452c6f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004043a4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b734
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x493bcc], 0
je 0x45b883
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x492bc4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45b883
mov eax, dword [0x493bd0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x493bcc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45b852
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x493bcc]
call fcn.00417d30
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45b84a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45b84a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45b84a
mov eax, dword [ebp - 0x14]
call fcn.004644e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b84a
push ebp
call fcn.0045b6f0
pop ecx
test al, al
jne 0x45b84a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45b806
mov eax, dword [ebp - 0x14]
call fcn.00463010
dec eax
jle 0x45b84a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004035e0
cmp byte [ebp - 1], 0
je 0x45b84a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45b84a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x493bd0]
call fcn.0045aebc
inc edi
dec ebx
jne 0x45b799
mov eax, dword [0x493bd0]
cmp dword [eax + 8], 0
jle 0x45b86a
mov eax, dword [0x493bd0]
call fcn.0045af4c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45b883
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045b558
pop ecx
test al, al
jne 0x45b883
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ee64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x45eeb0
mov eax, esi
call fcn.00445f70
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45eeb0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x45eeb0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x45efef
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x45eef0
cmp eax, 0x108
ja 0x45eef0
mov eax, esi
call fcn.00445f70
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45efe6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x45efef
jmp 0x45efe6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45efcf
cmp eax, 0x20a
ja 0x45efcf
test byte [esi + 0x50], 0x80
jne 0x45ef22
sub eax, 0x203
je 0x45ef1f
sub eax, 3
je 0x45ef1f
sub eax, 3
jne 0x45ef22
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45ef36
dec eax
je 0x45ef4b
dec eax
je 0x45ef68
dec eax
je 0x45ef4b
jmp 0x45ef6f
mov ecx, ebx
mov eax, dword [0x492bc4]
mov eax, dword [eax]
mov edx, esi
call fcn.0044f7d4
jmp 0x45efe6
cmp byte [esi + 0x5d], 1
jne 0x45ef61
mov eax, esi
mov si, 0xffed
call fcn.004035e0
jmp 0x45efef
or word [esi + 0x54], 1
jmp 0x45efe6
and word [esi + 0x54], 0xfffe
jmp 0x45efe6
mov eax, dword [0x493b88]
cmp byte [eax + 0x20], 0
je 0x45efe6
mov eax, dword [0x493b88]
cmp dword [eax + 0x1c], 0
je 0x45efe6
mov eax, dword [ebx]
mov edx, dword [0x493b88]
cmp eax, dword [edx + 0x1c]
jne 0x45efe6
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00445eb4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004035e0
jmp 0x45efef
cmp eax, 0xb00b
jne 0x45efe6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0045d784
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462670
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x46268c
cmp dword [esi + 4], 0
je 0x4626b9
test byte [ebx + 0x55], 1
jne 0x4626ab
mov eax, ebx
call fcn.00461210
test eax, eax
jne 0x4626ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4627c9
mov edx, esi
mov eax, ebx
call fcn.00462194
jmp 0x4627c9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4627c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004644e0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045ed98
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00462670
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004644e0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4627c9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468ee0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x492d60]
cmp byte [eax + 0xc], 0
je 0x46904d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469046
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x493bdc], 0
jne 0x468f34
push 0x469054
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46905c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bdc], eax
cmp dword [0x490f38], 0
jne 0x46902f
push 0x46906c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x490f38], eax
cmp dword [0x490f38], 0
je 0x46902f
push 0x469078
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493be0], eax
push 0x469088
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493be4], eax
push 0x46909c
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493be8], eax
push 0x4690b4
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bec], eax
push 0x4690cc
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bf0], eax
push 0x4690e0
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bf4], eax
push 0x4690f8
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bf8], eax
push 0x469110
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493bfc], eax
push 0x46912c
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493c00], eax
push 0x469138
mov eax, dword [0x490f38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x493c04], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46904d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46b17c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x46b1b4]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x46b192
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x46b1a1
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x46b1b0
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x46c540
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x492bc4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46c566
push 0
mov eax, dword [0x492bc4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x46eec8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415010]
call fcn.00404afc
xor eax, eax
push ebp
push 0x46f00c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x490f50], 0
jne 0x46ef1b
mov ecx, dword [0x4928e4]
mov dl, 1
mov eax, dword [0x407c3c]
call fcn.0040c330
call fcn.00403b70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402db4
mov eax, ebx
call fcn.004049cc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46f01c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405b08
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004049dc
test eax, eax
jle 0x46efb3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46efac
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004043bc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004043a4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408af4
test eax, eax
jne 0x46efac
mov ebx, 0x15
jmp 0x46efb8
mov ebx, 0x10
jmp 0x46efb8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x490f50]
call fcn.0046ee20
mov eax, dword [ebp - 8]
call fcn.0046ee20
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f013
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404158
lea eax, [ebp - 0x10]
mov edx, dword [0x415010]
call fcn.00404bcc
ret
Function at 0x471384
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47141b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404840
mov eax, 0x104
call fcn.004094e4
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4713df
mov eax, esi
mov edx, ebx
call fcn.00404950
mov eax, ebx
call fcn.00409530
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.004150b8
test al, al
je 0x471405
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471422
lea eax, [ebp - 0xc]
call fcn.00405b08
ret

Function at 0x47389c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x473fc8
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xfffffff4
cmp byte [0x493fe8], 0
jne 0x47403b
cmp byte [0x493fe9], 0
je 0x47403b
mov byte [0x493fe9], 0
mov eax, dword [0x493ff0]
push eax
call sub.advapi32.dll_RegCloseKey_1
push esp
push 0xf003f
push 0
push 0x474040
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47403b
mov dword [esp + 4], 4
lea eax, [esp + 4]
push eax
push 0x493fec
lea eax, [esp + 0x10]
push eax
push 0
push 0x474054
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0xc
ret
Function at 0x478b3c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
mov ebx, edx
mov eax, ebx
call fcn.00404134
lea eax, [ebp - 0x190]
push eax
mov dl, 1
mov al, 1
call fcn.00406ebc
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x478bd5
xor edx, edx
push ebp
push 0x478bce
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x10
lea eax, [ebp - 0x1a0]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x478bbb
lea eax, [ebp - 0x1a0]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x478bbb
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
add eax, 4
cmp dword [eax], 0
jne 0x478b9d
test esi, esi
je 0x478bbb
push dword [esi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.0040432c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478bd5
call sub.wsock32.dll_WSACleanup
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x478bdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor edx, edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], edx
mov ebx, 0x4940fc
xor eax, eax
push ebp
push 0x478ce5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
lea eax, [ebp - 0x81]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x81]
mov ecx, 0x81
call fcn.004043a4
mov edx, dword [ebp - 0x88]
mov eax, dword [ebx]
mov eax, dword [eax + 0x338]
call fcn.0045dc14
push 0x80
lea eax, [ebp - 0x81]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x81]
mov ecx, 0x81
call fcn.004043a4
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
call fcn.0045dc14
lea edx, [ebp - 0x90]
mov eax, dword [ebx]
call fcn.00478ae4
mov edx, dword [ebp - 0x90]
mov eax, dword [ebx]
mov eax, dword [eax + 0x344]
call fcn.0045dc14
lea edx, [ebp - 0x94]
mov eax, dword [ebx]
call fcn.00478b3c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebx]
mov eax, dword [eax + 0x354]
call fcn.0045dc14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478cec
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00404158
ret
Function at 0x47bbf4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47bc22
mov eax, ebx
call fcn.0047c6a8
cmp dword [ebx + 0x40], 0
je 0x47bc1b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47bc93
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47bc85
cmp dword [ebx + 8], 0
je 0x47bc44
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47bc56
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47bc85
cmp dword [ebx + 8], 0
je 0x47bc37
cmp eax, 3
je 0x47bc69
dec eax
jne 0x47bc37
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47bc37
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47bc37
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47bcb1
cmp dword [ebx + 0x14], 0xcc
je 0x47bcb1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047bcbc
pop ebx
ret

Function at 0x48cd30
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x48cdc8]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48cdcc
Capabilities:
Get memory capacity

Disassembly:
push ebx
add esp, 0xffffffc8
mov ebx, eax
mov dword [esp + 8], 0x20
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0x10]
shr eax, 0x14
mov edx, eax
mov eax, dword [ebx + 0x398]
call fcn.00435f48
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x2c], eax
fild qword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x34], eax
fild qword [esp + 0x30]
fdivp st(1)
fstp qword [esp]
wait
fld dword [0x48ce48]
fmul qword [esp]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00428960
push eax
mov eax, 0x64
pop edx
sub eax, edx
add esp, 0x38
pop ebx
ret
Function at 0x48d040
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x48d1b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00408d50
lea eax, [ebp - 0x24]
mov edx, 0x48d1d0
call fcn.004043fc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x364]
call fcn.0045dc14
mov eax, dword [ebp - 4]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00408d50
lea eax, [ebp - 0x28]
mov edx, 0x48d1d0
call fcn.004043fc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x368]
call fcn.0045dc14
mov eax, dword [ebp - 0xc]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00408d50
lea eax, [ebp - 0x2c]
mov edx, 0x48d1d0
call fcn.004043fc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x36c]
call fcn.0045dc14
mov esi, dword [ebx + 0x34c]
mov edx, 1
mov eax, esi
call fcn.0046a470
mov edx, dword [ebp - 0x18]
shr edx, 0x14
mov eax, esi
call fcn.0046a520
mov edx, dword [ebp - 0x14]
shr edx, 0x14
mov eax, esi
call fcn.0046a5d0
mov edx, dword [esi + 0x16c]
mov eax, dword [ebx + 0x398]
call fcn.00435f48
mov esi, dword [ebx + 0x350]
mov edx, 1
mov eax, esi
call fcn.0046a470
mov edx, dword [ebp - 8]
shr edx, 0x14
mov eax, esi
call fcn.0046a520
mov edx, dword [ebp - 4]
shr edx, 0x14
mov eax, esi
call fcn.0046a5d0
mov esi, dword [ebx + 0x354]
mov edx, 1
mov eax, esi
call fcn.0046a470
mov edx, dword [ebp - 0x10]
shr edx, 0x14
mov eax, esi
call fcn.0046a520
mov edx, dword [ebp - 0xc]
shr edx, 0x14
mov eax, esi
call fcn.0046a5d0
mov eax, dword [ebx + 0x34c]
mov ebx, dword [eax + 0x16c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d1bd
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404158
ret