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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4729dc]
cmp byte [eax + 0xc], 0
je 0x43c07d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c076
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x473afc], 0
jne 0x43bf64
push 0x43c084
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43c08c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473afc], eax
cmp dword [0x470abc], 0
jne 0x43c05f
push 0x43c09c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x470abc], eax
cmp dword [0x470abc], 0
je 0x43c05f
push 0x43c0a8
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b00], eax
push 0x43c0b8
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b04], eax
push 0x43c0cc
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b08], eax
push 0x43c0e4
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b0c], eax
push 0x43c0fc
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b10], eax
push 0x43c110
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b14], eax
push 0x43c128
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b18], eax
push 0x43c140
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b1c], eax
push 0x43c15c
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b20], eax
push 0x43c168
mov eax, dword [0x470abc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x473b24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c07d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ff30
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.00404574
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ff7f
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.004047e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447728
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447778]
test si, 4
je 0x44773c
or bl, 1
test si, 8
je 0x447746
or bl, 4
test si, 1
je 0x447750
or bl, 8
test si, 2
je 0x44775a
or bl, 0x10
test si, 0x10
je 0x447764
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447773
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44777c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4477b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447795
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4477a4
or bl, 4
test esi, 0x20000000
je 0x4477af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44de78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44de8a
add esp, 0xfffffff0
call fcn.00403b00
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e514
mov eax, dword [0x472570]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e21c
mov eax, dword [0x47257c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e228
mov eax, ebx
call fcn.0044e234
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4161cc]
call fcn.004037b0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4161cc]
call fcn.004037b0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4161cc]
call fcn.004037b0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4161cc]
call fcn.004037b0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4161cc]
call fcn.004037b0
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, 0x44a64c
push eax
push 0
push 0
mov eax, dword [0x472740]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ff3c]
call fcn.004213a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ff3c]
call fcn.004213a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ff3c]
call fcn.004213a4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e684
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e54c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e54c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e54c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44dfc7
call fcn.00403b58
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e330
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 0x44e4db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e4bc
mov dl, 1
mov eax, dword [0x4166a0]
call fcn.004037b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404574
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e4ab
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.0043c270
test al, al
je 0x44e49e
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, 0x44e4ec
lea eax, [ebp - 0x254]
call fcn.00409dec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e49e
xor eax, eax
push ebp
push 0x44e497
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 0x44e524
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e480
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
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 0x44e480
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e49e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e3a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a6ac
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 0x44e4e2
lea eax, [ebp - 0x260]
call fcn.00404574
ret

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

Disassembly:
push ecx
mov eax, dword [0x473b48]
cmp byte [eax + 0xa5], 0
jne 0x44ee95
cmp dword [0x473b60], 0
jne 0x44ee56
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ede0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x473b60], eax
cmp dword [0x473b5c], 0
jne 0x44ee71
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x473b5c], eax
cmp dword [0x473b64], 0
jne 0x44ee95
push esp
push 0
push 0
push 0x44ed84
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x473b64], eax
pop edx
ret
Function at 0x44f528
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x473b48]
cmp dword [eax + 0x30], 0
je 0x44f5d2
cmp dword [ebx + 0x94], 0
jne 0x44f5cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f4b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f5cc
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 0x44f592
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f5cc
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.00418600
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f5a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450130
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 0x450165
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.00404664
jmp 0x450172
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451204
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451245
mov eax, esi
call fcn.00437a28
test al, al
je 0x451245
mov eax, dword [ebx + 0x84]
call fcn.004377c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451245
push 0
mov eax, dword [ebx + 0x84]
call fcn.004377c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [0x40408c]
push edi
push 0x10000
push 2
call esi
mov edi, dword [0x4040c8]
push eax
mov dword [0x405434], eax
call edi
push 0x8040
push 2
mov dword [0x405430], eax
call esi
push eax
mov dword [0x40546c], eax
call edi
push 0x400
push 2
mov dword [0x40545c], eax
call esi
push eax
mov dword [0x40544c], eax
call edi
mov dword [0x405438], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x405438]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x4020c4
Capabilities:
Encode data using xor

Disassembly:
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405438]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020c5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8

Function at 0x4030a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4030b2
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x4030eb
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4030e5
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405438]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4030c5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8
Function at 0x4065c9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42d2c4], 0
jne 0x406604
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065dd
mov dword [ecx*4 + 0x42d2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4065d8
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406631
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42d2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406612
not eax
pop ebp
ret 0xc

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x422df3
Capabilities:
Manually build aes constants

Disassembly:
setno cl
rol eax, 1
pop edx
not eax
lea eax, [ecx + eax + 0x1c24e782]
xor eax, 0x1092a8bf
lea edx, [ecx + ecx*8 + 0x499608e]
xor dword [esp + ecx*2 - 0x1fe00], ecx
dec eax
dec cl
inc ecx
or edx, 0xa20289a8
xor eax, 0x7b189888
rol eax, 3
neg eax
sal cx, 0xa1
xor ebx, eax
add dword [esp + ecx*2 - 0x20000], edx
jne 0x4489f4
mov ecx, 0x5a983983
call fcn.0047c6d2
mov ecx, 0x5087c23c
mov edx, 0x1b2e2d0d
lea eax, [edx*2 - 0x66c159d2]
mov ecx, edi
shr eax, 0x81
lea eax, [eax + edx - 0x3c547b71]
sal dl, 0xe5
lea edi, [edi + eax - 0x46a731c2]
sal edx, 0xf0
mov word [edi + edx*2 - 0x5b400000], cx
movzx ecx, dx
shl edx, 0x4a
lea esi, [esi + eax - 0x46a731c4]
lea eax, [eax*4 - 0x64f75445]
not cx
or dl, al
mov edx, dword [esi + ecx*2 - 0x1fffe]
rol cx, 0x6e
jb 0x4924a5

Function at 0x43f48d
Capabilities:
Encode data using base64

Disassembly:
ror ecx, 1
xadd edx, eax
jno 0x492f68
Function at 0x44a938
Capabilities:
Manually build aes constants

Disassembly:
shr dword [esp + ecx - 0x1f8], 0x21
adc cl, byte [ebp + ecx - 0x1fc]
neg dword [esp + 4]
jle 0x4ac535
mov eax, 0x4427b69e
movzx ecx, al
movsx edx, cl
lea edi, [edi + ecx*4 - 0x27c]
inc ecx
mov edx, dword [edi + eax - 0x4427b69e]
xor edx, ebx
lea eax, [ecx + ecx*4 - 0x697796ee]
neg edx
neg eax
xor edx, 0x34b2810a
bt eax, ecx
lea edx, [edx + eax*2 + 0x129fcadb]
xadd eax, ecx
xor edx, 0x42ba6fbc
rol eax, 0xef
btc eax, 0x12
xor ebx, edx
jmp 0x4c848d
movzx ecx, byte [ebp]
not al
lea eax, [eax + 0x43911022]
sal eax, 0xc8
adc ebp, 0
xor cl, bl
btc eax, 0xbc
not cl
not eax
bts ax, 0x19
neg cl
dec eax
call fcn.00435c3f
mov edx, 0x9e3182ae
movzx ecx, dx
not edx
mov ecx, dword [edx + esi - 0x61ce7d51]
sal edx, 0x3c
adc edx, edx
sub edx, edx
mov eax, dword [esi + edx + 4]
not dl
jae 0x4b2d17
xor ecx, ebx
shl eax, 8
not dl
cwde
inc ecx
rol al, 0x21
rol dl, 0xc5
lea edx, [eax*8 + 0x252c2330]
xor ecx, 0x9b211ba0
sal al, 0x22
and edx, 0x13849386
cwde
sbb ecx, 0xb190bcaf
and ax, dx
dec dx
sbb dx, dx
rol ecx, 2
sub ecx, 0xe8ab0f05
and dx, dx
shl dx, 2
xor ecx, 0x3400912f
shl eax, 0x81
jle 0x483f18
sub edi, 4
mov eax, dword [edi]
mov edx, 0x7681be98
movzx ecx, dx
sal edx, 0x98
xor eax, ebx
xor eax, 0x1a194903
bswap eax
btr cx, 0xa
inc eax
not eax
dec edx
xor ebx, eax
add ebp, eax
mov cx, word [esi + ecx*8 - 0x5d4c0]
mov ax, word [esi + 2]
dec dx
sub edx, edx
lea esi, [edx + esi + 2]
sbb dx, dx
adc cx, ax
mov word [esi + edx], cx
neg dl
or edx, ebp
jmp edx
lea esi, [esi + edx*2 - 0x1f6]
btr dx, dx
add dx, 0x7b1f
mov dword [ecx + edx*2 - 0xf83c], eax
mov eax, edx
shr eax, 0x10
lea edi, [edi + edx - 0x7c22]
imul dx
xor eax, dword [edi + edx*2]
lea ecx, [edx*2 + 0x6f1abb9c]
xor eax, ebx
and edx, 0xef2fad34
rol eax, 1
neg eax
call fcn.004c0d8b
mov eax, 0xd6157516
cbw
mov edx, 0xae893608
mov edx, dword [edi]
movsx ecx, al
mov cl, byte [edi + ecx*4 - 0x54]
idiv al
bts eax, eax
cwde
lea edi, [eax + edi + 3]
sal ax, 0x8c
ja 0x4808f2
call fcn.004855b8
mov ecx, 0xb00f21b5
sub ebp, 4
mov eax, dword [ebp]
lea ecx, [ecx*4 - 0x385f6e48]
movsx edx, cx
dec ecx
xor eax, ebx
lea eax, [eax + ecx + 0x2760f700]
add ecx, 0xdd17f918
bswap eax
lea ecx, [ecx + ecx - 0x41e67363]
imul ecx, edx
ror eax, 1
not eax
add cx, cx
jnp 0x4abe47
rol eax, 1
push ecx
ror cl, 0x42
lea eax, [eax + edx + 0x188b7803]
sub edx, 0x7c148da3
ror cx, 0xee
xor eax, 0x37937aa1
xor ebx, eax
jmp 0x4c90e7

Function at 0x459902
Capabilities:
Encode data using base64

Disassembly:
rol dl, 0x61
bswap eax
not cl
mov dword [esp + eax - 0x59000000], 0xd33a81b6
sbb al, al
mov dword [esp + eax - 0x58fffffd], edx
xor bl, cl
pop eax
mul eax
lea ecx, [esp + ecx + 4]
xor word [esp + edx - 0x7c1569c0], dx
mov dx, word [ecx + edx - 0x7c1569c0]
setl al
sub byte [esp + 3], 0xc
movzx ecx, word [esp]
lea edi, [edi + ecx - 0xceb7]
sal cx, 0xc6
jnp 0x484beb
mov word [edi + ecx - 0xad40], dx
pop edx
js fcn.00441079
Function at 0x4c8405
Capabilities:
Manually build aes constants

Disassembly:
push edx
ror eax, 3
and dx, dx
xor ebx, eax
and edx, edx
ror dl, 0xe1
lea esi, [edx + esi - 0x6704cf8a]
mov ecx, edx
shr edx, cl
mov dword [esi + edx*2 - 0x338267c], eax
pop edx
mov edx, dword [ebp + edx - 0x6704cf0d]
sets cl
shl ecx, 0x24
lea ebp, [ebp + ecx - 0x704ceffc]
movsx eax, cl
mov dword [esp + ecx - 0x704cf000], 0xe100e910
xor edx, ebx
dec edx
ror edx, 3
neg eax
and eax, dword [esp + eax*2 + 4]
dec edx
shl dword [esp + eax*2], 0x3e
rol ax, 0xed
ror edx, 2
not ecx
dec edx
shl cx, 0xd
call fcn.00402dc4
mov edx, dword [edi]
lea ecx, [eax*8 - 0x4266bcc5]
inc ecx
bts eax, 0xa1
xor edx, ebx
ror ax, 0x41
add ecx, eax
inc edx
sal ax, 0x8f
call fcn.00462594

Function at 0x4cafc9
Capabilities:
Encode data using xor

Disassembly:
adc ecx, edx
dec ecx
rol edx, 0x37
neg eax
xor ebx, eax
dec cl
neg ecx
add edi, eax
imul ecx, ecx
jo fcn.00483916
sub edx, 0x8d96dbbb
neg edx
mov ecx, dword [esp + 4]
inc edx
xor edx, 0xe996fe84
lea edx, [edx + ecx*8 + 0x13cf1f0d]
sal cx, 0x29
bswap ecx
jbe 0x48abf8
xor ebx, edx
add edi, edx
pop ecx
rol dword [esp], 0xdc
movzx dx, byte [esi]
mov ecx, 0xdbb47027
mov eax, dword [esp + 4]
add eax, 0x23254
jmp eax
Function at 0x4344a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b2fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a5b6b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434522
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a35ac
mov eax, dword [eax]
push 0x4d5ca4
push eax
call fcn.00495cc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a5df6
test bl, bl
je 0x434522
push 0x4d5ca4
lea ecx, [esp + 0xc]
call fcn.004a61d2
push 0x4d5cb0
lea ecx, [esp + 0xc]
call fcn.004a61d2
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43455e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a5df6
jmp 0x434629
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4345e2
lea edx, [esp + 0x7c]
push 0x4d5cac
push edx
call fcn.00495cc4
add esp, 8
test eax, eax
je 0x4345e2
lea eax, [esp + 0x7c]
push 0x4d5ca8
push eax
call fcn.00495cc4
add esp, 8
test eax, eax
je 0x4345e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434572
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a5df6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x434e20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x434e82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc