joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x1136d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404980
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4d4bfb
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4d4c14
lea eax, [ebp - 0x10]
mov edx, dword [0x1196c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004049e0
jmp 0x4d4c27
lea eax, [ebp - 0x10]
mov edx, dword [0x1196c48]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.004049e0
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4d4c33
adc edx, 0
mov edx, dword [edx*4 + 0x11848ac]
call fcn.00404bec
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404bd0
push eax
call fcn.00406b4c
mov esi, eax
cmp esi, 0xffffffff
je 0x4d4d41
mov eax, 0x40
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4d4d34
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406fcc
mov eax, edi
call fcn.00402734
mov eax, 0x18
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4d4d34
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x4d4d34
cmp dx, 0x150
ja 0x4d4d34
mov eax, edi
call fcn.00402734
mov eax, 0xe0
call fcn.00402714
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406f5c
test eax, eax
je 0x4d4d34
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x4d4d34
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004049bc
mov eax, edi
call fcn.00402734
push esi
call fcn.00406b04
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404cf8
jne 0x4d4d59
inc ebx
cmp ebx, 0x19
jne 0x4d4bed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1136d76
lea eax, [ebp - 0x10]
call fcn.00404980
ret
Function at 0x509568
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x11a3594
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x50958a
shr eax, 1
xor eax, 0xedb88320
jmp 0x50958c
shr eax, 1
dec edx
jne 0x509578
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x509571
mov byte [0x11a3994], 1
pop esi
pop ebx
ret

Function at 0x5095a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x11a3994], 0
jne 0x5095bf
call fcn.00509568
mov eax, edi
dec eax
test eax, eax
jl 0x5095e8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x11a3594]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5095c9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40a3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x30f0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x30], ebx
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
mov dword [ebp - 0x20], ecx
sub eax, 0x10
mov dword [ebp - 0x2c], esi
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x14], xmm0
je 0x40a410
lea ecx, [ebp - 0x15]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a020
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ecx + 0x10]
push eax
push ebx
call fcn.00415d40
mov eax, dword [edi + 4]
sub esi, ebx
mov edx, dword [edi]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x20], esi
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp esi, ecx
jae 0x40a438
lea eax, [edx + esi]
jmp 0x40a469
jbe 0x40a46c
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x40a451
lea eax, [ebp - 0x15]
mov ecx, edi
push eax
push esi
call fcn.00407fa0
jmp 0x40a46c
sub esi, ecx
push esi
push 0
push dword [ebp - 0x1c]
call fcn.004162c0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x20]
mov dword [edi + 4], eax
add esi, 0xffffffff
js 0x40a48e
mov eax, esi
lea ecx, [ebp - 0x14]
and eax, 0xf
add ecx, eax
mov al, byte [ebx + esi]
mov dl, byte [ecx]
xor al, dl
mov byte [ecx], al
mov eax, dword [edi]
mov byte [esi + eax], dl
sub esi, 1
jns 0x40a471
test ebx, ebx
je 0x40a4bb
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x40a4b1
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a528
push ecx
push ebx
call fcn.0041483c
add esp, 8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
je 0x40a517
cmp byte [ecx], 0x4d
jne 0x40a517
cmp byte [ecx + 1], 0x5a
jne 0x40a517
sub esp, 0x18
mov esi, esp
push 0xd
push 0x2ff630
push esi
mov dword [esi], 0
mov dword [esi + 0x10], 0xd
mov dword [esi + 0x14], 0xf
call fcn.00415d40
add esp, 0xc
mov byte [esi + 0xd], 0
call fcn.0040fb30
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push 0x2da230
sub eax, ecx
push eax
push ecx
call fcn.004010f2
add esp, 0x24
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041484a
mov esp, ebp
pop ebp
ret
call fcn.004195df
int3

Function at 0x411b60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x415531
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x2ff0bc]
test eax, eax
je 0x415570
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x415570
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x415570
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x415570
cmp dword [ecx + 0x74], 0xe
jbe 0x415570
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42dfb0
Capabilities:
Parse pe header

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

Function at 0x10001070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
jmp 0x1000113c
lea eax, [ebp - 0x104]
push eax
call fcn.100012e8
push 0x1000107e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x10001209
lea eax, [ebp - 0x108]
push eax
push 0x20019
push 0
push 0x1000109d
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x1000126e
mov dword [ebp - 0x10c], 0x103
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x100010b7
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x108]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x1000126e
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x100011ee
mov word [ebx], 0x5c
push 0x10001088
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x1000126e
mov dword [0x1000300c], eax
push 0x10001092
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x10001263
push eax
push 0x3ea
call eax
pop edx
test eax, eax
je 0x10001263
mov dword [0x10003008], eax
push 0x3eb
mov ebx, section..data
call edx
test eax, eax
je 0x10001263
mov dword [section..data], edx
call 0x1000124a
add dword [esp], 0x4db6
call eax
mov dword [0x10003004], eax
sub esp, 4
pop dword [0x10003010]
leave
ret
push dword [0x1000300c]
call sub.KERNEL32.dll_FreeLibrary
mov dword [0x1000300c], 0
mov dword [section..data], 0xffffffff
mov dword [0x10003010], 0
mov dword [0x10003004], 0
mov dword [0x10003008], 0
push 0x10
push 0x10001136
push 0x100010bc
push 0
call sub.USER32.dll_MessageBoxA
push 0xffffffffffffffff
call sub.KERNEL32.dll_ExitProcess
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x6d782088
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x84
push esi
xor esi, esi
push esi
lea eax, [ebp + 0x6c]
push eax
push esi
push 0x20006
push esi
push 0x6d7812ec
push esi
push 0x6d781268
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x6d7820f9
push dword [ebp + 0x7c]
lea eax, [ebp - 0x14]
push 0x6d78125c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push esi
push dword [ebp + 0x78]
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add ebp, 0x70
leave
ret 8

Function at 0x6d782129
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x8c
or dword [ebp + 0x6c], 0xffffffff
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp + 0x70]
push eax
mov ebx, 0x20019
push ebx
push 0
mov edi, 0x6d781268
push edi
push 0x80000001
call esi
test eax, eax
jne 0x6d7821a4
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
push eax
push dword [ebp + 0x7c]
mov dword [ebp + 0x68], 0x80
push dword [ebp + 0x70]
mov word [ebp - 0x18], ax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6d782195
cmp word [ebp - 0x18], ax
je 0x6d782195
lea eax, [ebp - 0x18]
push eax
call fcn.6d782101
mov dword [ebp + 0x6c], eax
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x6c], 0xffffffff
jne 0x6d7821f8
lea eax, [ebp + 0x70]
push eax
push ebx
xor ebx, ebx
push ebx
push edi
push 0x80000002
call esi
test eax, eax
jne 0x6d7821f8
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push dword [ebp + 0x7c]
mov dword [ebp + 0x68], 0x80
push dword [ebp + 0x70]
mov word [ebp - 0x18], bx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6d7821ef
cmp word [ebp - 0x18], bx
je 0x6d7821ef
lea eax, [ebp - 0x18]
push eax
call fcn.6d782101
mov dword [ebp + 0x6c], eax
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x6c]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x401b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
cmp edi, 4
jle 0x401b74
lea esi, [edi - 1]
mov ecx, dword [esp + 0x10]
shr esi, 2
mov eax, esi
push ebx
neg eax
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x18]
mov ebx, dword [ecx]
mov ebp, dword [eax]
xor ebx, ebp
mov ebp, dword [eax + 4]
add eax, 4
add ecx, 4
or edx, ebx
add eax, 4
mov ebx, dword [ecx]
add ecx, 4
xor ebx, ebp
mov ebp, dword [eax]
or edx, ebx
mov ebx, dword [ecx]
xor ebx, ebp
mov ebp, dword [eax + 4]
add eax, 4
add ecx, 4
or edx, ebx
add eax, 4
mov ebx, dword [ecx]
add ecx, 4
xor ebx, ebp
or edx, ebx
dec esi
jne 0x401b34
pop ebx
jmp 0x401b7c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test edi, edi
jle 0x401b93
mov esi, edi
mov edi, dword [ecx]
mov ebp, dword [eax]
xor edi, ebp
add eax, 4
or edx, edi
add ecx, 4
dec esi
jne 0x401b82
xor eax, eax
pop edi
test edx, edx
pop esi
pop ebp
setne al
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x4bc96aab
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7f6f0ba2
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x40104c
Capabilities:
Encode data using xor

Disassembly:
push 0x401fd0
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
out dx, eax
jne 0x401058
pop ebx
sub al, 0xad
scasd eax, dword es:[edi]
dec esi
mov al, byte [esi - 0x5f]
cli
insd dword es:[edi], dx
push edx
xchg ebp, eax
leave
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov ecx, 0x31ccb3a4
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
int3
Function at 0x489408
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x48944c
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
dec ecx
je 0x48944a
dec ecx
jne 0x48944c
cmp eax, 5
jne 0x489441
test edx, edx
jne 0x489441
xor ebx, ebx
jmp 0x48944c
cmp eax, 5
jl 0x48944c
mov bl, 1
jmp 0x48944c
xor ebx, ebx
mov eax, ebx
add esp, 0x94
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4066c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47adcb
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.0046fcdc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406742
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046da67
mov eax, dword [eax]
push 0x4aa1c0
push eax
call fcn.00460774
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046ff67
test bl, bl
je 0x406742
push 0x4aa1c0
lea ecx, [esp + 0xc]
call fcn.004702f7
push 0x4add14
lea ecx, [esp + 0xc]
call fcn.004702f7
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 0x40677e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046ff67
jmp 0x406849
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 0x406802
lea edx, [esp + 0x7c]
push 0x4add10
push edx
call fcn.00460774
add esp, 8
test eax, eax
je 0x406802
lea eax, [esp + 0x7c]
push 0x4add0c
push eax
call fcn.00460774
add esp, 8
test eax, eax
je 0x406802
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 0x406792
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.0046ff67
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 0x407040
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 0x4070a2
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 0x4070b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ae4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b72b0]
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 0x4071e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407116
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ff67
xor eax, eax
jmp 0x40725f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004700a4
push esi
lea ecx, [esp + 0xc]
call fcn.00470333
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 0x40723d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00407040
test eax, eax
jne 0x40723d
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 closesocket
mov ecx, edi
call fcn.00407040
test eax, eax
jne 0x40723d
lea eax, [esp + 0x14]
push 0x4add28
push eax
call fcn.004617f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40721c
lea ecx, [esp + 0x14]
push 0x4add24
push ecx
call fcn.00461770
mov esi, eax
add esp, 8
test esi, esi
jne 0x40721c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40721f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00470054
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40712e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ff67
xor eax, eax
jmp 0x40725f
mov byte [esi], 0
push 0x4add20
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.0046ff67
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 0x417830
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 0x41789e
cmp si, 0x69
ja 0x41789e
add esi, 0xffd0
cmp si, 0x11
je 0x41786e
push 0x11
call edi
test ax, ax
jge 0x41786e
or esi, 0x2000
cmp si, 0x10
je 0x417883
push 0x10
call edi
test ax, ax
jge 0x417883
or esi, 0x4000
cmp si, 0x12
je 0x417898
push 0x12
call edi
test ax, ax
jge 0x417898
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4178ab
mov esi, 0xbd
jmp 0x41785f
cmp si, 0x6e
jne 0x4178b8
mov esi, 0xbe
jmp 0x41785f
cmp si, 0x6f
jne 0x417859
mov esi, 0xbf
jmp 0x41785f

Function at 0x4192a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c79a8]
xor edx, edx
cmp eax, edx
jne 0x4192c6
xor eax, eax
mov byte [eax + 0x4c78a8], al
inc eax
cmp eax, 0x100
jl 0x4192ae
mov dword [0x4c79a8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c78a8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x419357
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 0x41932a
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 0x4192f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4193d0
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 0x419423
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 0x41940a
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