joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480460
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x50000]
push edi
or ebp, 0xffffffff
jmp 0x480482
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x480489
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480478
mov eax, 1
add ebx, ebx
jne 0x48049b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4804ac
jne 0x4804cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4804cb
dec eax
add ebx, ebx
jne 0x4804b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x480490
add ebx, ebx
jne 0x4804c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48051d
xor ecx, ecx
sub eax, 3
jb 0x4804e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x480552
sar eax, 1
mov ebp, eax
jmp 0x4804ee
add ebx, ebx
jne 0x4804ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4804bc
inc ecx
add ebx, ebx
jne 0x4804fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4804bc
add ebx, ebx
jne 0x480509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4804fe
jne 0x48051a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4804fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48053c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48052e
jmp 0x48047e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48053c
add edi, ecx
jmp 0x48047e
pop esi
mov edi, esi
mov ecx, 0x12
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48055a
cmp byte [edi], 0
jne 0x48055a
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 0x48055f
lea edi, [esi + 0x7e000]
mov eax, dword [edi]
or eax, eax
je 0x4805ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x90b80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x90bd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48058c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x90bd4]
or eax, eax
je 0x4805c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4805a9
call dword [esi + 0x90be4]
mov ebp, dword [esi + 0x90bd8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x480602
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x35f8a
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp], esp
mov edx, dword [edx + 0x36b6b]
jmp 0x6739a
xor cl, byte [esi + ebx*4 + 0x61]
inc edx
mov word [esp], bx
push 0xd3a4f48b
lea edx, [edx + 0x6cf2db1d]
call fcn.00022d29
scasd eax, dword es:[edi]
and ecx, dword [ebp - 0x10]
jae 0x6741c
mov dh, 0xcc
lahf
jb 0x67395
aad 0x72
sub dword [ebx - 0x2c], edx
div byte [esi + edx + 0x1c]
mov dword [esi - 0xb8d8436], esp
add ch, byte [ecx + 0x41f1024d]
mov esi, esp
and dword [esi + eax + 0x17], edx
out 0x21, al
push esp
push es
pop ss
xor dword [edx + edi*2], eax
inc ebx
call 0x9d5d8c28
jle 0x673cf
aam 0xb1
dec byte [edi + 0x6621e610]
and bh, ah
mov ebx, 0x6e14dede
pushfd
cdq
or al, 0xcd
jmp 0x69b93783
and eax, 0x8d7eb61e
das
inc eax
mov byte [0xd194309d], al
mov eax, dword [0x8c0841a2]
dec edi
stosb byte es:[edi], al
out dx, al
jmp 0x486c0fb0

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

Disassembly:
pushfd
lea esp, [esp + 0x40]
ja 0x6f370
pushfd
jmp 0x6e8aa
cmp ch, ah
pushfd
bt edx, 0x12
cmp al, byte [edi]
movzx ax, bl
lea edi, [edi + 1]
pop eax
pop eax
mov eax, dword [esp + 0x34]
push esi
jmp 0x6b8a1
lea esp, [esp + 4]
jne 0x6fb1c
call fcn.0006fb3f
pop ss
mov bh, 0x97
mov esi, 0xee3963e8
movsb byte es:[edi], byte [esi]
sbb eax, ebp
fisub dword [eax - 0x5d]
or ecx, ebx
sal cl, 0
mov eax, 0xf1ef0364
invalid
pushfd
push esi
lea esp, [esp + 0xc]
jb 0x70d42
bt bx, 2
cmp byte [edi - 1], 0
pushfd
mov byte [esp], ah
jmp 0x6d841

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

Disassembly:
call 0x6c9f7
lea eax, [0x6ea9e]
pushal
jmp 0x6b89c

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

Disassembly:
pushal
lea esp, [esp + 0x30]
jae 0x6c544
push edi
pushfd
push ecx
mov byte [esp], ah
lea esp, [esp + 0xc]
jmp 0x6f984

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

Disassembly:
pushal
push 0x7f88551
lea esp, [esp + 0x24]
ja 0x6ef89
jb 0x70d42
test ah, 0xca
cmp ch, bl
push 0x3fb53488
cmp byte [edi - 1], 0
pushal
pushfd
jmp 0x6bb47
mov eax, dword [esp + 0x20]
pushal
lea esp, [esp + 0x44]
ja 0x6f370
jo 0x6c8c0
jb 0x70d42
call fcn.0006c4fd
call fcn.000719cd
push dword [esp]
lea esp, [esp + 0x28]
je 0x70d2e
sete dh
movsx di, dl
push ecx
pop edx
lea edx, [ebx + 4]
lea esi, [eax + 0x55b7c139]
mov edi, dword [ebp + 8]
movzx esi, dl
push edx
lea esi, [0x6b3cf]
call fcn.000700b7
pushfd
mov word [esp], 0xcb89
call fcn.0007067f
jbe 0x6efa4
push es
add byte [eax], al
add byte [eax], al
add dh, ch
lds eax, [0x5df4c00]
add dl, bh
clc
add eax, 0x5de4d00
add byte [edx + 0x310005df], ch
int3
stc
cmp ch, 0xd5
push eax
cmp ecx, dword [ebp - 4]
mov byte [esp], ch
call fcn.0006fc56
cmc
xor eax, eax
cmp al, 0xa
or ebx, ebx
call fcn.00071a33
call fcn.0006c4ee
Function at 0x6d93d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
bts di, dx
mov edi, dword [edx + 0x24]
stc
stc
pushfd
add edi, eax
mov byte [esp], ch
clc
push 0x47e65a52
movzx ecx, word [edi + ecx*2]
shrd di, si, 4
shrd di, dx, 3
or di, 0xfb23
mov edi, dword [edx + 0x1c]
pushal
add edi, eax
cmp si, dx
mov edi, dword [edi + ecx*4]
cmc
test edi, edi
push dword [esp + 8]
pushfd
push ebp
mov byte [esp], 0x9c
lea esp, [esp + 0x34]
je 0x6c544
test si, di
cmc
add eax, edi
test ah, 0x24
pushal
stc
cmp bh, 0xa0
cmp eax, edx
pushfd
mov dword [esp], 0xa5a3530f
lea esp, [esp + 0x24]
jmp fcn.0006f36a
lea esp, [esp + 4]
jne 0x6fb1c
jmp 0x71444
jmp 0x6be69

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

Disassembly:
push 0x1a9acf59
cmp ch, bh
cmp ecx, dword [edx + 0x14]
push esi
pushfd
call fcn.0006cd45
movsb byte es:[edi], byte [esi]
sub al, 0xc
cwde
call 0x383d7b19
into
cmp ebx, dword [edx + 0x2e44368c]
or al, 0x12
or byte [edx], ch
test dword [ebp - 0x7b], 0xb780ee7e
ret
pushfd
push esp
lea esp, [esp + 0xc]
jae 0x6c544
pushfd
pushfd
lea esp, [esp + 8]
jmp 0x6f984
jmp 0x6c27e
cmc
sub ecx, dword [edx + 0x10]
clc
add esp, 4
je 0x6b29c
pushfd
cmp al, bh
cmp ecx, dword [edx + 0x14]
jmp 0x6ef77

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

Disassembly:
lea esp, [esp + 8]
jne 0x6fb1c
bsf di, ax
mov edi, dword [edx + 0x24]
bt dx, 6
stc
cmp bx, 0x7e27
pushal
add edi, eax
stc
jmp 0x6da9f
movzx ecx, word [edi + ecx*2]
clc
add di, di
mov edi, dword [edx + 0x1c]
pushfd
clc
test dx, sp
add edi, eax
call fcn.0006b99f
jmp 0x6b3aa

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

Disassembly:
pushal
cmp bh, 0x5c
add edi, eax
pushal
movzx ecx, word [edi + ecx*2]
or di, 0x18bd
sub di, 0xc275
stc
jmp 0x6e4bb
mov edi, dword [edx + 0x1c]
mov word [esp], 0x5aaa
add edi, eax
push edx
mov edi, dword [edi + ecx*4]
push dword [esp + 0xc]
stc
mov byte [esp + 0xc], 0x4b
push dword [esp]
test edi, edi
pushfd
call fcn.0006e571
lea esp, [esp + 0x28]
jne 0x6fb1c
dec di
xor di, sp
mov edi, ebx
ror di, 7
mov edi, dword [edx + 0x24]
cmc
jmp 0x6ca18
lea esp, [esp + 8]
jb 0x70d42
pushal
pushfd
push eax
cmc
cmp byte [edi - 1], 0
mov byte [esp + 8], 0x96
jmp 0x7020d

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

Disassembly:
movsx eax, cl
lahf
movsx ax, dl
lea edi, [edi + 1]
movsx ax, al
mov eax, dword [esp + 0x30]
pushfd
jmp 0x6b82d
mov dword [esp], ecx
cmp al, byte [edi]
jmp 0x7075a

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

Disassembly:
add edi, eax
push esp
pushfd
test ecx, 0x92849659
movzx ecx, word [edi + ecx*2]
shl edi, cl
cmp edx, 0xe0f9f2f2
mov dword [esp], 0xf4d5a037
mov edi, dword [edx + 0x1c]
pushfd
push 0xaa95c00e
stc
add edi, eax
pushal
pushfd
call fcn.0006e490
lea esp, [esp + 0xc]
jne 0x6fb1c
xor edi, 0x373fab9b
mov edi, dword [edx + 0x24]
jmp 0x6b9b2
Function at 0x402a50
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x4271f0]
push ebx
push esi
mov ebx, ecx
lea esi, [eax + 4]
push edi
mov dword [0x428ac0], esi
mov eax, dword [eax]
mov ecx, 0x7d7
lea edi, [ebx + 0x2541bc]
mov dword [0x428abc], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x428ac0]
mov esi, dword [ebx + 0x21b4]
test esi, esi
mov edx, dword [ecx + 8]
mov dword [ebx + 0x2118], edx
mov eax, dword [0x428ac0]
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x211c], ecx
je 0x402ab7
push esi
call fcn.00408a00
push esi
call fcn.00417cf4
add esp, 8
mov dword [ebx + 0x21b4], 0
push 0x50
call fcn.00417cff
mov edx, eax
add esp, 4
test edx, edx
je 0x402ad6
mov ecx, 0x14
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, edx
jmp 0x402ad8
xor eax, eax
mov ecx, dword [ebx + 0x211c]
mov edx, dword [ebx + 0x2118]
mov dword [ebx + 0x21b4], eax
push eax
mov word [eax], dx
mov word [eax + 2], cx
call fcn.004088c0
mov eax, dword [ebx + 0x211c]
mov ecx, dword [ebx + 0x2118]
add esp, 4
push eax
push ecx
mov ecx, dword [ebx + 0x21b8]
call fcn.004010f0
mov esi, dword [0x428ac0]
mov eax, 0x1f5c
add esi, eax
mov ecx, ebx
mov dword [0x428ac0], esi
mov dword [0x428ab8], eax
call fcn.00402c60
push 0
push 0
push ebx
push 0x405900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
ret
Function at 0x404f30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xe0
push esi
push edi
xor dl, dl
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x69]
mov byte [esp + 0x68], dl
mov byte [esp + 8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 9]
push 0x60
rep stosd dword es:[edi], eax
mov ecx, dword [0x428644]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push 0x37
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, str.Explorer.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 8]
push ecx
call esi
push eax
lea edx, [esp + 0xc]
lea eax, [esp + 0x6c]
push edx
push eax
call esi
lea ecx, [esp + eax + 0x70]
push ecx
call fcn.00417d10
add esp, 0xc
lea edx, [esp + 0x68]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
add esp, 0xe0
ret

Function at 0x405440
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
xor eax, eax
lea ecx, [esp + 4]
mov edx, dword [esi + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push ecx
push edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
sub eax, ecx
mov ecx, dword [esp + 0x10]
push 0
sub ecx, edx
mov edx, dword [0x428644]
push edx
mov edx, dword [esi + 0x24]
sub ecx, 0x120
push 0
sub eax, 0x160
push edx
sar ecx, 1
push 0x120
push 0x160
sar eax, 1
push ecx
push eax
push 0x40800000
lea eax, [esi + 0x334]
push 0
push eax
push 0x18
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 5
push eax
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret
Function at 0x41b215
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x427870
cmp edx, dword [eax]
je 0x41b237
add eax, 8
inc ecx
cmp eax, 0x427900
jl 0x41b228
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x427870]
jne 0x41b365
mov eax, dword [0x45b038]
cmp eax, 1
je 0x41b33f
test eax, eax
jne 0x41b268
cmp dword [0x4276c8], 1
je 0x41b33f
cmp edx, 0xfc
je 0x41b365
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b29f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041d0c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041d210
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41b2e2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041d210
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x426014
push edi
call fcn.00417d10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041d0c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041d0d0
lea eax, [ebp - 0xa0]
push 0x425ff4
push eax
call fcn.0041d0d0
push dword [esi + 0x427874]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041d0d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041dd29
add esp, 0x2c
pop edi
jmp 0x41b365
lea eax, [ebp + 8]
lea esi, [esi + 0x427874]
push 0
push eax
push dword [esi]
call fcn.0041d210
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10006e90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10061edb
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.10056c18
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10006f12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10054b67
mov eax, dword [eax]
push 0x101481d0
push eax
call fcn.10047ac4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10056ea3
test bl, bl
je 0x10006f12
push 0x101481d0
lea ecx, [esp + 0xc]
call fcn.10057233
push 0x1014bd18
lea ecx, [esp + 0xc]
call fcn.10057233
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 0x10006f4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10056ea3
jmp 0x10007019
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 0x10006fd2
lea edx, [esp + 0x7c]
push 0x1014bd14
push edx
call fcn.10047ac4
add esp, 8
test eax, eax
je 0x10006fd2
lea eax, [esp + 0x7c]
push 0x1014bd10
push eax
call fcn.10047ac4
add esp, 8
test eax, eax
je 0x10006fd2
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 0x10006f62
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.10056ea3
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 0x10007810
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 0x10007872
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 0x10007880
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10061f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x101522bc]
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 0x100079b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100078e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10056ea3
xor eax, eax
jmp 0x10007a2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10056fe0
push esi
lea ecx, [esp + 0xc]
call fcn.1005726f
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 0x10007a0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10007810
test eax, eax
jne 0x10007a0d
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.10007810
test eax, eax
jne 0x10007a0d
lea eax, [esp + 0x14]
push 0x1014bd2c
push eax
call fcn.10048b00
mov esi, eax
add esp, 8
test esi, esi
jne 0x100079ec
lea ecx, [esp + 0x14]
push 0x1014bd28
push ecx
call fcn.10048a80
mov esi, eax
add esp, 8
test esi, esi
jne 0x100079ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100079ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10056f90
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100078fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10056ea3
xor eax, eax
jmp 0x10007a2f
mov byte [esi], 0
push 0x1014bd24
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.10056ea3
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 0x10018010
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 0x1001807e
cmp si, 0x69
ja 0x1001807e
add esi, 0xffd0
cmp si, 0x11
je 0x1001804e
push 0x11
call edi
test ax, ax
jge 0x1001804e
or esi, 0x2000
cmp si, 0x10
je 0x10018063
push 0x10
call edi
test ax, ax
jge 0x10018063
or esi, 0x4000
cmp si, 0x12
je 0x10018078
push 0x12
call edi
test ax, ax
jge 0x10018078
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001808b
mov esi, 0xbd
jmp 0x1001803f
cmp si, 0x6e
jne 0x10018098
mov esi, 0xbe
jmp 0x1001803f
cmp si, 0x6f
jne 0x10018039
mov esi, 0xbf
jmp 0x1001803f

Function at 0x100196f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10162900]
xor edx, edx
cmp eax, edx
jne 0x10019716
xor eax, eax
mov byte [eax + 0x10162800], al
inc eax
cmp eax, 0x100
jl 0x100196fe
mov dword [0x10162900], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10162800
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100197a7
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 0x1001977a
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 0x10019748
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10019820
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 0x10019873
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 0x1001985a
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 0x100202b0
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 0x10020448
cmp ebp, ebx
jle 0x10020448
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 0x1002030e
dec eax
or eax, 0xfffffff8
inc eax
je 0x10020315
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x10020324
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x1002032b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.10056be4
add esp, 4
cmp eax, ebx
je 0x1002034c
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.10056be4
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 0x1002043e
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 0x10020425
mov al, byte [edx]
cmp al, 0xc0
jbe 0x10020411
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x10020406
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 0x10020414
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x10020414
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x100203b0
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 0x100203a1
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