joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444524
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b0de8]
cmp byte [eax + 0xc], 0
je 0x444691
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44468a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b1ba0], 0
jne 0x444578
push 0x444698
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4446a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1ba0], eax
cmp dword [0x4acc48], 0
jne 0x444673
push 0x4446b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4acc48], eax
cmp dword [0x4acc48], 0
je 0x444673
push 0x4446bc
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1ba4], eax
push 0x4446cc
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1ba8], eax
push 0x4446e0
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bac], eax
push 0x4446f8
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bb0], eax
push 0x444710
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bb4], eax
push 0x444724
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bb8], eax
push 0x44473c
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bbc], eax
push 0x444754
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bc0], eax
push 0x444770
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bc4], eax
push 0x44477c
mov eax, dword [0x4acc48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b1bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444691
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44851c
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.004045d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44856b
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.00404844
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fd14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44fd64]
test si, 4
je 0x44fd28
or bl, 1
test si, 8
je 0x44fd32
or bl, 4
test si, 1
je 0x44fd3c
or bl, 8
test si, 2
je 0x44fd46
or bl, 0x10
test si, 0x10
je 0x44fd50
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fd5f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44fd68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44fda0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fd81
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44fd90
or bl, 4
test esi, 0x20000000
je 0x44fd9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456454
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456466
add esp, 0xfffffff0
call fcn.00403ac0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fa14
mov eax, dword [0x4b06bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4567f8
mov eax, dword [0x4b06d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x456804
mov eax, ebx
call fcn.00456810
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4165f0]
call fcn.00403758
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4165f0]
call fcn.00403758
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4165f0]
call fcn.00403758
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4165f0]
call fcn.00403758
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4165f0]
call fcn.00403758
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, 0x452c28
push eax
push 0
push 0
mov eax, dword [0x4b09c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421488]
call fcn.00422c20
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421488]
call fcn.00422c20
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421488]
call fcn.00422c20
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456d14
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456b94
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456b94
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456b94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4565a3
call fcn.00403b18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456978
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 0x456b23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456b04
mov dl, 1
mov eax, dword [0x416c54]
call fcn.00403758
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456af3
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.00444884
test al, al
je 0x456ae6
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, 0x456b34
lea eax, [ebp - 0x254]
call fcn.00409ab8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456ae6
xor eax, eax
push ebp
push 0x456adf
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 0x456b6c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456ac8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404844
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 0x456ac8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456ae6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4569e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b5a0
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 0x456b2a
lea eax, [ebp - 0x260]
call fcn.004045d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b1bec]
cmp byte [eax + 0xa5], 0
jne 0x457525
cmp dword [0x4b1c04], 0
jne 0x4574e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457470
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b1c04], eax
cmp dword [0x4b1c00], 0
jne 0x457501
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b1c00], eax
cmp dword [0x4b1c08], 0
jne 0x457525
push esp
push 0
push 0
push 0x457414
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b1c08], eax
pop edx
ret
Function at 0x457bb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b1bec]
cmp dword [eax + 0x30], 0
je 0x457c5a
cmp dword [ebx + 0x94], 0
jne 0x457c54
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457b40
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457c54
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 0x457c1a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457c54
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.00418ecc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457c29
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4587bc
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 0x4587f1
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.004046c4
jmp 0x4587fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404628
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459860
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4598a1
mov eax, esi
call fcn.0043fef4
test al, al
je 0x4598a1
mov eax, dword [ebx + 0x84]
call fcn.0043fc1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4598a1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043fc1c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47b514
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47b56e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047b504
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0047908c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00478ba4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b575
lea eax, [ebp - 4]
call fcn.004045d4
ret
Function at 0x47f424
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x4adbf0
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x47f4e8
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x47f45c
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x47f4ff
dec edx
je 0x47f540
jmp 0x47f59d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x47f59d
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47f600
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x47f61d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x47f72f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x47f650
je 0x47f69c
sub ecx, 0x2b
je 0x47f692
sub ecx, 4
je 0x47f697
dec ecx
sub ecx, 0xa
jb 0x47f681
jmp 0x47f69f
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x47f662
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x47f670
jmp 0x47f69f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x47f69f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x47f69f
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x47f69f
mov byte [eax], 0x3e
jmp 0x47f69f
mov byte [eax], 0x3f
jmp 0x47f69f
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x47f62f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x47f6ef
cmp byte [esp + 3], 0xff
jne 0x47f6ef
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x47f727
cmp dl, 0xff
je 0x47f727
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x47f628
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x4803b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4803d4
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4803c2
pop edi
pop esi
pop ebx
ret

Function at 0x483914
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 0x4839a8
push 0
mov eax, ebx
call fcn.00404a94
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x483983
mov eax, esi
call fcn.00404894
inc eax
push eax
mov eax, esi
call fcn.00404a94
push eax
push 1
push 0
mov eax, edi
call fcn.00404a94
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x48399e
mov ecx, dword [0x4b07ac]
mov dl, 1
mov eax, dword [0x483680]
call fcn.0040c5e4
call fcn.00403f28
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x484918
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
call sub.kernel32.dll_GetCurrentProcessId
mov ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edi]
shr eax, 0x10
shl eax, 0x10
mov dword [edi], eax
mov eax, ebx
shl eax, 0x10
sub dword [edi], eax
mov eax, dword [edi]
xor edx, edx
div esi
imul esi
mov dword [edi], eax
push 4
push 0x3000
push esi
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x4849ac
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
je 0x4849ac
push 0x8000
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
inc ebx
jmp 0x484a48
cmp dword [esp + 0x10], 0
jne 0x484a51
push 0x1c
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x48], 0x118
jb 0x484a43
mov eax, dword [esp + 0x50]
and eax, 4
cmp eax, 4
jne 0x484a43
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x4849fe
cmp eax, dword [esp]
pop edx
pop eax
jne 0x484a43
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x110]
cmp edx, dword [esp + 4]
jne 0x484a2b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x484a43
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.004030f8
je 0x484a51
inc ebx
xor eax, eax
mov dword [edi], eax
cmp ebx, 0x14
jle 0x484951
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
je 0x484acf
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x484af5
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
call fcn.0040304c
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [edi]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [edi]
mov dword [eax + 0x108], 1
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [eax], 1
jmp 0x484af5
cmp dword [edi], 0
je 0x484af5
mov eax, dword [edi]
inc dword [eax + 0x108]
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4879e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x487ba0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403168
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4af814], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4af818], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4af81c], eax
mov eax, dword [0x4b0dd4]
cmp dword [eax], 2
sete byte [0x4af344]
push 0x487bac
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00488354
cmp byte [0x4af344], 0
jne 0x487a6c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00488384
test al, al
je 0x487a6c
mov eax, dword [ebp - 0x4c]
mov dword [0x4b2c6c], eax
jmp 0x487a73
xor eax, eax
mov dword [0x4b2c6c], eax
call fcn.00487758
and eax, 0x7f
cmp eax, 0x10
ja case.0x487a84.0
jmp dword [eax*4 + 0x487a8b]
mov byte [0x4af330], 1
jmp case.0x487a84.0
mov byte [0x4af334], 1
jmp case.0x487a84.0
mov byte [0x4af338], 1
jmp case.0x487a84.0
mov byte [0x4af33c], 1
jmp case.0x487a84.0
mov byte [0x4af340], 1
jmp case.0x487a84.0
mov byte [0x4af348], 1
mov byte [0x4af34c], 1
jmp case.0x487a84.0
mov byte [0x4af348], 1
mov byte [0x4af350], 1
jmp case.0x487a84.0
mov byte [0x4af348], 1
mov byte [0x4af350], 1
mov byte [0x4af354], 1
jmp case.0x487a84.0
mov byte [0x4af358], 1
jmp case.0x487a84.0
mov byte [0x4af35c], 1
jmp case.0x487a84.0
mov byte [0x4af360], 1
jmp case.0x487a84.0
mov byte [0x4af364], 1
jmp case.0x487a84.0
mov byte [0x4af368], 1
jmp case.0x487a84.0
mov byte [0x4af36c], 1
jmp case.0x487a84.0
mov byte [0x4af370], 1
jmp case.0x487a84.0
mov byte [0x4af374], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487ba7
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x488384
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48842b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a94
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x488415
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404c20
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a94
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x488415
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x48843c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x488415
cmp dword [ebp - 8], 0x34
jne 0x488415
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488432
lea eax, [ebp - 0x10]
call fcn.004045d4
ret
Function at 0x48cbac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48cbda
mov eax, ebx
call fcn.0048d660
cmp dword [ebx + 0x40], 0
je 0x48cbd3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48cc4b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48cc3d
cmp dword [ebx + 8], 0
je 0x48cbfc
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 0x48cc0e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48cc3d
cmp dword [ebx + 8], 0
je 0x48cbef
cmp eax, 3
je 0x48cc21
dec eax
jne 0x48cbef
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 0x48cbef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48cbef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48cc69
cmp dword [ebx + 0x14], 0xcc
je 0x48cc69
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.0048cc74
pop ebx
ret