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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44e648]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e629
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e638
or bl, 4
test esi, 0x20000000
je 0x44e643
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x454d0c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x454d1e
add esp, 0xfffffff0
call fcn.004039b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d1a8
mov eax, dword [0x475f24]
mov dword [eax + 4], ebx
mov dword [eax], 0x4550b0
mov eax, dword [0x475f30]
mov dword [eax + 4], ebx
mov dword [eax], 0x4550bc
mov eax, ebx
call fcn.004550c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41540c]
call fcn.0040364c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41540c]
call fcn.0040364c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41540c]
call fcn.0040364c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41540c]
call fcn.0040364c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41540c]
call fcn.0040364c
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, 0x4514e0
push eax
push 0
push 0
mov eax, dword [0x476100]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ec2c]
call fcn.004203c4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ec2c]
call fcn.004203c4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ec2c]
call fcn.004203c4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00455518
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4553e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4553e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4553e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454e5b
call fcn.00403a0c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4551c4
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 0x45536f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455350
mov dl, 1
mov eax, dword [0x415828]
call fcn.0040364c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404408
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45533f
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.00442f30
test al, al
je 0x455332
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, 0x455380
lea eax, [ebp - 0x254]
call fcn.0040945c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455332
xor eax, eax
push ebp
push 0x45532b
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 0x4553b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455314
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404678
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 0x455314
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455332
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455235
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419304
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 0x455376
lea eax, [ebp - 0x260]
call fcn.00404408
ret

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

Disassembly:
push ecx
mov eax, dword [0x477bc0]
cmp byte [eax + 0xa5], 0
jne 0x455d29
cmp dword [0x477bd8], 0
jne 0x455cea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455c74
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x477bd8], eax
cmp dword [0x477bd4], 0
jne 0x455d05
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x477bd4], eax
cmp dword [0x477bdc], 0
jne 0x455d29
push esp
push 0
push 0
push 0x455c18
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x477bdc], eax
pop edx
ret
Function at 0x4563bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x477bc0]
cmp dword [eax + 0x30], 0
je 0x456466
cmp dword [ebx + 0x94], 0
jne 0x456460
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45634c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456460
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 0x456426
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456460
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.00417774
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456435
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456fc4
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 0x456ff9
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.004044f8
jmp 0x457006
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040445c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4581c0
Capabilities:
Hide graphical window

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

Function at 0x45c130
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45c15e
mov eax, ebx
call fcn.0045cbe4
cmp dword [ebx + 0x40], 0
je 0x45c157
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45c1cf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45c1c1
cmp dword [ebx + 8], 0
je 0x45c180
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 0x45c192
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45c1c1
cmp dword [ebx + 8], 0
je 0x45c173
cmp eax, 3
je 0x45c1a5
dec eax
jne 0x45c173
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 0x45c173
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45c173
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45c1ed
cmp dword [ebx + 0x14], 0xcc
je 0x45c1ed
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.0045c1f8
pop ebx
ret
Function at 0x470fac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4711ab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
jne 0x470ffe
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x471040
cmp byte [ebp - 9], 1
jne 0x471023
mov eax, dword [ebp - 4]
call fcn.004048c8
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00470e58
jmp 0x471040
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004048c8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00470e58
xor edi, edi
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp + 0xc]
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x47117e
test bl, bl
jne 0x47106e
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47106e
mov bl, 1
test bl, bl
jbe 0x471177
cmp byte [ebp - 9], 0
jne 0x471116
push 0xff
lea eax, [ebp - 0x11b]
push eax
push esi
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x11b]
mov ecx, 0xff
call fcn.00404678
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.0045924c
test al, al
je 0x471177
push 0xff
lea eax, [ebp - 0x11b]
push eax
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x11b]
mov ecx, 0xff
call fcn.00404678
lea ecx, [ebp - 0x120]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00470e58
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x124]
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00470e58
mov eax, dword [ebp - 0x124]
pop edx
call fcn.0045924c
test al, al
jne 0x47117e
jmp 0x471177
cmp byte [ebp - 9], 1
jne 0x471130
push 0xff
lea eax, [ebp - 0x11b]
push eax
push esi
call sub.user32.dll_GetWindowTextA
jmp 0x471142
push 0xff
lea eax, [ebp - 0x11b]
push eax
push esi
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x11b]
mov ecx, 0xff
call fcn.00404678
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x18]
xor edx, edx
call fcn.00470e58
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0045924c
test al, al
jne 0x47117e
mov edi, esi
jmp 0x471042
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4711b2
lea eax, [ebp - 0x128]
mov edx, 3
call fcn.0040442c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040442c
ret
Function at 0x41b483
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b2f4

Function at 0x41b87d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b260
mov eax, dword [0x47c940]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00419264
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41b8bf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41ba1b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426310
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47efa0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041c61c
mov ecx, dword [esi*4 + 0x47efa0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41ba14
cmp eax, dword [edi + ecx + 0x24]
jne 0x41ba14
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ba14
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041c61c
add esp, 0x14
test edx, edx
jl 0x41ba14
jg 0x41b98a
test eax, eax
jb 0x41ba14
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41ba14
jl 0x41b9a4
cmp dword [ebp - 0x1008], eax
ja 0x41ba14
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41b9c2
test ebx, ebx
je 0x41b9fb
cmp ecx, edi
jae 0x41b9fb
mov al, byte [ecx]
cmp al, 0xd
jne 0x41b9dc
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41b9e8
cmp byte [ecx + 1], 0xa
jne 0x41b9e8
inc ecx
jmp 0x41b9e8
movzx eax, al
movsx eax, byte [eax + 0x47cc08]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41b9c2
cmp edx, ebx
jne 0x41b9c2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41ba19
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040a62d
leave
ret
Function at 0x41baba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47efa0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41bafa
cmp byte [ebx], 0xa
jne 0x41bafa
or byte [eax + edi + 0x28], 4
jmp 0x41baff
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41bbfd
mov al, byte [edx]
cmp al, 0x1a
je 0x41bbdf
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41bb2e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41bb53
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41bb5d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41bb10
jmp 0x41bbfd
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bbda
cmp dword [ebp - 0xc], 0
je 0x41bbda
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47efa0]
test byte [eax + edi + 0x28], 0x48
je 0x41bbb4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41bb9f
mov byte [esi], dl
jmp 0x41bbb0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47efa0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41bbfd
cmp byte [ebp - 1], 0xa
jne 0x41bbc3
cmp esi, ebx
jne 0x41bbc3
mov byte [esi], 0xa
jmp 0x41bbfc
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041c63a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41bbfd
mov byte [esi], 0xd
jmp 0x41bbfc
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47efa0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41bbf9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41bbfd
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41bc06
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47efa0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41bc49
cmp word [esi], dx
jne 0x41bc49
or byte [edi + eax + 0x28], 4
jmp 0x41bc4e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41bda1
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41bd81
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41bc90
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41bcc6
cmp eax, edx
jae 0x41bcd2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41bc68
jmp 0x41bda1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bd7d
cmp dword [ebp - 0x14], 0
je 0x41bd7d
mov eax, dword [ebx*4 + 0x47efa0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41bd55
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41bd1e
mov word [esi], cx
jmp 0x41bd51
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47efa0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47efa0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47efa0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41bda1
pop ebx
cmp word [ebp - 4], bx
jne 0x41bd66
cmp esi, dword [ebp + 0xc]
jne 0x41bd66
mov word [esi], bx
jmp 0x41bd9e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041c63a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41bda1
push 0xd
jmp 0x41bd9a
mov ecx, dword [ebx*4 + 0x47efa0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41bd98
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41bda1
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10003277
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10003286
pop dword [ebp - 0x2c]
mov eax, 0x203d535f
sub eax, 0x103d20d9
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xa1b78878
add dword [ebp - 0x3c], 0xac9abcd3
mov dword [ebp - 0x38], 0xc833159e
add dword [ebp - 0x38], 0x6a0036a7
mov dword [ebp - 0x34], 0x552c652f
sub dword [ebp - 0x34], 0x8e02101
mov dword [ebp - 0x30], 0x703ec399
sub dword [ebp - 0x30], 0x703ec399
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x37e68608
add eax, 0xd81bca7c
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xf9447d4c
add dword [ebp - 0x3c], 0x7b2dec0a
mov dword [ebp - 0x38], 0xdd2b8ba3
sub dword [ebp - 0x38], 0x9bbf2a2e
mov dword [ebp - 0x34], 0xa9f7c091
add dword [ebp - 0x34], 0xb977abdb
mov dword [ebp - 0x30], 0x74b76a27
add dword [ebp - 0x30], 0x8b4895d9
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x56a6c3bf
sub eax, 0x46a47343
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e6b8
push 0
call eax
mov ecx, 0x83f7f057
sub ecx, 0x83f79c4e
mov edx, eax
mov ebx, 0x73575ab1
sub ebx, 0x63544eb1
add ebx, dword [ebp - 0x2c]
mov edi, 0x5df9e4af
add edi, 0x3ba1d93a
add dword [ebp - 0x24], 0x25f59754
mov esi, dword [ebx]
add esi, edi
xor dword [ebp - 0x1c], 0xfaf88986
mov dword [edx], esi
sub dword [ebp - 0xc], ecx
add edx, 0x7f64c3d8
sub edx, 0x7f64c3d4
add ebx, 0x7c4061d9
add ebx, 0x83bf9e2b
loop 0x100033a8
add eax, 0x4de5a4b4
sub eax, 0x4de461bd
xor ebx, ebx
add ebx, eax
add eax, 0x13d296b7
sub eax, 0x13d296b2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x1001ca50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1001caeb
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x1001caa2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x1001caa2
cmp esi, ebx
jge 0x1001caa2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1001cae5
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x1001cae5
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100252e0]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100252e0]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1001cafd
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc
Function at 0x421410
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x525e60]
xor edx, edx
cmp eax, edx
jne 0x421436
xor eax, eax
mov byte [eax + 0x525d60], al
inc eax
cmp eax, 0x100
jl 0x42141e
mov dword [0x525e60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x525d60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4214c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42149a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x421468
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x421593
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42157a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret