joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420580
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x42058c
mov eax, 0x4523a0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42059f
and eax, 0x10
seta al
jmp 0x4205a1
mov al, 0
leave
ret

Function at 0x420680
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edx
test eax, eax
jne 0x42068e
mov eax, 0x4523a0
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x42069f
mov ebx, 0
jmp 0x4206a6
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop ebx
leave
ret

Function at 0x420c40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
mov dword [ebp - 0x38], 0
mov eax, 1
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0040f240
call fcn.00410d60
push eax
test eax, eax
jne 0x420d04
mov ebx, 1
sub ebx, 1
mov esi, esi
add ebx, 1
lea eax, [ebx*4 + 0x45383c]
mov edx, 0
call fcn.0040af50
mov dword [ebx*4 + 0x45385c], 0xffffffff
cmp ebx, 7
jl 0x420c78
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x420d04
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
mov cx, 0
mov edx, 0xa
call fcn.0040b910
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.004195a0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x420d04
push 4
push ebx
push esi
mov eax, 0x420b00
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x420ba0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
call fcn.0040f4c0
lea eax, [ebp - 0x38]
call fcn.004063e0
pop eax
test eax, eax
je 0x420d1b
call fcn.0040f5f0
pop esi
pop ebx
leave
ret

Function at 0x421d30
Capabilities:
Hash data with crc32

Disassembly:
push ebx
and edx, 0xff
mov ebx, dword [eax + 0xc]
mov ecx, ebx
xor ecx, edx
and ecx, 0xff
shr ebx, 8
and ebx, 0xffffff
mov edx, dword [ecx*4 + 0x444770]
xor ebx, edx
mov dword [eax + 0xc], ebx
pop ebx
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x18a25524
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x28bd12dd
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x40225f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021cb
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
jmp loc.0040a454

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret
Function at 0x100287c3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.10028a64
add byte [eax], al
inc ebx
jb 0x100245b2
popal
je 0x100245b5
push eax
jb 0x100245c2
arpl word [ebp + 0x73], sp
jae 0x100245af
add byte [ebp - 0x17f3db9c], cl
retf 0x72
dec ebp
insd dword es:[edi], dx
outsd dx, dword [esi]
jb 0x1002462e
add byte [eax], al
add byte [ebp + 0x6c], al
je 0x10024623
inc ebx
jb 0x1002462a
je 0x1002462c
imul esp, dword [ebx + 0x61], 0x6365536c
je 0x10024634
arpl word [ecx + 0x6c], sp
push ebx
arpl word gs:[ecx + ebp*2 + 0x6f], si
outsd dx, dword [esi]
outsb dx, byte [esi]
add byte [ecx + eax - 0x74630a39], bl
cmp al, 0x8f
sub eax, 0x80e80000
inc esp
add byte [eax], al
add byte [eax - 0x769fdbdc], cl
hlt
and al, 0x24
and al, 4
mov byte [esp], bh
lea esp, [esp + 0x38]
je 0x10028b01
bt sp, 2
pushal
call fcn.1002b3ec
push 0x923e58da
mov byte [esp], ah
lea esp, [esp + 8]
je 0x10028b01
bts si, 7
shld si, ax, 0xd
mov esi, dword [eax + 0x3c]
pushal
movsx edx, cl
bt cx, 0xc
shl dh, cl
add esi, eax
and edx, esp
pop edx
mov edx, dword [esi + 0x78]
pushfd
test edx, edx
jmp 0x10024543

Function at 0x100287db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.10028a64
add byte [eax], al
inc ebx
jb 0x100245b2
popal
je 0x100245b5
push eax
jb 0x100245c2
arpl word [ebp + 0x73], sp
jae 0x100245af
add byte [ebp - 0x17f3db9c], cl
retf 0x72
dec ebp
insd dword es:[edi], dx
outsd dx, dword [esi]
jb 0x1002462e
add byte [eax], al
add byte [ebp + 0x6c], al
je 0x10024623
inc ebx
jb 0x1002462a
je 0x1002462c
imul esp, dword [ebx + 0x61], 0x6365536c
je 0x10024634
arpl word [ecx + 0x6c], sp
push ebx
arpl word gs:[ecx + ebp*2 + 0x6f], si
outsd dx, dword [esi]
outsb dx, byte [esi]
add byte [ecx + eax - 0x74630a39], bl
cmp al, 0x8f
sub eax, 0x80e80000
inc esp
add byte [eax], al
add byte [eax - 0x769fdbdc], cl
hlt
and al, 0x24
and al, 4
mov byte [esp], bh
lea esp, [esp + 0x38]
je 0x10028b01
bt sp, 2
pushal
call fcn.1002b3ec
push 0x923e58da
mov byte [esp], ah
lea esp, [esp + 8]
je 0x10028b01
bts si, 7
shld si, ax, 0xd
mov esi, dword [eax + 0x3c]
pushal
movsx edx, cl
bt cx, 0xc
shl dh, cl
add esi, eax
and edx, esp
pop edx
mov edx, dword [esi + 0x78]
pushfd
test edx, edx
jmp 0x10024543
Function at 0x1002981f
Capabilities:
Parse pe header

Disassembly:
pushal
pushfd
lea esp, [esp + 0x38]
ja 0x100308dc
push edi
mov byte [esp], bh
mov byte [esp], 0x89
pushal
lea esp, [esp + 0x24]
jb 0x10039f3e
clc
cmc
bt ecx, 0x10
clc
cmp byte [edi - 1], 0
jmp 0x10039d74
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add al, ch
cdq
sar bh, cl
inc dword [eax]
sbb esp, ebx
out dx, eax
call 0x10029281
add byte [ebx], bl
jecxz 0x1002bfdb
push ebx
adc ah, cl
cmp eax, 0x83d98742
call 0x8fcbd39b
pop ds
imul ebx, esp, 0x1b
mov eax, dword [eax - 0x326bb4bd]
sbb dword [ebx], edi
sbb eax, ecx
xor al, 0x70
mov al, byte [0xe1e008f9]
add esi, dword [esi]
mov cl, 0x45
fstp xword [ecx]
adc byte [ecx + 0x7b253b15], dh
imul eax, dword [ebp + 0x6c3d3f63], 0xffffff99
cld
adc al, 0xf0
fsub st(0)
pop esp
stc
xor bh, al
mov ss, word [ebx + 0xe]
stosd dword es:[edi], eax
adc dh, byte [esi]
invalid
jne 0x1002785f
and edi, 0xf5ef6eb
bswap di
mov edi, dword [edx + 0x24]
jmp 0x1002bfe3

Function at 0x1002f732
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x44]
je 0x100300a9
call 0x100287db
shr eax, 0x10
clc
clc
test ch, 0xff
cmp dword [esi], 0
push 0xb916d58
mov byte [esp + 4], ch
jmp 0x10039c65
stc
test eax, eax
lea esp, [esp + 0x28]
ja 0x1002abe4
je 0x10028b01
xchg si, dx
inc esi
movsx dx, dl
bswap si
mov esi, dword [eax + 0x3c]
bts dx, sp
shld edx, ecx, 0x19
push 0x62449ac6
add esi, eax
push dword [esp]
adc dh, 0x98
mov edx, dword [esi + 0x78]
test esp, 0x3c3dbd8e
clc
push dword [esp + 4]
cmc
test edx, edx
pushfd
pushal
pushfd
lea esp, [esp + 0x34]
je 0x10028b01
btr ecx, 0x17
movsx ecx, cl
add edx, eax
btc cx, 0xc
mov ecx, dword [esi + 0x7c]
jmp 0x10024707
lea esp, [esp + 0x44]
je 0x1002f355
sub di, 0x6ee5
mov ecx, dword [esi + 4]
xor bx, di
or edi, ebp
sub ecx, 8
movzx bx, bl
pushfd
shr ecx, 1
shld bx, si, 0xa
mov edi, dword [esi]
ror bl, 5
cmc
btc bx, bx
pushal
add edi, dword [ebp + 0x10]
sub bl, ch
inc bl
test dh, 0xb2
add esi, 8
stc
dec bh
clc
mov bx, word [esi]
cmp bx, di
stc
pushal
shr ebx, 0xc
test ch, 0xeb
cmp dl, al
cmp ebx, 1
jmp 0x10026c55
Function at 0x2aa01671
Capabilities:
Check os version
Create process on windows
Delete file
Encode data using xor
Get common file path
Get file size
Read file on windows
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x2aa01110]
push ebx
push esi
mov dword [esp + 0x220], eax
push edi
xor eax, eax
lea ecx, [ecx]
xor byte [eax + 0x2aa02608], 3
inc eax
cmp eax, 0x730
jl 0x2aa01691
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 3
push 0x10000000
push 0x2aa01134
call ebx
cmp eax, 0xffffffff
jne 0x2aa01734
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jbe 0x2aa01746
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0x2aa01168
call ebx
test ax, ax
jne 0x2aa0172c
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x2aa01160
push 0
call esi
push 0x3e8
call edi
push 0x2aa01168
call ebx
test ax, ax
je 0x2aa01705
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2aa01168
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push 0x2710
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov edi, eax
push 0x2aa02608
push edi
call sub.CRTDLL.dll_sprintf
mov edx, 0x2aa02608
add esp, 0x30
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x2aa01776
lea edx, [esp + 0x118]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x118]
dec edi
jmp 0x2aa017a0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x2aa017a0
mov eax, dword [0x2aa01154]
mov ecx, dword [0x2aa01158]
mov dx, word [0x2aa0115c]
push 0
push 0
push 3
mov dword [edi], eax
mov al, byte [0x2aa0115e]
push 0
mov dword [edi + 4], ecx
push 3
push 0x80000000
lea ecx, [esp + 0x130]
mov word [edi + 8], dx
push ecx
mov byte [edi + 0xa], al
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x2aa0184c
xor eax, eax
push eax
mov ecx, 0x41
lea edi, [esp + 0x14]
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [esp + 0x10]
push edx
push edi
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.2aa01180
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.2aa01220
call fcn.2aa01470
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x54051301
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x2b877c20
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x432890
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c762b
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.004bbcf1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x432912
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b95a4
mov eax, dword [eax]
push 0x4eed08
push eax
call fcn.004ab1d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bbf7c
test bl, bl
je 0x432912
push 0x4eed08
lea ecx, [esp + 0xc]
call fcn.004bc30c
push 0x4eed14
lea ecx, [esp + 0xc]
call fcn.004bc30c
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 0x43294e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bbf7c
jmp 0x432a19
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 0x4329d2
lea edx, [esp + 0x7c]
push 0x4eed10
push edx
call fcn.004ab1d4
add esp, 8
test eax, eax
je 0x4329d2
lea eax, [esp + 0x7c]
push 0x4eed0c
push eax
call fcn.004ab1d4
add esp, 8
test eax, eax
je 0x4329d2
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 0x432962
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.004bbf7c
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 0x433220
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 0x433282
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 0x433290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c76ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4fe2cc]
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 0x4333c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4332f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bbf7c
xor eax, eax
jmp 0x43343f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004bc0b9
push esi
lea ecx, [esp + 0xc]
call fcn.004bc348
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4eed48
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43341d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00433220
test eax, eax
jne 0x43341d
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.00433220
test eax, eax
jne 0x43341d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004ac160
mov esi, eax
add esp, 8
test esi, esi
jne 0x4333fc
lea ecx, [esp + 0x14]
push 0x4eed20
push ecx
call fcn.004ac0e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4333fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4333ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004bc069
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43330e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bbf7c
xor eax, eax
jmp 0x43343f
mov byte [esi], 0
push 0x4eed1c
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.004bbf7c
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 0x444fb0
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 0x44501e
cmp si, 0x69
ja 0x44501e
add esi, 0xffd0
cmp si, 0x11
je 0x444fee
push 0x11
call edi
test ax, ax
jge 0x444fee
or esi, 0x2000
cmp si, 0x10
je 0x445003
push 0x10
call edi
test ax, ax
jge 0x445003
or esi, 0x4000
cmp si, 0x12
je 0x445018
push 0x12
call edi
test ax, ax
jge 0x445018
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44502b
mov esi, 0xbd
jmp 0x444fdf
cmp si, 0x6e
jne 0x445038
mov esi, 0xbe
jmp 0x444fdf
cmp si, 0x6f
jne 0x444fd9
mov esi, 0xbf
jmp 0x444fdf

Function at 0x446ca0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50eb50]
xor edx, edx
cmp eax, edx
jne 0x446cc6
xor eax, eax
mov byte [eax + 0x50ea50], al
inc eax
cmp eax, 0x100
jl 0x446cae
mov dword [0x50eb50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50ea50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x446d57
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 0x446d2a
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 0x446cf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x446dd0
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 0x446e23
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 0x446e0a
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
Function at 0x44de60
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x44dff8
cmp ebp, ebx
jle 0x44dff8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x44debe
dec eax
or eax, 0xfffffff8
inc eax
je 0x44dec5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x44ded4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44dedb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004bbcbd
add esp, 4
cmp eax, ebx
je 0x44defc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004bbcbd
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x44dfee
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x44dfd5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x44dfc1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x44dfb6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x44dfc4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x44dfc4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x44df60
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x44df51
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret