joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e6c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48baf0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.0045e4f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45e74d
push 0x4a20d8
mov ecx, edi
call fcn.0042d660
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45e84f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x45e84f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x4a20d8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, eax
call fcn.0042d660
mov byte [ebp - 4], 1
test esi, esi
je 0x45e7ff
push esi
call fcn.0045f4e6
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45e7f6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x49a374
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45e7f6
cmp dword [ebp - 0x20], 0
je 0x45e7f6
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfeef04bd
jne 0x45e7f6
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.0042fc90
add esp, 0x18
push ebx
call fcn.0045f4a0
add esp, 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042ed40
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov dword [edi], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e830
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45e84f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f48f
mov esp, ebp
pop ebp
ret
Function at 0x45e9c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48add8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
shr eax, 8
movzx eax, al
movzx ebx, cl
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000000
jae 0x45ea1a
mov edi, ecx
shr edi, 0x10
cmp ebx, 6
jb 0x45ea2d
cmp eax, 2
jb 0x45ea2d
mov ecx, esi
call fcn.0045ed00
jmp 0x45ea98
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x45ea42
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push ebx
push str._d._d___d_
push eax
call fcn.0042fc90
mov edi, dword [ebp - 0x14]
add esp, 0x14
add edi, 0xfffffff0
mov ecx, edi
call fcn.0042ed40
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45ea98
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f48f
mov esp, ebp
pop ebp
ret

Function at 0x4788f5
Capabilities:
Read file on windows

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

Function at 0x47a795
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047a455
Function at 0x94705e
Capabilities:
Encode data using xor

Disassembly:
pushal
jmp 0x947065
mov byte [esp], dh
lea esp, [esp + 0x20]
push esp
push edx
lea esp, [esp + 8]
jmp 0x930e2c
Function at 0xac3d47
Capabilities:
Execute anti-debugging instructions

Disassembly:
cmc
cld
clc
pushal
mov bh, 0xc3
mov dx, word [esp]
jmp 0xac3d64
call 0xac3d47
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x69685320
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
and byte [esi + 0x32], dh
xor dword cs:[esi], ebp
aaa
xor byte cs:[eax], al
pushfd
cld
jmp 0xac3d0a
mov bp, word [esp]
cmc
lea eax, [esp + edx]
not ax
sub esp, 0x1c
xchg word [esp + 0x15], si
jmp 0xac3e87
xchg dword [esp + 2], ecx
pop esi
xchg bx, dx
cmc
mov byte [esp + 5], bh
mov edx, ebp
jmp 0xac3e67
mov ebp, dword [esp + 0x12]
push word [esp + 0x13]
neg bh
rdtsc
lea esp, [esp + 0xa]
mov cl, 0xf2
jmp 0xac3db9
clc
mov edi, esi
not bh
mov ebp, 0x12aabcdc
xchg byte [esp + 0xa], al
mov cx, word [esp + 0x16]
jmp 0xac3dd8
push dword [esp + 7]
mov di, 0xd58f
lea ecx, [edi + ebp]
rdtsc
pop edi
mov bh, byte [esp + 0xa]
jmp 0xac3df9
xchg dword [esp + 6], ecx
bswap eax
xor dl, ch
sub esp, 0
mov di, word [esp + 0x12]
neg dh
jmp 0xac3ec0
pop word [esp]
mov byte [esp + 3], ah
lea esp, [esp + 1]
and ax, 0x2a3a
pushal
btr edx, edx
jmp 0xac3e32
xchg edi, ebx
mov ebx, ebp
xchg di, si
pop cx
mov ecx, 0xb34f38ac
lea esp, [esp + 2]
jmp 0xac3e4d
lea eax, [edx*4]
push dword [esp + 0xa]
pop ebp
add esp, 5
bsr cx, cx
mov di, 0x767
jmp 0xac3e1e
xchg word [esp + 1], bx
lea esp, [esp + 3]
lea esp, [esp]
sub esp, 0x10
inc cl
mov byte [esp + 9], dh
jmp 0xac3f6b
mov di, word [esp + 0x14]
mov bl, 0x70
xchg word [esp + 0xd], si
xchg dword [esp + 0x12], eax
lea ebx, [ebp + 0x4f]
popal
jmp 0xac3ea3
rcl di, cl
mov dx, di
mov byte [esp + 7], bh
mov dh, byte [esp + 1]
xchg ah, bl
xchg dword [esp + 7], esi
jmp 0xac3f4d
mov al, 0xae
setne dh
pop esi
mov ebx, dword [esp + 7]
xchg ch, dl
push word [esp + 4]
jmp 0xac3ed6
btc edi, ebx
lea edx, [ecx + 3]
mov esi, 0xa88efc2
mov dl, dh
xchg ah, bl
mov ch, byte [esp + 6]
jmp 0xac3ef0
lea ebx, [eax + edx]
clc
mov dx, 0x207b
rdtsc
xchg byte [esp + 8], dl
jmp 0xac3fd7
sub esp, 2
and cl, bh
mov edx, 0xdb00d33c
not eax
setae bh
mov dl, dh
jmp 0xac3f1c
cpuid
mov eax, 0x6cda4fd8
btc edx, ebx
push word [esp + 0xd]
cpuid
lea edi, [edx + ebx]
jmp 0xac3f32
xchg byte [esp + 2], bl
lea eax, [eax + 0x1fe9de1]
xchg byte [esp + 2], bl
btr ebp, esp
mov di, 0x83b3
clc
jmp 0xac3f07
add esp, 6
mov bh, 0xc3
mov bl, bh
push esp
bsf ax, ax
bsf si, si
call fcn.00ac3f83
bsr cx, cx
mov cl, 0x9a
lea esp, [esp + 0xf]
add esp, 1
call int.00ac3f85
test eax, 0x3d826bc8
mov byte [esp + 0xf], ah
pop edi
mov eax, dword [esp + 7]
mov bl, 0x70
xchg dword [esp + 1], ebx
xchg edx, ebp
jmp 0xac3fab
Function at 0xac45f3
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, dword [esp]
cpuid
sub esp, 2
lea edx, [ebp - 0x7126af21]
push word [esp]
mov dl, 0x94
jmp 0xac45fe
cld
push dword [esp]
mov al, 0x8e
add esp, 8
jmp 0xac45cd
pop word [esp]
mov cx, bx
cmc
lea ecx, [edx + ebx]
sub esp, 0xc
stc
jmp 0xac466c
push dword [esp + 0xd]
mov al, 0x66
xchg byte [esp + 6], dl
pop dword [esp + 3]
xchg word [esp + 9], cx
mov dl, dh
jmp 0xac493b
xchg byte [esp + 0xc], cl
lea esi, [esi*4]
mov cl, ch
clc
jmp 0xac464b
mov bl, 0x50
mov edx, eax
mov bh, byte [esp + 1]
pop dword [esp + 7]
mov ebx, 0xb614153e
mov edx, dword [esp + 4]
jmp 0xac4713
xchg dx, cx
push dword [esp + 5]
pop ebx
mov ax, 0x5b37
push edx
xor dl, ch
jmp 0xac46c3
push dword [esp + 3]
rdtsc
ror edx, 7
bsr dx, cx
bsr bx, bp
mov bl, bh
jmp 0xac4744
mov byte [esp + 3], ch
shl si, cl
push dword [esp + 9]
shr ah, 1
mov dword [esp], esi
cpuid
jmp 0xac46f7
mov word [esp + 0xf], sp
mov edx, ebp
rdtsc
not dh
rdtsc
mov si, 0xc53
jmp 0xac47ac
sub esp, 4
xchg dword [esp + 0x12], edi
setp bh
pop eax
mov word [esp], bx
mov esi, 0xc5734eb2
jmp 0xac4727
lea edi, [ebp - 0x1f]
add esp, 0x14
push esp
bsf si, ax
call fcn.00ac478b
mov ecx, dword [0xfb17e49d]
in al, 0x17
sti
sbb ebx, dword [esi + 0x4fa66b0c]
outsd dx, dword [esi]
jbe 0xac47da
mov al, byte [0xfcc8b66]
xor dword [ebx - 0x6f3dbac], ecx
mov cx, sp
rdtsc
mov edx, dword [esp + 0xc]
stc
pop bx
sub esp, 2
jmp 0xac475a
push esp
mov dh, byte [esp + 0x12]
lea edi, [eax - 0x89]
pop esi
mov word [esp + 0x11], sp
lea eax, [edx + edx]
jmp 0xac477a
and cl, byte [ecx - 0x14f6dbbc]
loope 0xac476d
mov edi, dword [esp + 0x1f]
jl 0xac4808
pop ds
btc edi, ebx
mov ecx, dword [esp + 0x22]
xchg word [esp + 0x10], di
mov esi, ebp
jmp 0xac4811
sbb ebp, dword [ebp - 0x35]
mov ecx, esi
rdtsc
jmp 0xac47e1
lea eax, [edx + ebp]
rcr eax, 3
mov edi, 0xe10cacc2
push word [esp + 0xa]
cld
xchg bx, dx
jmp 0xac48dd
pop ebx
cmc
mov edi, 0xd19cd30
mov ax, bx
bswap edx
mov al, 0x96
jmp 0xac4884
lea esp, [esp + 0x21]
mov dword [esp], esi
mov cx, di
cld
mov ah, byte [esp + 1]
rdtsc
jmp 0xac4849
and cl, bh
not eax
mov ecx, dword [esp]
call fcn.00ac4859
mov al, 0x26
inc ecx
mov al, 0x5e
sub eax, 0xfe960f3c
shl byte [esi + 0xf], 0xbc
lock xchg word [esp + 0x1d], cx
inc al
bsf si, ax
xchg word [esp + 0x1d], cx
xchg dword [esp + 0x12], ebx
stc
mov dx, word [esp + 0x1c]
jmp 0xac4871
mov dl, 0x94
mov bl, bh
pop ebp
mov bp, 0x1157
xchg ebp, esi
lea eax, [ecx*4]
jmp 0xac489a
xchg word [esp], si
xchg dword [esp + 1], esi
pop word [esp + 2]
mov dl, dh
rdtsc
bsr di, cx
jmp 0xac46e6
Function at 0xac4859
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsr cx, cx
rdtsc
add esp, 3
jmp 0xac48b1
cpuid
xchg ecx, ebx
xchg byte [esp], al
xchg byte [esp], bl
mov cx, 0xd96d
mov byte [esp], dh
jmp 0xac4917
mov byte [esp], ch
mov ax, word [esp]
bswap ebx
pushal
xchg ch, dl
xchg byte [esp + 0x10], al
jmp 0xac48f1
xchg edi, eax
mov edx, dword [esp + 5]
bsr ax, cx
add dx, 0xfb9e
mov si, word [esp + 0x18]
pop ebx
jmp 0xac4a3e
ror bh, 3
btc ebp, edi
rdtsc
xchg byte [esp], dl
mov ah, byte [esp]
bswap edi
jmp 0xac48c4
mov dx, 0x743
and ebp, ecx
add esp, 0xc
lea esi, [eax*4]
btr eax, edx
call fcn.00ac496d
sbb eax, 0x8b781989
cmp al, 0xa8
retf
pop ebx
ror ebp, 0x1d
push dword [esp + 2]
mov esi, 0xb88b08b8
mov word [esp + 0x18], di
xchg dh, al
jmp 0xac49ce
lea esi, [esi*4]
rdtsc
mov edx, eax
setne bh
mov ecx, dword [esp + 0xb]
setle ah
jmp 0xac49ef

Function at 0xac4c8b
Capabilities:
Execute anti-debugging instructions

Disassembly:
btc edi, edi
add esp, 1
stc
mov dword [esp], esi
rdtsc
mov word [esp], bx
jmp 0xac4b92
mov di, 0x89bf
add esp, 1
mov dh, byte [esp + 6]
xchg si, bx
pop si
lea eax, [edx + ebx]
jmp 0xac4b3e
rdtsc
inc di
lea edx, [edx*4]
rcr ch, 5
mov bp, 0x8f79
bswap edi
jmp 0xac4bee
inc si
pop edi
cpuid
mov cl, 0x6a
lea esi, [eax - 0x43ae8427]
mov cl, ch
jmp 0xac4b69
lea ebp, [edi + ebp]
not ax
btr ecx, esp
xchg ecx, edx
sub esp, 8
mov dword [esp + 1], ecx
jmp 0xac4b54
inc eax
sub esp, 8
mov cx, 0xa1f3
push esp
setp ah
mov dword [esp + 7], esi
jmp 0xac4c6f
btc ebx, ebx
inc ecx
push esp
mov word [esp], bx
xchg word [esp + 1], cx
lea edx, [esi*4]
jmp 0xac4bbd
mov si, 0x6ae1
mov bl, 0xe8
not ah
setle bh
mov dl, byte [esp]
mov si, di
jmp 0xac4bd3
xchg dh, al
mov dx, bx
inc cl
neg ecx
lea esi, [esi + 0xed]
lea edi, [esi - 0xd5]
jmp 0xac4ba9
xchg bp, di
neg bh
pushal
lea esp, [esp + 0x4d]
setbe ch
bsr bp, cx
jmp 0xac4c05
cpuid
lea edx, [eax*4]
sub esp, 0xe
sub esp, 0x18
shl si, cl
mov si, bx
jmp 0xac4c25
lea edx, [edx + esi]
sub esp, 0
xchg bx, ax
lea eax, [esi + 0x5d]
call fcn.00ac4e18
mov dl, 0x32
mov al, byte [0xb3d332c7]
stosb byte es:[edi], al
bsf bp, ax
push word [esp + 7]
shl ax, cl
bswap ecx
mov byte [esp + 2], bh
mov edi, ebp
jmp 0xac4c57
push dword [esp]
pop ecx
jmp 0xac4c40
Function at 0xac4de5
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop ax
mov esi, 0x75f6254
mov byte [esp + 3], bh
xchg dx, bp
sub esp, 0
setl bh
jmp 0xac4cf6
mov bl, bh
bsr ax, cx
xchg byte [esp + 4], cl
push dword [esp + 1]
mov byte [esp + 3], ah
xchg byte [esp + 4], cl
jmp 0xac4c91
xchg edx, ecx
bsr bx, cx
bswap edx
rdtsc
cpuid
setp dh
jmp 0xac4cac
mov word [esp + 5], dx
xchg ah, bl
xchg dword [esp + 3], ebp
mov si, word [esp + 8]
jmp 0xac4d0e
xchg dword [esp + 0xc], ebp
pop esi
mov word [esp + 5], sp
xchg word [esp + 8], bx
mov edi, dword [esp + 0xa]
mov di, bx
jmp 0xac4cde
not bx
ror edi, 0xf
mov al, 0xbe
mov word [esp + 3], dx
mov dx, sp
mov edx, dword [esp + 1]
jmp 0xac4da4
mov eax, 0xdab5ef1e
lea edx, [edi*4]
xchg bh, cl
lea esp, [esp + 5]
lea edi, [edx*4]
pop dword [esp]
jmp 0xac4ccd
pop dx
rdtsc
mov al, 0xa6
not bh
pop dword [esp]
lea esi, [eax + 0x7bb8b239]
jmp 0xac4dce
shr edx, 0x15
btr edi, esp
xchg ebp, edx
lea esi, [edi*4]
bswap ebx
pop dword [esp + 6]
jmp 0xac4d58
mov edx, esi
mov byte [esp + 0xb], ch
pop dword [esp + 9]
bswap edi
push dword [esp + 5]
jmp 0xac4d72
inc cl
xchg word [esp + 7], dx
mov esi, eax
push dword [esp]
inc eax
mov ecx, 0xe797a548
jmp 0xac4d8d
mov bp, 0x2771
neg ah
mov cl, ch
pushal
pop si
inc cl
jmp 0xac4dee
not edx
lea esp, [esp + 7]
sub esp, 2
mov edx, 0x5ebb1ec
jmp 0xac4db8
mov byte [esp + 0x13], ch
jmp 0xac4d37
mov ebp, 0x48839fe6
pop word [esp + 0xf]
xchg dword [esp + 0x12], ebx
mov bp, dx
mov ch, byte [esp + 0x15]
cmc
jmp 0xac4edc
lea ebx, [ecx - 0x7c5ab5f5]
xchg di, dx
mov di, word [esp + 0x14]

Function at 0xac51cd
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push word [esp + 0x17]
mov word [esp + 0x13], bx
pop dword [esp + 0x18]
pop dword [esp + 0x13]
mov dword [esp + 0xe], ebp
mov byte [esp + 5], bh
jmp 0xac5154
lea esp, [esp + 3]
pop word [esp + 1]
jmp 0xac5173

Function at 0xac523d
Capabilities:
Parse pe header

Disassembly:
push dword [esp + 4]
lea esp, [esp + 2]
mov dword [esp + 0x80], esi
pushal
call fcn.00ac51cd
pop word [esp + 3]
mov word [esp + 2], dx
mov dword [esp], esi
jmp 0xac5210
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x406e52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x406e61
pop dword [ebp - 0x38]
mov eax, 0xfbadc933
add eax, 0x492a52e
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x37369
push 0
mov eax, 0xb06fc976
add eax, 0x4fd11762
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x31048546
add ecx, 0xcefbba61
xor esi, esi
add esi, eax
mov edi, 0x336ef3e5
sub edi, 0x332db821
add edi, dword [ebp - 0x38]
mov edx, 0xaa324ffc
add edx, 0xa79e0589
mov dword [ebp - 0x30], 0x4433d106
mov ebx, dword [edi]
add dword [ebp - 0x30], 0xe54932ff
sub ebx, edx
xor dword [ebp - 0x34], 0x676fb4db
mov dword [esi], ebx
sub dword [ebp - 0x10], 0x5adf8a15
add esi, 0x7657e89b
add esi, 0x89a81769
add edi, 0x77cbd5a0
sub edi, 0x77cbd59c
loop 0x406ec2
add eax, 0xf16f
mov ebx, eax
add eax, 0x4854f989
sub eax, 0x4854f984
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x432e50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae1eb
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.0049e773
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x432ed2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049bd0d
mov eax, dword [eax]
push 0x4d1204
push eax
call fcn.0048e994
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049e9fe
test bl, bl
je 0x432ed2
push 0x4d1204
lea ecx, [esp + 0xc]
call fcn.0049edda
push 0x4d4d7c
lea ecx, [esp + 0xc]
call fcn.0049edda
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 0x432f0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049e9fe
jmp 0x432fd9
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 0x432f92
lea edx, [esp + 0x7c]
push 0x4d4d78
push edx
call fcn.0048e994
add esp, 8
test eax, eax
je 0x432f92
lea eax, [esp + 0x7c]
push 0x4d4d74
push eax
call fcn.0048e994
add esp, 8
test eax, eax
je 0x432f92
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 0x432f22
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.0049e9fe
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 0x4337d0
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 0x433832
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
Function at 0x433840
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ae26b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4df138]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x433978
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4338a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e9fe
xor eax, eax
jmp 0x4339ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049eb87
push esi
lea ecx, [esp + 0xc]
call fcn.0049ee16
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4339cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004337d0
test eax, eax
jne 0x4339cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.004337d0
test eax, eax
jne 0x4339cd
lea eax, [esp + 0x14]
push 0x4d4d90
push eax
call fcn.0048fb40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4339ac
lea ecx, [esp + 0x14]
push 0x4d4d8c
push ecx
call fcn.0048fac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4339ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4339af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049eb37
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4338be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e9fe
xor eax, eax
jmp 0x4339ef
mov byte [esi], 0
push 0x4d4d88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049e9fe
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x444330
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x44439e
cmp si, 0x69
ja 0x44439e
add esi, 0xffd0
cmp si, 0x11
je 0x44436e
push 0x11
call edi
test ax, ax
jge 0x44436e
or esi, 0x2000
cmp si, 0x10
je 0x444383
push 0x10
call edi
test ax, ax
jge 0x444383
or esi, 0x4000
cmp si, 0x12
je 0x444398
push 0x12
call edi
test ax, ax
jge 0x444398
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4443ab
mov esi, 0xbd
jmp 0x44435f
cmp si, 0x6e
jne 0x4443b8
mov esi, 0xbe
jmp 0x44435f
cmp si, 0x6f
jne 0x444359
mov esi, 0xbf
jmp 0x44435f

Function at 0x445b60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f0018]
xor edx, edx
cmp eax, edx
jne 0x445b86
xor eax, eax
mov byte [eax + 0x4eff18], al
inc eax
cmp eax, 0x100
jl 0x445b6e
mov dword [0x4f0018], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4eff18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x445c17
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 0x445bea
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 0x445bb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x445c90
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 0x445ce3
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 0x445cca
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