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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46274c]
cmp byte [eax + 0xc], 0
je 0x444e21
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444e1a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x463b94], 0
jne 0x444d08
push 0x444e28
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444e30
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b94], eax
cmp dword [0x461c38], 0
jne 0x444e03
push 0x444e40
call sub.kernel32.dll_LoadLibraryA
mov dword [0x461c38], eax
cmp dword [0x461c38], 0
je 0x444e03
push 0x444e4c
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b98], eax
push 0x444e5c
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463b9c], eax
push 0x444e70
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463ba0], eax
push 0x444e88
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463ba4], eax
push 0x444ea0
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463ba8], eax
push 0x444eb4
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463bac], eax
push 0x444ecc
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463bb0], eax
push 0x444ee4
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463bb4], eax
push 0x444f00
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463bb8], eax
push 0x444f0c
mov eax, dword [0x461c38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x463bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444e21
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x448cac
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.00404948
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x448cfb
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.00404bb8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4504cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45051c]
test si, 4
je 0x4504e0
or bl, 1
test si, 8
je 0x4504ea
or bl, 4
test si, 1
je 0x4504f4
or bl, 8
test si, 2
je 0x4504fe
or bl, 0x10
test si, 0x10
je 0x450508
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450517
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x450520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x450558]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450539
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450548
or bl, 4
test esi, 0x20000000
je 0x450553
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456c1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x456c2e
add esp, 0xfffffff0
call fcn.00403ef4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da30
mov eax, dword [0x4623e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x456fc0
mov eax, dword [0x4623f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x456fcc
mov eax, ebx
call fcn.00456fd8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415d28]
call fcn.00403b8c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415d28]
call fcn.00403b8c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415d28]
call fcn.00403b8c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415d28]
call fcn.00403b8c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415d28]
call fcn.00403b8c
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, 0x4533f0
push eax
push 0
push 0
mov eax, dword [0x462544]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f484]
call fcn.00420c1c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f484]
call fcn.00420c1c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f484]
call fcn.00420c1c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457428
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4572f0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4572f0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4572f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456d6b
call fcn.00403f4c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4570d4
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 0x45727f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457260
mov dl, 1
mov eax, dword [0x416144]
call fcn.00403b8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404948
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45724f
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.00445014
test al, al
je 0x457242
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, 0x457290
lea eax, [ebp - 0x254]
call fcn.00409c00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457242
xor eax, eax
push ebp
push 0x45723b
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 0x4572c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457224
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bb8
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 0x457224
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457242
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457145
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419c20
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 0x457286
lea eax, [ebp - 0x260]
call fcn.00404948
ret

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

Disassembly:
push ecx
mov eax, dword [0x463be0]
cmp byte [eax + 0xa5], 0
jne 0x457c39
cmp dword [0x463bf8], 0
jne 0x457bfa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457b84
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x463bf8], eax
cmp dword [0x463bf4], 0
jne 0x457c15
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x463bf4], eax
cmp dword [0x463bfc], 0
jne 0x457c39
push esp
push 0
push 0
push 0x457b28
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x463bfc], eax
pop edx
ret
Function at 0x4582cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x463be0]
cmp dword [eax + 0x30], 0
je 0x458376
cmp dword [ebx + 0x94], 0
jne 0x458370
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45825c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458370
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 0x458336
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458370
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.00418090
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458345
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458ed4
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 0x458f09
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.00404a38
jmp 0x458f16
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040499c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a028
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a069
mov eax, esi
call fcn.00440640
test al, al
je 0x45a069
mov eax, dword [ebx + 0x84]
call fcn.0044033c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a069
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044033c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45abd4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45ad14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404948
lea edx, [ebp - 4]
mov eax, esi
call fcn.004094bc
lea eax, [ebp - 8]
call fcn.00404948
jmp 0x45acce
push 0x200
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404e08
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jbe 0x45acf9
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x160]
mov ecx, 0x104
call fcn.00404bb8
mov eax, dword [ebp - 8]
call fcn.00404c08
test eax, eax
jle 0x45ac7c
push dword [ebp - 0xc]
push 0x45ad2c
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404cc8
jmp 0x45ac87
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.004049e0
mov eax, dword [ebp - 4]
call fcn.00404c08
mov edx, eax
dec edx
lea eax, [ebp - 4]
call fcn.00404f94
jmp 0x45acaf
mov eax, dword [ebp - 4]
call fcn.00404c08
mov edx, eax
dec edx
lea eax, [ebp - 4]
call fcn.00404f94
mov eax, dword [ebp - 4]
call fcn.00404c08
cmp eax, 3
jle 0x45acce
mov eax, dword [ebp - 4]
call fcn.00404c08
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x45ac9c
mov eax, dword [ebp - 4]
call fcn.00404c08
cmp eax, 3
jg 0x45ac1a
mov eax, dword [ebp - 4]
call fcn.00404c08
cmp eax, 3
jne 0x45acf9
mov eax, ebx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404c54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ad1b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040496c
ret
Function at 0x45b444
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 [0x415524]
call fcn.004052f0
xor eax, eax
push ebp
push 0x45b588
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x461edc], 0
jne 0x45b497
mov ecx, dword [0x462334]
mov dl, 1
mov eax, dword [0x407c68]
call fcn.0040c658
call fcn.0040435c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403454
mov eax, ebx
call fcn.004051bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45b598
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.00406330
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051cc
test eax, eax
jle 0x45b52f
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 0x45b528
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404bd0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404bb8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ae0
test eax, eax
jne 0x45b528
mov ebx, 0x15
jmp 0x45b534
mov ebx, 0x10
jmp 0x45b534
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 [0x461edc]
call fcn.0045b39c
mov eax, dword [ebp - 8]
call fcn.0045b39c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b58f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040496c
lea eax, [ebp - 0x10]
mov edx, dword [0x415524]
call fcn.004053c0
ret

Function at 0x45cc18
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45cc9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x45cc7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x12c
lea eax, [ebp - 8]
push eax
push 0x463db8
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0xc]
mov edx, 0x463db8
mov ecx, 0x12d
call fcn.00404bb8
cmp dword [ebp - 0xc], 0
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45cc89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cca6
lea eax, [ebp - 0xc]
call fcn.00404948
ret
Function at 0x45ccb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff4c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xb4], eax
xor eax, eax
push ebp
push 0x45cdc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x45cda5
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xb0], 0x94
lea eax, [ebp - 0xb0]
push eax
call sub.kernel32.dll_GetVersionExA
push 0x45cddc
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jne 0x45cd17
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45cdaf
cmp dword [ebp - 0xac], 5
jb 0x45cd30
push 0x45cde8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
jmp 0x45cd3e
push 0x45ce00
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 8], eax
lea eax, [ebp - 0x19]
push eax
call dword [ebp - 8]
mov byte [ebp - 9], 0
mov eax, 0x463f18
call fcn.00404948
mov edi, 6
lea ebx, [ebp - 0xf]
mov esi, 0x463f10
mov al, byte [ebx]
test al, al
jbe 0x45cd6a
mov byte [ebp - 9], 1
mov byte [esi], al
lea ecx, [ebp - 0xb4]
xor eax, eax
mov al, byte [ebx]
mov edx, 2
call fcn.00408d64
mov edx, dword [ebp - 0xb4]
mov eax, 0x463f18
call fcn.00404c10
inc esi
inc ebx
dec edi
jne 0x45cd60
mov al, byte [ebp - 9]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45cdaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cdcf
lea eax, [ebp - 0xb4]
call fcn.00404948
ret
Function at 0x45d9d0
Capabilities:
Get system information on windows

Disassembly:
push ebx
add esp, 0xffffffd0
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, dword [esp + 0x20]
cmp dword [0x465f50], 0
jne 0x45da1f
push 0x45da7c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x465f50], eax
xor eax, eax
mov dword [0x465f54], eax
cmp dword [0x465f50], 0
je 0x45da1f
push 0x45da8c
mov eax, dword [0x465f50]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x465f54], eax
cmp dword [0x465f54], 0
je 0x45da73
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
call dword [0x465f54]
add esp, 0xc
cmp al, 8
je 0x45da73
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jb 0x45da73
mov eax, dword [esp + 4]
cmp eax, dword [esp + 8]
jb 0x45da73
cmp dword [esp + 8], 0
jbe 0x45da73
mov ebx, dword [esp + 4]
mov eax, ebx
add esp, 0x30
pop ebx
ret
Function at 0x45e324
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov dword [ebx], eax
mov eax, 0x1054
lea ecx, [ebx + 4]
movzx esi, byte [ecx]
add dword [ebx], esi
inc ecx
dec eax
jne 0x45e334
mov word [ebx + 0x1060], 3
xor eax, eax
mov al, dl
mov word [ebx + 0x1062], ax
lea eax, [ebx + 0x10ae]
xor ecx, ecx
mov edx, 0x78
call fcn.00403454
xor eax, eax
mov dword [ebx + 0x1058], eax
mov eax, 0xfa0
lea edx, [ebx + 0x1060]
xor ecx, ecx
mov cl, byte [edx]
add dword [ebx + 0x1058], ecx
inc edx
dec eax
jne 0x45e376
cmp byte [ebx + 0x1076], 0
jne 0x45e396
cmp byte [ebx + 0x107e], 0
je 0x45e3a6
mov eax, dword [ebx + 0x1058]
add eax, 3
dec eax
mov dword [ebx + 0x1058], eax
cmp byte [ebx + 0x1081], 0
je 0x45e3bf
mov eax, dword [ebx + 0x1058]
add eax, 3
dec eax
mov dword [ebx + 0x1058], eax
mov eax, 0xfa0
lea edx, [ebx + 4]
mov cl, byte [edx]
xor byte [edx + 0x105c], cl
inc edx
dec eax
jne 0x45e3c7
xor eax, eax
mov dword [ebx + 0x105c], eax
mov eax, 0xfa0
lea edx, [ebx + 0x1060]
xor ecx, ecx
mov cl, byte [edx]
add dword [ebx + 0x105c], ecx
inc edx
dec eax
jne 0x45e3e6
pop esi
pop ebx
ret
Function at 0x402f60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x402f90
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f3a55
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x402f97
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4131b0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 0
mov esp, ebp
pop ebp
ret
Function at 0x4138b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
jne 0x4138e6
movzx eax, byte [ebp + 8]
xor eax, 0x20
sub eax, 0xa1
cmp eax, 0x3c
jae 0x4138e1
cmp dword [ebp + 0xc], 0
je 0x4138da
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
mov al, 1
jmp 0x413973
jmp 0x413971
cmp dword [ebp + 0x10], 1
jne 0x413924
movzx edx, byte [ebp + 8]
cmp edx, 0xa1
jl 0x413903
movzx eax, byte [ebp + 8]
cmp eax, 0xf4
jle 0x41390f
movzx ecx, byte [ebp + 8]
cmp ecx, 0x8e
jne 0x413922
cmp dword [ebp + 0xc], 0
je 0x41391e
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
mov al, 1
jmp 0x413973
jmp 0x413971
cmp dword [ebp + 0x10], 2
jne 0x413971
movsx eax, byte [ebp + 8]
and eax, 0x80
je 0x413971
cmp dword [ebp + 0xc], 0
je 0x41396d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
mov dword [ebp - 4], 0x80
jmp 0x413955
mov edx, dword [ebp - 4]
sar edx, 1
mov dword [ebp - 4], edx
movsx eax, byte [ebp + 8]
and eax, dword [ebp - 4]
je 0x41396d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x41394d
mov al, 1
jmp 0x413973
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x416550
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67138b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x82ea48]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0x280
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x1e0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x18], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0xff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0x10000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0x10000
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x30], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0xff
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0x10000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0x10000
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
push 0x7b457c
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00404ef0
mov dword [ebp - 4], 0
push 0x7b457c
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00404ef0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x7c], 0x18
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x7d], 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x84], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x88], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x90], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x94], 0xffffff
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x98], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x9c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xa0], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa4], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xa8], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xa9], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret