joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001de84
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x1001deb9
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x1001deb6
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x1001dec2
add edx, 0x28
cmp edx, esi
jne 0x1001dea4
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x1001debf

Function at 0x1002db75
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10040734
push 0x1004072c
push str.FlsAlloc
push 0x1e
call fcn.1002d9ff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002dba9
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003b1cc]
call esi
jmp 0x1002dbaf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002dbf3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10040744
push 0x1004073c
push str.FlsGetValue
push 0x20
call fcn.1002d9ff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002dc2a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003b1cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10030b30
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10030bcd
push ebx
push esi
call fcn.10030af9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002fa3e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10030b7a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10030bcc
push edi
push eax
call fcn.1002c5e2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10030b9a
call fcn.1002c5a8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10030bcb
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002fa3e
add esp, 0x20
test eax, eax
jne 0x10030bb9
push edi
call fcn.1002c5a8
jmp 0x10030bc1
push ebx
call fcn.1002c5a8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100385a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100385cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100385cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43f894
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x43f8b0
cmp dword [esi + 4], 0
je 0x43f8dd
test byte [ebx + 0x55], 1
jne 0x43f8cf
mov eax, ebx
call fcn.0043e434
test eax, eax
jne 0x43f8cf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f9ed
mov edx, esi
mov eax, ebx
call fcn.0043f3b8
jmp 0x43f9ed
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43f9e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00441704
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043c130
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043f894
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00441704
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f9ed
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446294
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test al, 0x88
pop ebp
test eax, 0x9daa45c6
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0x25
mov byte [ebp - 0x53], 7
mov byte [ebp - 0x52], 0x16
mov byte [ebp - 0x51], 0x31
mov byte [ebp - 0x50], 0x1b
mov byte [ebp - 0x4f], 0x11
mov byte [ebp - 0x4e], 0x16
mov byte [ebp - 0x4d], 7
mov byte [ebp - 0x4c], 0xf
mov byte [ebp - 0x4b], 0x2b
mov byte [ebp - 0x4a], 0xc
mov byte [ebp - 0x49], 4
mov byte [ebp - 0x48], 0xd
mov byte [ebp - 0x47], 0x62
call fcn.0044604e
adc al, 0x36
invalid
Function at 0x447f14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x6fc], 6
jne 0x447fbb
and byte [ebp - 0x7dc], 0
and byte [ebp - 0x7db], 0
mov byte [ebp - 0x7da], 0xd4
and byte [ebp - 0x7d9], 0
mov byte [ebp - 0x7d8], 0x77
mov byte [ebp - 0x7d7], 0x4e
mov byte [ebp - 0x7d6], 0x59
mov byte [ebp - 0x7d5], 0x59
mov byte [ebp - 0x7d4], 0x44
mov byte [ebp - 0x7d3], 0x59
mov byte [ebp - 0x7d2], 5
mov byte [ebp - 0x7d1], 0x47
mov byte [ebp - 0x7d0], 0x44
mov byte [ebp - 0x7cf], 0x4c
mov byte [ebp - 0x7ce], 0x2b
call fcn.0044604e
sbb edx, dword [edx + 0x4d]
sub byte [edx + 0xb], 0x8d
test dword [eax + edi*8], esp
invalid
jmp 0x4480ee

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

Function at 0x451894
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4518e4]
test si, 4
je 0x4518a8
or bl, 1
test si, 8
je 0x4518b2
or bl, 4
test si, 1
je 0x4518bc
or bl, 8
test si, 2
je 0x4518c6
or bl, 0x10
test si, 0x10
je 0x4518d0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4518df
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458464
Capabilities:
Get keyboard layout

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 0x45860f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4585f0
mov dl, 1
mov eax, dword [0x418be4]
call fcn.00403bbc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049c0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4585df
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.00446294
test al, al
je 0x4585d2
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, 0x458620
lea eax, [ebp - 0x254]
call fcn.0040a5e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4585d2
xor eax, eax
push ebp
push 0x4585cb
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 0x458658
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4585b4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c30
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 0x4585b4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4585d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4584d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d5d8
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 0x458616
lea eax, [ebp - 0x260]
call fcn.004049c0
ret

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

Disassembly:
push ecx
mov eax, dword [0x49ebb8]
cmp byte [eax + 0xa5], 0
jne 0x458fb5
cmp dword [0x49ebd0], 0
jne 0x458f76
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458f00
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x49ebd0], eax
cmp dword [0x49ebcc], 0
jne 0x458f91
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x49ebcc], eax
cmp dword [0x49ebd4], 0
jne 0x458fb5
push esp
push 0
push 0
push 0x458ea4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x49ebd4], eax
pop edx
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
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 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x421850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x421872
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421868
mov eax, 1
add ebx, ebx
jne 0x42188b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421880
jne 0x42189c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421880
xor ecx, ecx
sub eax, 3
jb 0x4218b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421922
mov ebp, eax
add ebx, ebx
jne 0x4218bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4218c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4218ec
inc ecx
add ebx, ebx
jne 0x4218d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4218cd
jne 0x4218e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42190c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4218fd
jmp 0x42186e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42190c
add edi, ecx
jmp 0x42186e
pop esi
mov edi, esi
mov ecx, 0x663
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42192a
cmp byte [edi], 7
jne 0x42192a
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 eax, ebx
loop 0x42192f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4219a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21bf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42195c
mov ecx, edi
jns 0x42198b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21bf4]
or eax, eax
je 0x4219a1
mov dword [ebx], eax
add ebx, 4
jmp 0x421979
call dword [esi + 0x21bf8]
popal
jmp 0x40325c

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x5b77fd
Capabilities:
Encode data using xor

Disassembly:
sub eax, 0x7db0244c
sbb eax, 0xbb69ab5b
fist dword [ebx - 0x5e49225d]
xor ecx, esi
dec edi
pop es
sub eax, 0x6d533d67
jmp dword [ecx - 0x43]
sub al, 0x62
or ecx, dword [esi]
sub cl, bh
fucom st(5)
add byte [edx], ah
mov edx, ebx
push dword [ebp - 0x12]
cmc
xor dword [edx + 0x5498464a], 0x6d19ff55
or al, 0xc9
ja 0x5b77cc
add ebp, esp
mov cl, 0x44
mov bh, 0x7b
sbb byte [ebp + 0x3a813dc1], cl
test eax, 0x893dfe51
cmp ch, byte [ecx - 0x76c201af]
loope 0x5b774d
test byte [ebp + 0x41], bl
pushal
push ss
xchg edx, eax
invalid
popal
push eax
rol byte [edi - 0x3ec272a0], cl
rcr byte cs:[ebx], 0xb5
sub al, 0xea
sbb al, 0xf1
ror dword [edi], 0xf2
cmc
out dx, al
jno 0x5b77a1
inc eax
fld qword [esi + 0x7e]
jae 0x5b7834
cwde
jp fcn.005b77fd
pop edx
push ss
sbb eax, 0x2deb6c63
int 0x5a
sal cl, 1
push ebx
clc
invalid
dec esp
pop esi
jno 0x5b7781
push ecx
fnstsw word [0x65c6]
loope 0x5b7855
imul edx, esi, 0x75f286ec
pop ebp
push ebx
salc
push ss
mov dword [0xe111d3bd], eax
in eax, 0x7f
sbb al, 0xc3
scasd eax, dword es:[edi]
xchg ebp, eax
or al, byte [ebx - 0xb]
int 0xcb
jne 0x5b77aa
repne lodsb al, byte [esi]
shr byte es:[ebp - 0x3b], cl
xchg ecx, eax
push ecx
inc esi
sahf
push eax
pop ds
push cs
push edx
mov byte [0x8745eadb], al
cmp cl, byte [edi - 0x24c39acd]
push dword [edi + esi*2]
imul dword [0x11e1fb66]
sbb al, 0x10
mov ch, 0xae
cmp eax, 0xef90ffe9
mov dword [0x6866f843], eax
jg 0x5b78d4
push 0x32897c7f
mov dword [edx], esi
jbe 0x5b78d6
invalid
fisttp qword [ecx]
ror dword [edx - 0x15], cl
sbb dword [ebp + 0x1dcb2f2e], eax
cwde
invalid
Function at 0x65782d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f398
cmp edx, dword [eax]
je 0x65784f
add eax, 8
inc ecx
cmp eax, 0x65f428
jl 0x657840
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f398]
jne 0x65797d
mov eax, dword [0xa5bcf4]
cmp eax, 1
je 0x657957
test eax, eax
jne 0x657880
cmp dword [0x65f2c4], 1
je 0x657957
cmp edx, 0xfc
je 0x65797d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6578b7
lea eax, [ebp - 0x1a4]
push 0x65c9e0
push eax
call fcn.00658210
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006586a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6578fa
lea eax, [ebp - 0x1a4]
push eax
call fcn.006586a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c9dc
push edi
call fcn.0065a570
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65c9c0
push eax
call fcn.00658210
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658220
lea eax, [ebp - 0xa0]
push 0x65c9bc
push eax
call fcn.00658220
push dword [esi + 0x65f39c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658220
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c994
push eax
call fcn.0065a4e4
add esp, 0x2c
pop edi
jmp 0x65797d
lea eax, [ebp + 8]
lea esi, [esi + 0x65f39c]
push 0
push eax
push dword [esi]
call fcn.006586a0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4bc93d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5390
cmp edx, dword [eax]
je 0x4bc95f
add eax, 8
inc ecx
cmp eax, 0x4c5420
jl 0x4bc950
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5390]
jne 0x4bca8d
mov eax, dword [0x4cad20]
cmp eax, 1
je 0x4bca67
test eax, eax
jne 0x4bc990
cmp dword [0x4c52bc], 1
je 0x4bca67
cmp edx, 0xfc
je 0x4bca8d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc9c7
lea eax, [ebp - 0x1a4]
push 0x4c1ae8
push eax
call fcn.004bd320
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd7b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bca0a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd7b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1ae4
push edi
call fcn.004bf680
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1ac8
push eax
call fcn.004bd320
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd330
lea eax, [ebp - 0xa0]
push 0x4c1ac4
push eax
call fcn.004bd330
push dword [esi + 0x4c5394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd330
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1a9c
push eax
call fcn.004bf5f4
add esp, 0x2c
pop edi
jmp 0x4bca8d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c5394]
push 0
push eax
push dword [esi]
call fcn.004bd7b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x6dd641
Capabilities:
Encode data using xor

Disassembly:
dec ebp
lcall 0x5b00, 0xb7005b00
add byte [edi + 4], cl
add byte [eax], al
pop ss
rcr byte [ebx], cl
mov bh, 0
inc edi
add byte [ecx], dl
xchg esi, eax
ret
sbb ebp, dword ss:[edi]
sbb ebx, dword [edi + 0x11221551]
ret 0x9ecf
outsd dx, dword [esi]
and bh, al
inc ebx
shl byte [edx - 0x2d], cl
lea edi, [esi]
insd dword es:[edi], dx
push ecx
lodsd eax, dword [esi]
push edx
jbe 0x6dd667
fdiv st(2), st(0)
push 0x21
mov esi, esi
movsd dword es:[edi], dword [esi]
jmp 0x6dd620
and dword [edx + 0x66], 0xb5a40e7b
ret 0xd8c4
mov esp, 0xc42d33cc
mov bl, 0xb4
jb 0x6dd5d3
mov esi, 0x10f30458
sal edx, cl
mov dh, ah
push edi
sub byte [edx + 0x40], ah
cmpsd dword [esi], dword es:[edi]
push edx
in al, dx
sbb eax, 0x5488bb1a
push esp
lahf
or bl, dl
ficom dword [ebp + 0x5b3a55fd]
sbb dword [eax + 0x112ba03f], ebx
and byte [esi + 0x6d], dl
ficom dword [ebp + 0x5b3a55fd]
sbb dword [eax + 0x112ba03f], ebx
and byte [esi + 0x6d], dl
loop 0x6dd6c2
ror ecx, 1
leave
arpl word [ecx + 0x22], sp
mov edx, 0x14e82e2c
and bh, byte [edx + 0x14e82e2c]
xor ch, 0xdd
xlatb
jno 0x6dd5f7
js 0x6dd6ae
sbb al, 0xe
add ch, byte [0xe09f9411]
cmp dword [ebx + ebx*8], esp
ror dword [ecx + 0x2c], 1
jae 0x6dd657
int1
cmp esi, eax
pushfd
and cl, byte [ebx + 0x63210f0a]
mov ecx, dword [edx]
mov ebx, dr4
and dword [ebx + 5], esp
jp 0x6dd615
add eax, 0x9861937a
popal
cwde
jge 0x6dd6dd
ja 0x6dd6a0
loope 0x6dd6ad
bnd ja 0x6dd67d
bound ecx, qword [ebx]
out 0xb1, eax
lcall 0x9233, 0xb5d82e2
bound esi, qword [edx - 0x24]
mov al, byte [0xb60c2a]
sub ah, bh
fisttp word [ecx]
loope 0x6dd663
test dword [eax + eax*4 - 0x769bf910], edi
pushfd
clc
invalid
xor al, 0xdc
fist word [edx - 0x52]
retf 0xb220
leave
shr dh, 1
movsd dword es:[edi], dword [esi]
sub ecx, edx
test dword [edi + 0x5e], ecx
cli
add eax, 0x604b8095
into
scasb al, byte es:[edi]
sub al, 0x6c
sbb eax, ecx
jns 0x6dd67a
sal byte [esi + 0x18], 0x65
mov al, byte [0xc2d3e378]
test dword [edi + esi*2 - 7], edi
out dx, al
salc
fisubr dword [esi]
push es
jmp 0x6d6aab
Function at 0x6ea04b
Capabilities:
Encode data using xor

Disassembly:
adc byte [ebp + 0x41185ac9], ch
jecxz 0x6ea04e
pop edx
sbb byte [ecx - 0x1d], al
sti
sti
pop es
or al, 0x77
shl byte [esi], 1
and dh, byte [ebx]
jnp 0x6ea0a6
push cs
jg 0x6ea0c8
mov dword [0xe09bc8be], eax
sahf
invalid
fadd st(6)
out 0x7f, eax
mov edi, 0x1cf792d9
out 0xe, al
dec eax
adc esp, dword [0x9fee9694]
mov ebp, dword [ebx]
cmp dword [eax + edx*2], esi
inc esp
cmpsb byte [esi], byte es:[edi]
imul eax, dword [ebp + 0x18], 0x51950670
mov al, byte [0x7cc58663]
imul ebp, dword [ebp + 0x45], 0x681c7c70
xchg ch, al
jl 0x6ea135
insd dword es:[edi], dx
inc ebp
jo 0x6ea14c
sbb al, 0x68
test al, 0x31
xor dh, byte [edi - 0x7f22c138]
xor eax, 0x40ed7c4a
mov dword [0x204315ae], eax
popal
pop ebx
inc edx
bound ebp, qword [ecx + 0x5de5dc6]
lcall 0xd2a4, 0x55c52094
ljmp 0xd288
repne movsb byte es:[edi], byte [esi]
rol cl, cl
mov dword [ebx], edi
dec ebp
sbb byte [0x8e4328b5], 0x53
stc
aaa
cld
mov dl, 6
jge 0x6ea171
xchg ecx, eax
dec esp
adc byte [edx - 0x25be7f2b], ch
adc dword [bp + si - 0x1bf2], ecx
stosd dword es:[edi], eax
iretd
xchg ebp, eax
mov ss, esi
scasb al, byte es:[edi]
xor byte [ebx], 1
mov ecx, 0x20d38f87
loope 0x6ea187
sbb al, 0x3c
and al, byte [esi]
sar byte [ecx - 0xb43517b], 1
fiadd dword [esi - 0x52]
pop ebp
cmpsd dword [esi], dword es:[edi]
cdq
or dl, al
in eax, 0x19
jp 0x6ea1c7
hlt
jo 0x6ea103
ljmp 0x4d8:0xd38c1be4
sbb ecx, dword [ebx + edx*8 - 0x27fbfb28]
mov dl, 0xb4
adc dh, dl
cmp al, 0xa3
jae 0x6ea17a
test al, 0xa4
mov ebx, 0xe25bd5f5
jmp 0x795cb610
pop ebx
loop 0x6ea15d
cwde
adc al, 0xee
js 0x6ea198
shl byte [esi], 1
push esp
push esp
xchg ebx, eax
cmp esp, dword [esi + 0x26]
cmp byte [edi - 0x57], cl
sub ecx, 0x31ec7eaf
ror edx, cl
iretd
in al, dx
xor ebx, edx
retf 0x4dcf
rcl edi, 1
dec esp
or dword [ebp + 0x5b], ecx
jle 0x6ea218
push ebx
outsb dx, byte [esi]
inc ecx
mov bh, 0xe9
sub byte [edi + 0x3c0de767], ah
mov esp, 0x9efd7164
mov bh, 0x59
in eax, 0xce
lodsb al, byte [esi]
cld
fild dword [esi]
push ecx
cmp eax, 0x4ecb808b
cmp al, 0xe6
daa
mov edi, 0xa7714596
adc al, 0x17
jnp 0x6ea1c2
sti
loope 0x6ea1a0
dec ebp
mov edi, 0x3026a54c
jmp 0xbdb015a6
xor eax, ebp
loopne 0x6ea233
push cs
sbb al, 0x42
outsb dx, byte [esi]
pop es
fadd qword [eax]
sbb ebx, dword [edx - 0x689e1053]
and byte [esi - 2], ch
wait
mov ecx, 0xc2ab5f88
das
sub eax, dword [ecx - 0x53]
sub byte [edi + 0x1b4347ab], 0x5d
pop ecx
or dword [edi], ebx
test al, 0xa4
daa
idiv dword [eax]
adc al, 0x7b
sbb eax, 0x53ad4723
mov dword [ecx - 0x3e9b529b], esp
adc al, 6
sahf
mov ah, pe_nt_image_headers32
xchg ebp, eax
invalid