joyce8/EMBER2024-capa huggingface dataset:
Function at 0x86e058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x86e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x86e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86e06a
add dl, dl
jne 0x86e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86e0dc
xor eax, eax
add dl, dl
jne 0x86e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86e17d
add dl, dl
jne 0x86e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x86e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x86e075
mov eax, 1
add dl, dl
jne 0x86e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86e0e1
sub eax, ebx
mov ebx, 1
jne 0x86e128
mov ecx, 1
add dl, dl
jne 0x86e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x86e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x86e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x86e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86e136
cmp eax, 0x7d00
jae 0x86e16d
cmp eax, 0x500
jb 0x86e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86e075
cmp eax, 0x7f
ja 0x86e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x86e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x86e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x883058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008831a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x88307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88306a
add dl, dl
jne 0x883089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8830dc
xor eax, eax
add dl, dl
jne 0x883096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x88317d
add dl, dl
jne 0x8830a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8830b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8830bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8830c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8830d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x883075
mov eax, 1
add dl, dl
jne 0x8830ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8830f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8830e1
sub eax, ebx
mov ebx, 1
jne 0x883128
mov ecx, 1
add dl, dl
jne 0x88310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x883119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x883105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x883075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x88313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x88314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x883136
cmp eax, 0x7d00
jae 0x88316d
cmp eax, 0x500
jb 0x883168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x883075
cmp eax, 0x7f
ja 0x883170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x883075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x88319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x883075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x8da058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008da1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8da07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8da06a
add dl, dl
jne 0x8da089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8da0dc
xor eax, eax
add dl, dl
jne 0x8da096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8da17d
add dl, dl
jne 0x8da0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8da0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8da0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8da0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8da0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8da075
mov eax, 1
add dl, dl
jne 0x8da0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8da0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8da0e1
sub eax, ebx
mov ebx, 1
jne 0x8da128
mov ecx, 1
add dl, dl
jne 0x8da10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8da119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8da105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8da075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8da13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8da14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8da136
cmp eax, 0x7d00
jae 0x8da16d
cmp eax, 0x500
jb 0x8da168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8da075
cmp eax, 0x7f
ja 0x8da170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8da075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8da19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8da075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a2c], 0
push esi
jne 0x405e04
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 0x405dde
mov dword [ecx*4 + 0x422a28], eax
inc ecx
cmp ecx, 0x100
jl 0x405dd9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e35
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 + 0x422a28]
xor eax, esi
inc ecx
dec edx
jne 0x405e17
pop edi
not eax
pop esi
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [eax + eax]
push ecx
push 0
push esi
call fcn.00406250
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SoftWareSogouInput
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401044
xor al, al
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x14]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
push esi
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
add esp, 0xc
ret

Function at 0x401320
Capabilities:
Create http request

Disassembly:
mov eax, 0x1008
call fcn.00408a20
mov eax, dword [0x40e004]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1014]
push edi
push 0
push 0
push 0
push 0
push str.SOGOUPY
xor bl, bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
je 0x4013fb
push esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [esp + 0x14]
push eax
push 2
push edi
mov dword [esp + 0x20], 0xbb8
call esi
push 4
lea ecx, [esp + 0x14]
push ecx
push 5
push edi
call esi
push 4
lea edx, [esp + 0x14]
push edx
push 6
push edi
call esi
push 4
lea eax, [esp + 0x14]
push eax
push 8
push edi
call esi
xor ecx, ecx
push 0xffe
push ecx
lea edx, [esp + 0x1e]
push edx
mov word [esp + 0x20], cx
call fcn.00406250
push ebp
lea eax, [esp + 0x24]
push 0x800
push eax
call fcn.00401d67
add esp, 0x18
lea esi, [esp + 0x14]
call fcn.004011e0
push 0
push 0x84200000
push 0
push 0
mov ecx, esi
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x4013f7
push eax
mov bl, 1
call esi
push edi
call esi
pop esi
mov ecx, dword [esp + 0x1010]
pop edi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.00401799
add esp, 0x1008
ret
Function at 0x401799
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e004]
jne 0x4017a3
repz ret
jmp fcn.00401f86

Function at 0x4079a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402e52
and dword [ebp - 4], 0
cmp dword [0x40f984], 0
mov ebx, eax
jne 0x407a54
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407b05
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407b05
push eax
call fcn.00402de0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40f984], eax
call esi
push eax
call fcn.00402de0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40f988], eax
call esi
push eax
call fcn.00402de0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40f98c], eax
call esi
push eax
call fcn.00402de0
pop ecx
mov dword [0x40f994], eax
test eax, eax
je 0x407a54
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402de0
pop ecx
mov dword [0x40f990], eax
mov eax, dword [0x40f990]
cmp eax, ebx
je 0x407aac
cmp dword [0x40f994], ebx
je 0x407aac
push eax
call fcn.00402e5b
push dword [0x40f994]
mov esi, eax
call fcn.00402e5b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407aac
test edi, edi
je 0x407aac
call esi
test eax, eax
je 0x407aa3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407aa3
test byte [ebp - 0xc], 1
jne 0x407aac
or dword [ebp + 0x10], 0x200000
jmp 0x407ae5
mov eax, dword [0x40f988]
cmp eax, ebx
je 0x407ae5
push eax
call fcn.00402e5b
pop ecx
test eax, eax
je 0x407ae5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407ae5
mov eax, dword [0x40f98c]
cmp eax, ebx
je 0x407ae5
push eax
call fcn.00402e5b
pop ecx
test eax, eax
je 0x407ae5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40f984]
call fcn.00402e5b
pop ecx
test eax, eax
je 0x407b05
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407b07
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0xf5876c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf58776
pushal
call 0xf5877c
pop ebp
sub ebp, 0x10
sub ebp, 0xb5876c
jmp 0xf58792
mov eax, 0xb5876c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bd
mov edx, 0x88acd5cd
xor byte [eax], dl
inc eax
dec ecx
jne 0xf587a9
jmp 0xf587bc
inc esi
add byte [esi + 0x44], al
int1
int 0xcd
int 0x4c
or al, 0x35
int 0xcd
int 0xce
add byte [ebp - 0x3c], dh
int 0xcd
int 0x77
in eax, 0xcd
int 0xcd
cmp ch, byte [edi]
into
add eax, 0xcdc14c46
int 0xcd
into
or byte [eax - 0x57], al
jmp 0xeabecc1a
Function at 0x46bb7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.46bb71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x46bb707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x46bb706a
add dl, dl
jne 0x46bb7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x46bb70dc
xor eax, eax
add dl, dl
jne 0x46bb7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x46bb717d
add dl, dl
jne 0x46bb70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x46bb70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x46bb70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x46bb70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x46bb70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x46bb7075
mov eax, 1
add dl, dl
jne 0x46bb70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x46bb70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x46bb70e1
sub eax, ebx
mov ebx, 1
jne 0x46bb7128
mov ecx, 1
add dl, dl
jne 0x46bb710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x46bb7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x46bb7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46bb7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x46bb713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x46bb714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x46bb7136
cmp eax, 0x7d00
jae 0x46bb716d
cmp eax, 0x500
jb 0x46bb7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46bb7075
cmp eax, 0x7f
ja 0x46bb7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46bb7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x46bb719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x46bb7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x409c20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4649cb
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.004598f8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409ca2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00457847
mov eax, dword [eax]
push 0x51e1e0
push eax
call fcn.0044a744
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00459b83
test bl, bl
je 0x409ca2
push 0x51e1e0
lea ecx, [esp + 0xc]
call fcn.00459f13
push 0x521d30
lea ecx, [esp + 0xc]
call fcn.00459f13
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 0x409cde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00459b83
jmp 0x409da9
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 0x409d62
lea edx, [esp + 0x7c]
push 0x521d2c
push edx
call fcn.0044a744
add esp, 8
test eax, eax
je 0x409d62
lea eax, [esp + 0x7c]
push 0x521d28
push eax
call fcn.0044a744
add esp, 8
test eax, eax
je 0x409d62
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 0x409cf2
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.00459b83
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 0x40a5a0
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 0x40a602
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 0x40a610
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x464a4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5281d0]
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 0x40a748
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a676
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459b83
xor eax, eax
jmp 0x40a7bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00459cc0
push esi
lea ecx, [esp + 0xc]
call fcn.00459f4f
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 0x40a79d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040a5a0
test eax, eax
jne 0x40a79d
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 accept
mov ecx, edi
call fcn.0040a5a0
test eax, eax
jne 0x40a79d
lea eax, [esp + 0x14]
push 0x521d44
push eax
call fcn.0044b780
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a77c
lea ecx, [esp + 0x14]
push 0x521d40
push ecx
call fcn.0044b700
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a77c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a77f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00459c70
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a68e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459b83
xor eax, eax
jmp 0x40a7bf
mov byte [esi], 0
push 0x521d3c
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.00459b83
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 0x41ae30
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 0x41ae9e
cmp si, 0x69
ja 0x41ae9e
add esi, 0xffd0
cmp si, 0x11
je 0x41ae6e
push 0x11
call edi
test ax, ax
jge 0x41ae6e
or esi, 0x2000
cmp si, 0x10
je 0x41ae83
push 0x10
call edi
test ax, ax
jge 0x41ae83
or esi, 0x4000
cmp si, 0x12
je 0x41ae98
push 0x12
call edi
test ax, ax
jge 0x41ae98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41aeab
mov esi, 0xbd
jmp 0x41ae5f
cmp si, 0x6e
jne 0x41aeb8
mov esi, 0xbe
jmp 0x41ae5f
cmp si, 0x6f
jne 0x41ae59
mov esi, 0xbf
jmp 0x41ae5f

Function at 0x41c5d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x538810]
xor edx, edx
cmp eax, edx
jne 0x41c5f6
xor eax, eax
mov byte [eax + 0x538710], al
inc eax
cmp eax, 0x100
jl 0x41c5de
mov dword [0x538810], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x538710
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c687
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 0x41c65a
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 0x41c628
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c700
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 0x41c753
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 0x41c73a
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