joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57a304
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x57a36a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.005787f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00577234
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x57a354
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57a371
lea eax, [ebp - 0x10]
call fcn.00578588
ret

Function at 0x57e790
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x57e7c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00578678
jmp 0x57e7d2
mov eax, ebx
mov edx, esi
call fcn.005785dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x57e7dc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x57e7fd
mov al, byte [esp]
jmp 0x57e7ff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x57fc58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x57fcbc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.005787f8
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_GetACP
mov edx, eax
pop eax
call fcn.0057bc20
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57fcc3
lea eax, [ebp - 0xc]
call fcn.00578588
ret
Function at 0x580d84
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, 0x7a933c
lea ecx, [esp + 8]
mov dword [ecx], eax
mov eax, dword [esp]
mov dword [esp + 0xc], eax
xor ebx, ebx
xor esi, esi
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
test eax, eax
jle 0x580e48
mov edx, dword [ecx]
movzx edx, byte [edx + ebx]
shr edx, 2
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 1]
shr ebp, 4
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 1], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ebp, dword [ecx]
movzx ebp, byte [ebp + ebx + 2]
shr ebp, 6
add edx, ebp
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 2], dl
mov edx, dword [ecx]
mov dl, byte [edx + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edi + edx]
mov ebp, dword [esp + 0xc]
mov byte [ebp + esi + 3], dl
add esi, 4
add ebx, 3
dec eax
jne 0x580dbc
mov eax, dword [esp + 4]
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x580e5f
dec edx
je 0x580ea0
jmp 0x580efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 2], 0x3d
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
jmp 0x580efd
mov eax, dword [ecx]
movzx eax, byte [eax + ebx]
shr eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi], al
mov eax, dword [ecx]
mov al, byte [eax + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov edx, dword [ecx]
movzx edx, byte [edx + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 1], al
mov eax, dword [ecx]
mov al, byte [eax + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [edi + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + esi + 2], al
mov eax, dword [esp + 0xc]
mov byte [eax + esi + 3], 0x3d
mov eax, dword [esp + 4]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x580f60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x580f7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x58108f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x580fb0
je 0x580ffc
sub ecx, 0x2b
je 0x580ff2
sub ecx, 4
je 0x580ff7
dec ecx
sub ecx, 0xa
jb 0x580fe1
jmp 0x580fff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x580fc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x580fd0
jmp 0x580fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x580fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x580fff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x580fff
mov byte [eax], 0x3e
jmp 0x580fff
mov byte [eax], 0x3f
jmp 0x580fff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x580f8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x58104f
cmp byte [esp + 3], 0xff
jne 0x58104f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x581087
cmp dl, 0xff
je 0x581087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x580f88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x58111c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0x7ba7a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x581138
shr eax, 1
xor eax, 0xedb88320
jmp 0x58113a
shr eax, 1
dec edx
jne 0x58112b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x581124
pop ebx
ret
Function at 0x581150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x581159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00578a38
xor eax, eax
push ebp
push 0x581239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0058111c
mov eax, dword [0x7b9e0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00576e7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00577218
call fcn.00576ba8
test eax, eax
jne 0x581216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00576fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x581210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x7ba7a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x5811ec
cmp dword [ebp - 8], 0
jne 0x5811c3
lea eax, [ebp - 0x154]
call fcn.00576fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581240
lea eax, [ebp - 4]
call fcn.00578588
ret

Function at 0x58c718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x58c738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x58c726
pop edi
pop esi
pop ebx
ret
Function at 0x594fd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0x7bacb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0x7af670]
mov eax, dword [esi*4 + 0x7af6b0]
xor eax, dword [esp]
call fcn.00594f70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.00594fac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0x7af680]
mov eax, dword [esi*4 + 0x7af6c0]
xor eax, dword [esp]
call fcn.00594f70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.00594fac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0x7af690]
mov eax, dword [esi*4 + 0x7af6d0]
xor eax, dword [esp]
call fcn.00594f70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.00594fac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0x7af6a0]
mov eax, dword [esi*4 + 0x7af6e0]
xor eax, dword [esp]
call fcn.00594f70
mov edi, eax
mov eax, edi
call fcn.00594fac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x594fe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x595138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x59516d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x595193
inc ebx
cmp ebx, 0xf
jne 0x59517d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x59514f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x59eee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0x7b40f4
mov ebx, 0x7bece4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.0059de30
mov dword [esp + 8], eax
mov eax, edi
call fcn.0059de40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.0059de30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.0059de40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x59eef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403ba9
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push 0x4032a4
push 0x80000002
call dword [fcn.00401008]
test eax, eax
jne 0x403c01
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push ebx
push ebx
push 0x403290
push dword [ebp - 4]
mov dword [ebp - 8], 0x400
call dword [fcn.00401004]
test eax, eax
jne 0x403bf8
mov bl, 1
push dword [ebp - 4]
call dword [fcn.00401010]
mov al, bl
pop ebx
leave
ret

Function at 0x403c06
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x4032a4
push 0x80000002
call dword [fcn.00401008]
test eax, eax
jne 0x403c40
push 0x403290
push dword [ebp - 4]
call dword [fcn.0040100c]
push dword [ebp - 4]
call dword [fcn.00401010]
leave
ret

Function at 0x403c42
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x4032a4
push 0x80000002
call dword [fcn.00401008]
test eax, eax
jne 0x403cd8
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0
call dword [0x40102c]
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x404]
je 0x403c98
push 0x4032dc
jmp 0x403c9d
push 0x4032d4
push eax
call dword [0x4010a0]
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call dword [0x40103c]
inc eax
push eax
lea eax, [ebp - 0x404]
push eax
push 1
push 0
push 0x403290
push dword [ebp - 4]
call dword [entry0]
push dword [ebp - 4]
call dword [fcn.00401010]
leave
ret
Function at 0x403f29
Capabilities:
Accept command line arguments
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
call fcn.004033ab
xor ebx, ebx
push ebx
push 0x403ed7
call dword [0x401090]
cmp byte [0x405d68], bl
jne 0x404087
push 0x403320
call dword [0x401034]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x404087
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x403310
call dword [0x40108c]
push ebx
push 0x403db8
push ebx
push 0x66
push dword [ebp + 8]
mov dword [0x405d08], eax
call dword [0x401088]
mov edi, dword [0x401030]
push 0x403304
push dword [ebp - 4]
mov esi, eax
call edi
call eax
push 0x65
push ebx
mov dword [0x405d10], 0x58
mov dword [0x405d1c], 7
call dword [0x401044]
push eax
call dword [0x4010ac]
push 0x405008
push 0x405d28
mov dword [0x405d24], eax
mov dword [0x405d18], 1
mov dword [0x405d20], 0x8000
mov dword [0x405d14], esi
call dword [0x401040]
lea eax, [ebp - 8]
push eax
call dword [0x401028]
push eax
call dword [0x40104c]
cmp dword [ebp - 8], 2
jl 0x40401f
push 0x4032fc
push dword [eax + 4]
call dword [0x401024]
test eax, eax
je 0x40403b
push 0x405d10
push ebx
call dword [0x401050]
call fcn.00403ba9
test al, al
je 0x40403b
push ebx
call fcn.00403c42
pop ecx
mov esi, dword [0x401080]
jmp 0x404057
lea eax, [ebp - 0x24]
push eax
call dword [0x40107c]
lea eax, [ebp - 0x24]
push eax
call dword [0x401078]
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
call esi
test eax, eax
jne 0x404043
mov eax, dword [0x405d24]
cmp eax, ebx
je 0x404074
push eax
call dword [0x401074]
push 0x4032ec
push dword [ebp - 4]
call edi
call eax
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
jmp 0x404089
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x40b690
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49318b
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.00487521
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b712
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00484ee3
mov eax, dword [eax]
push 0x4ed210
push eax
call fcn.004767c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004877ac
test bl, bl
je 0x40b712
push 0x4ed210
lea ecx, [esp + 0xc]
call fcn.00487b3c
push 0x4f0d84
lea ecx, [esp + 0xc]
call fcn.00487b3c
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 0x40b74e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004877ac
jmp 0x40b819
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 0x40b7d2
lea edx, [esp + 0x7c]
push 0x4f0d80
push edx
call fcn.004767c4
add esp, 8
test eax, eax
je 0x40b7d2
lea eax, [esp + 0x7c]
push 0x4f0d7c
push eax
call fcn.004767c4
add esp, 8
test eax, eax
je 0x40b7d2
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 0x40b762
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.004877ac
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 0x40c010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49320b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f9c14]
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 0x40c148
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c076
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004877ac
xor eax, eax
jmp 0x40c1bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004878e9
push esi
lea ecx, [esp + 0xc]
call fcn.00487b78
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4f0dbc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c19d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4f0db4
push 0x80000000
call fcn.004641e0
test eax, eax
jne 0x40c19d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4f0da0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.004641e0
test eax, eax
jne 0x40c19d
lea eax, [esp + 0x14]
push 0x4f0d98
push eax
call fcn.00477800
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c17c
lea ecx, [esp + 0x14]
push 0x4f0d94
push ecx
call fcn.00477780
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c17c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c17f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00487899
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c08e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004877ac
xor eax, eax
jmp 0x40c1bf
mov byte [esi], 0
push 0x4f0d90
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.004877ac
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 0x420150
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 0x4201be
cmp si, 0x69
ja 0x4201be
add esi, 0xffd0
cmp si, 0x11
je 0x42018e
push 0x11
call edi
test ax, ax
jge 0x42018e
or esi, 0x2000
cmp si, 0x10
je 0x4201a3
push 0x10
call edi
test ax, ax
jge 0x4201a3
or esi, 0x4000
cmp si, 0x12
je 0x4201b8
push 0x12
call edi
test ax, ax
jge 0x4201b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4201cb
mov esi, 0xbd
jmp 0x42017f
cmp si, 0x6e
jne 0x4201d8
mov esi, 0xbe
jmp 0x42017f
cmp si, 0x6f
jne 0x420179
mov esi, 0xbf
jmp 0x42017f

Function at 0x421870
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50a400]
xor edx, edx
cmp eax, edx
jne 0x421896
xor eax, eax
mov byte [eax + 0x50a300], al
inc eax
cmp eax, 0x100
jl 0x42187e
mov dword [0x50a400], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50a300
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x421927
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 0x4218fa
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 0x4218c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4219a0
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 0x4219f3
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 0x4219da
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 0x42b670
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x494bc8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x42b6a9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0048efda
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0048f026
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0042b730
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0048f063
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24