joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452458
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452490]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452471
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452480
or bl, 4
test esi, 0x20000000
je 0x45248b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458b38
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458b4a
add esp, 0xfffffff0
call fcn.004038c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dd60
mov eax, dword [0x48ea54]
mov dword [eax + 4], ebx
mov dword [eax], 0x458edc
mov eax, dword [0x48ea60]
mov dword [eax + 4], ebx
mov dword [eax], 0x458ee8
mov eax, ebx
call fcn.00458ef4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415a04]
call fcn.00403570
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415a04]
call fcn.00403570
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415a04]
call fcn.00403570
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415a04]
call fcn.00403570
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415a04]
call fcn.00403570
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x455310
push eax
push 0
push 0
mov eax, dword [0x48ebc4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f7cc]
call fcn.00420fe0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f7cc]
call fcn.00420fe0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f7cc]
call fcn.00420fe0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459314
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4591f0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4591f0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4591f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458c87
call fcn.0040391c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458fd4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45917f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459160
mov dl, 1
mov eax, dword [0x415e20]
call fcn.00403570
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404374
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45914f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00446d54
test al, al
je 0x459142
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x459190
lea eax, [ebp - 0x254]
call fcn.00409540
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x459142
xor eax, eax
push ebp
push 0x45913b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4591c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x459124
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045e4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x459124
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459142
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x459045
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419994
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459186
lea eax, [ebp - 0x260]
call fcn.00404374
ret

Function at 0x459ab4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48fbb8]
cmp byte [eax + 0xa5], 0
jne 0x459b25
cmp dword [0x48fbd0], 0
jne 0x459ae6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459a70
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48fbd0], eax
cmp dword [0x48fbcc], 0
jne 0x459b01
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48fbcc], eax
cmp dword [0x48fbd4], 0
jne 0x459b25
push esp
push 0
push 0
push 0x459a14
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48fbd4], eax
pop edx
ret
Function at 0x459c1c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459c33
add esp, 0xfffffff0
call fcn.004038c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dd60
mov eax, dword [0x48ebb0]
cmp word [eax + 2], 0
jne 0x459c5b
mov eax, dword [0x48ebb0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b30c
mov eax, dword [0x48ec68]
cmp word [eax + 2], 0
jne 0x459c75
mov eax, dword [0x48ec68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b504
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415a04]
call fcn.00403570
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415a04]
call fcn.00403570
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42034c]
call fcn.004280a8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459dfc
mov eax, dword [0x48eac0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428478
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bab4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48eac0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ccfc
test eax, eax
je 0x459d6a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f20
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cd24
test eax, eax
je 0x459d7e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004045e4
mov eax, dword [0x48e97c]
cmp byte [eax], 0
jne 0x459db2
mov eax, ebx
call fcn.00459f24
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045bc90
mov eax, ebx
call fcn.0045c654
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459df2
call fcn.0040391c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a1a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48fbb8]
cmp dword [eax + 0x30], 0
je 0x45a24e
cmp dword [ebx + 0x94], 0
jne 0x45a248
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a134
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a248
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 0x45a20e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a248
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.00417dc8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a21d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45adb0
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 0x45ade5
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.00404464
jmp 0x45adf2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45be6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bead
mov eax, esi
call fcn.00442380
test al, al
je 0x45bead
mov eax, dword [ebx + 0x84]
call fcn.0044207c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bead
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044207c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f574
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45f5a2
mov eax, ebx
call fcn.00460028
cmp dword [ebx + 0x40], 0
je 0x45f59b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45f613
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45f605
cmp dword [ebx + 8], 0
je 0x45f5c4
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 0x45f5d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45f605
cmp dword [ebx + 8], 0
je 0x45f5b7
cmp eax, 3
je 0x45f5e9
dec eax
jne 0x45f5b7
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 0x45f5b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45f5b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45f631
cmp dword [ebx + 0x14], 0xcc
je 0x45f631
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.0045f63c
pop ebx
ret
Function at 0x46fc44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404824
mov eax, dword [ebp - 8]
call fcn.00404824
xor eax, eax
push ebp
push 0x46fd86
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
call fcn.00404374
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046fdd8
test al, al
je 0x46fd63
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00404834
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46fd63
xor eax, eax
push ebp
push 0x46fd5c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404834
mov edi, eax
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46fcff
call fcn.00403dd8
jmp 0x46fd63
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
je 0x46fd0e
call fcn.00403dd8
jmp 0x46fd63
mov eax, dword [ebx]
call fcn.00402754
mov dword [esi], eax
push ebx
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46fd41
mov eax, dword [esi]
call fcn.00402774
xor eax, eax
mov dword [ebx], eax
call fcn.00403dd8
jmp 0x46fd63
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fd63
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fd8d
lea eax, [ebp - 0x1c]
call fcn.00404374
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404398
ret

Function at 0x470264
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x470315
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1c], 2
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x47032c
call fcn.004095c0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004082c4
mov eax, dword [ebp - 0x14]
call fcn.00404834
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4702fa
xor eax, eax
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 4]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x2d1080
push ebx
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x4702f4
mov esi, dword [ebp - 0xc]
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47031c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404398
ret
Function at 0x470338
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], eax
xor eax, eax
push ebp
push 0x470437
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x12], 0
lea ebx, [ebp - 0x238]
mov dword [ebx + 4], 0x227
lea eax, [ebp - 0x240]
push eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x248], al
mov byte [ebp - 0x244], 2
lea edx, [ebp - 0x248]
xor ecx, ecx
mov eax, 0x470454
call fcn.004095c0
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.004082c4
mov eax, dword [ebp - 0x23c]
call fcn.00404834
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x4703db
xor ebx, ebx
jmp 0x470419
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
push ebx
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push esi
call sub.kernel32.dll_DeviceIoControl
mov edi, eax
push esi
call sub.kernel32.dll_CloseHandle
cmp dword [ebx + 0x1c], 7
jne 0x470417
test edi, edi
je 0x470417
mov bl, 1
jmp 0x470419
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47043e
lea eax, [ebp - 0x240]
mov edx, 2
call fcn.00404398
ret
Function at 0x470d14
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 [0x414f84]
call fcn.00404ce0
xor eax, eax
push ebp
push 0x470e58
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48e758], 0
jne 0x470d67
mov ecx, dword [0x48e98c]
mov dl, 1
mov eax, dword [0x4075ec]
call fcn.0040bf3c
call fcn.00403d2c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d44
mov eax, ebx
call fcn.00404bb0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x470e68
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.00405c64
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404bc0
test eax, eax
jle 0x470dff
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 0x470df8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004045fc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004045e4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004084a4
test eax, eax
jne 0x470df8
mov ebx, 0x15
jmp 0x470e04
mov ebx, 0x10
jmp 0x470e04
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 [0x48e758]
call fcn.00470c10
mov eax, dword [ebp - 8]
call fcn.00470c10
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470e5f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404398
lea eax, [ebp - 0x10]
mov edx, dword [0x414f84]
call fcn.00404db0
ret

Function at 0x47aa14
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x47aa65
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x47aa4c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x47aa3c
jmp 0x47aa65
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x47aa4d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488ab0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488b38
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402d44
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x488b50
mov edx, ebx
call fcn.00404680
mov eax, dword [ebp - 0x24]
call fcn.00404834
mov dword [ebp - 0x16], eax
mov eax, 0x488b54
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x414
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488b3f
lea eax, [ebp - 0x24]
call fcn.00404374
ret

Function at 0x488b58
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488c83
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402a7c
mov eax, dword [ebp - 0x1c]
call fcn.00404834
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov eax, ebx
call fcn.00402754
mov esi, eax
push esi
push ebx
push 0
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402a7c
mov eax, dword [ebp - 0x20]
call fcn.00404834
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x488c94
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 8]
shr edi, 0x10
mov dx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0x12], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0x14], dx
mov ax, word [eax + 0xc]
and ax, 0xffff
mov word [ebp - 0x16], ax
mov edx, ebx
mov eax, esi
call fcn.00402774
lea edx, [ebp - 0x24]
movzx eax, di
call fcn.00408614
push dword [ebp - 0x24]
push 0x488ca0
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x12]
call fcn.00408614
push dword [ebp - 0x28]
push 0x488ca0
lea edx, [ebp - 0x2c]
movzx eax, word [ebp - 0x14]
call fcn.00408614
push dword [ebp - 0x2c]
push 0x488ca0
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0x16]
call fcn.00408614
push dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov edx, 7
call fcn.004046f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488c8a
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00404398
ret
Function at 0x488e14
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404824
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x488f82
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.00470714
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.00470734
jmp 0x488f4e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004045e4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408d34
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004082c4
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004082c4
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404780
je 0x488f2e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004045e4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004082c4
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004082c4
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404780
jne 0x488f45
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00470754
test eax, eax
jne 0x488e8f
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488f89
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404398
lea eax, [ebp - 4]
call fcn.00404374
ret

Function at 0x488f94
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov edi, ecx
mov ebp, edx
mov esi, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d44
mov dword [esp + 4], 0x44
mov dword [esp + 0x30], 1
mov word [esp + 0x34], di
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push esi
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x488fef
xor eax, eax
mov dword [esp], eax
jmp 0x489037
cmp ebp, 0xffffffff
jne 0x489021
cmp byte [0x48fcb8], 1
je 0x48902c
push 0x64
mov eax, dword [esp + 0x4c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
mov eax, dword [0x48ec4c]
mov eax, dword [eax]
call fcn.0045b060
cmp ebx, 0x102
je 0x488ff4
jmp 0x48902c
push ebp
mov eax, dword [esp + 0x4c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push esp
mov eax, dword [esp + 0x4c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [esp]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret