joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4894f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x4d8
mov eax, dword [0x66f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x44
lea eax, [ebp - 0x4d8]
xorps xmm0, xmm0
push 0
push eax
movdqa xmmword [ebp - 0x480], xmm0
call fcn.005c7c50
add esp, 0xc
mov dword [ebp - 0x4d8], 0x44
xor eax, eax
mov word [ebp - 0x460], ax
push 0x206
push eax
lea eax, [ebp - 0x45e]
push eax
call fcn.005c7c50
add esp, 0xc
mov dword [ebp - 0x34], 0x610065
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x2e0074
mov dword [ebp - 0x2c], 0x780065
mov dword [ebp - 0x28], 0x65
push eax
push 0x6806a0
lea eax, [ebp - 0x460]
push 0x64bbdc
push eax
call fcn.00463930
add esp, 0x10
mov dword [ebp - 0x24], 0x700041
xor eax, eax
mov dword [ebp - 0x20], 0x75006c
mov word [ebp - 0x10], ax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0x1c], 0x73
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x460]
mov dword [ebp - 0x18], 0x48004c
push eax
mov dword [ebp - 0x14], 0x4d0056
mov dword [ebp - 0xc], 0x610065
mov dword [ebp - 8], 0x74
mov dword [ebp - 0x4c], 0x690057
mov dword [ebp - 0x48], 0x4c006e
mov dword [ebp - 0x44], 0x630069
mov dword [ebp - 0x40], 0x6e0065
mov dword [ebp - 0x3c], 0x650073
call dword [0x5f342c]
test eax, eax
je 0x4899a3
push 2
push 0
push 0
push dword [0x680c00]
push esi
call fcn.008e89f8
push dword [ebp - 0x47c]
call dword [0x5f3458]
push 0xffffffffffffffff
push dword [ebp - 0x480]
call fcn.00907a11
push 1
push 0
push dword [0x68068c]
push dword [0x680c00]
push ebp
call fcn.00a241e5
push dword [0x680c00]
push eax
call fcn.008aeffe
call dword [0x5f3484]
mov ecx, 0x64cd10
push eax
or edx, 0xffffffff
call fcn.00485fd0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.005c02df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x494210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
or eax, 0xffffffff
xor esi, esi
mov ebx, ecx
test edi, edi
je 0x494238
movzx edx, byte [esi + ebx]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x649660]
cmp esi, edi
jb 0x494220
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x496f50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x496f5b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x497025
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
dec edi
jne 0x496f70
pop edi
test esi, esi
je 0x49704a
lea esp, [esp]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x649a60]
dec esi
jne 0x497030
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x497060
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
and eax, 0xff
shr esi, 8
mov eax, dword [eax*4 + 0x649a60]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x649a60]
mov dword [edi + 8], eax
pop edi
pop esi
ret

Function at 0x4970b0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
push esi
mov bl, dl
mov edx, ecx
push edi
mov edi, dword [edx + 8]
mov esi, edi
mov ecx, dword [edx]
and esi, 0xfffd
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
shr eax, 8
xor bl, al
movsx eax, bl
xor eax, ecx
shr ecx, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x649a60]
xor eax, ecx
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, edi
shr edi, 8
and eax, 0xff
xor edi, dword [eax*4 + 0x649a60]
mov al, bl
mov dword [edx + 8], edi
pop edi
pop esi
pop ebx
ret
Function at 0x499fb0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
je 0x49a08b
mov eax, dword [esi + 0x3c]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x499fe4
cmp dword [esi + 0x40], ebx
jae 0x499fe4
push eax
call fcn.0049a336
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x499ffc
lea eax, [ebx + ebx]
push eax
call fcn.0049a32d
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push edi
push dword [esi + 0x3c]
call fcn.005c96b0
xor edx, edx
add esp, 0xc
mov dword [ebp + 8], edx
test ebx, ebx
je 0x49a088
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
and eax, 0xff
shr ecx, 8
mov eax, dword [eax*4 + 0x64b1e8]
xor eax, ecx
mov ecx, edi
mov dword [esi + 0x30], eax
xor ecx, 1
movzx eax, al
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
and eax, 0xff
shr edx, 8
xor cl, bl
xor edx, dword [eax*4 + 0x64b1e8]
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [ebp + 8], edx
cmp edx, dword [ebp + 0xc]
jb 0x49a012
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x49a0c9
mov edx, dword [esi + 0x24]
mov ebx, dword [ebp + 0xc]
lea eax, [edx + ebx]
cmp eax, dword [esi + 0x28]
jb 0x49a0b0
pop edi
mov dword [esi + 0x14], 0x30000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
push ebx
add ecx, edx
push edi
push ecx
call fcn.005c96b0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x24], ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x49a0eb
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push edi
push eax
push eax
call 0x7ba17f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
Function at 0x68cc80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x68cd8c
test eax, eax
je 0x68cd8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x6a7ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x68cd73
lea edi, [eax + 4]
jmp 0x68ccd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x68ccec
mov dword [ebp - 4], 2
jmp 0x68cd0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x68cd03
mov dword [ebp - 4], 1
jmp 0x68cd0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x68cd83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x68cd46
mov byte [ecx], 0x3d
jmp 0x68cd52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x68cd5d
mov byte [ecx], 0x3d
jmp 0x68cd63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x68ccd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0xda59d644
call fcn.00a3dcae
push 0x3bcf0b4
call fcn.00a12364
Function at 0x802648
Capabilities:
Authenticate hmac
Check http status code
Contain obfuscated stackstrings
Encrypt data using speck
Hash data with crc32
Write file on windows

Disassembly:
je 0x803959
mov dword [ebp - 0x1e1c], 0x70004f
cmovbe eax, ebx
mov ax, sp
mov dword [ebp - 0x1e18], 0x720065
mov eax, 0x724d6c81
cmovns ax, bp
jmp loc.0047d9f9
push ebp
xchg bp, ax
cmovl ax, sp
mov ebp, esp
push 0xfffffffffffffffe
sar eax, cl
push 0x8f7e20
lahf
or eax, edi
push 0x5c85d0
mov eax, dword fs:[0]
cmp si, 0x3659
stc
push eax
mov al, dh
shl al, 0x66
sub esp, 8
mov eax, 0x1e4c
call fcn.005c8e60
mov eax, dword [0x66f040]
stc
xor dword [ebp - 8], eax
stc
xor eax, ebp
jmp 0x9c27bf
sub eax, eax
btc cx, si
not di
mov ecx, dword [ebp - 0x10]
btr edi, 0x68
ror di, 0x1b
mov dword fs:[0], ecx
cmp dx, 0x4dc9
pop ecx
xor cx, 0x6763
cmc
sal esi, 0x97
pop edi
pop esi
rol ecx, cl
sar ebx, cl
pop ebx
bt cx, sp
sub ch, 0xd5
not ch
mov ecx, dword [ebp - 0x1c]
cmp dx, 0x6023
clc
xor ecx, ebp
call fcn.005c02df
mov esp, ebp
jmp 0x92c74f
mov dword [esi], 0
jmp 0x8a7d73
push dword [0x680da4]
call dword [0x5f3430]
test eax, eax
jmp 0x7db680
push 0
jmp 0x86daa1
pop ebp
jmp loc.0049e14e
push ebx
movsx ebx, di
push esi
push edi
bswap bx
xchg di, bx
cmovl ebx, eax
push eax
lea eax, [ebp - 0x10]
bswap ebx
xchg esi, ebx
not bl
mov dword fs:[0], eax
movzx ebx, sp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1e58], edx
movsx bx, dl
mov dword [ebp - 0x1e3c], ecx
mov al, 0x59
lahf
mov edi, dword [ebp + 8]
cbw
not si
mov dword [ebp - 0x1e34], edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1e28], esi
mov eax, dword [ebp + 0x10]
movzx bx, ch
mov dword [ebp - 0x1e24], eax
bswap ax
not ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1e30], eax
bswap ax
lahf
movsx ebx, si
mov ebx, dword [ebp + 0x18]
lahf
cmovs eax, esp
not ax
mov dword [ebp - 0x1e40], ebx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1e5c], eax
jmp 0x8398f9
mov dword [ebp - 0x1c], eax
jmp 0x97f43d

Function at 0x8055e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
bts ebp, eax
movzx ebp, dx
shl eax, cl
mov ebp, esp
lea esp, [esp - 0x16c]
sbb ah, 0x60
neg ah
mov eax, dword [0x66f040]
xor eax, ebp
jmp 0x98e4eb
push esi
jmp 0x98cc08
call fcn.0085e2d2
lea eax, [ebp - 0x18]
jmp loc.00486251
mov dword [ebp - 4], eax
jmp 0x967c7f
Function at 0x87e75d
Capabilities:
Hash data with crc32

Disassembly:
mov dword [ebp - 0x10], 0x6c64746e
jmp 0xa4d0f5
mov dword [ebp - 0x1c], 0x63002e
mov dword [ebp - 0x18], 0x6d006f
jmp 0x6cc12a
mov dword [ebp - 0x38], 0x6e006f
mov dword [ebp - 0x34], 0x63002e
jmp 0x9f997f
mov word [ebp - 8], 0x6c
jmp 0x9a4298
mov dword [ebp - 0x24], 0x61002d
mov dword [ebp - 0x20], 0x690070
jmp 0x701aa7
mov dword [ebp - 0x44], 0x6f0070
mov dword [ebp - 0x40], 0x650073
jmp 0x8e6a29
push 0x9728a789
call fcn.0070652f
mov dword [ebp - 0x74], 0x300034
mov dword [ebp - 0x70], 0x310039
jmp 0x9b7e59
mov dword [ebp - 0x28], 0x700069
jmp 0x818585
call fcn.00401240
push 0x1ff
jmp loc.0047e69b
mov dword [ebp - 0x3c], 0x640069
jmp 0x7e1aa5
movdqu xmmword [ebp - 0xb8], xmm0
mov word [ebp - 0xa8], 0x7373
jmp 0x8e48e5
mov dword [ebp - 0x6c], 0x35
mov dword [ebp - 0x48], 0x31006c
jmp 0x8588d6
mov dword [ebp - 0x30], 0x6d006f
jmp 0x8b2ef9
mov dword [ebp - 0xc], 0x6c642e6c
jmp 0x816f27
Function at 0x8cd026
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x44c]
test dh, 0xb2
jmp 0x9fd2d3
push 0xfed77694
call fcn.0045bf8a
push 3
lea ecx, [ebp - 0x348]
jmp 0x99e606
call fcn.005c0d5c
mov ecx, dword [esi + 0xa8]
cwd
setp dh
mov dl, 0xdd
mov edx, dword [ebp - 0x450]
mov dword [edx + ecx + 0x40], eax
jmp 0x8f1dd2
jmp 0x8b319a
call fcn.0048c230
mov ecx, eax
jmp 0x9e3243
call fcn.0045e470
push eax
jmp 0x8d0d61
add esp, 4
jmp 0x83992b
Function at 0x93b72c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
cmp esi, dword [0x680db0]
jne 0x82a47c
push 0xda59d644
call fcn.00a3dcae
call fcn.0048bee0
dec ebx
cmova esi, edi
mov esi, dword [eax]
jmp 0x9f4f11
jmp 0x81096b
Function at 0x100257b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100c9600
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100be847
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1002a280
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10025804
jmp dword [ecx*4 + 0x1002596c]
mov al, byte [esi]
test al, al
je 0x10025832
cmp al, 0x20
je 0x1002581e
cmp al, 0xa1
jne 0x10025832
cmp byte [esi + 1], al
jne 0x10025832
test al, 0x80
je 0x1002582a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10025832
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10025811
test ecx, ecx
je case.default.0x10025804
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10025804
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10025878
cmp dl, 0xa1
jne 0x1002586c
cmp byte [eax + 1], 0xa1
jne 0x1002586c
test ecx, ecx
jne 0x10025864
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1002588c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100258a6
jmp 0x1002588c
cmp dl, 0x20
jne 0x1002588a
test ecx, ecx
jne 0x10025883
mov edi, eax
mov ecx, 1
jmp 0x1002588c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1002584c
cmp ecx, 1
jne case.default.0x10025804
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10025804
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10025804
mov al, byte [esi]
test al, al
je 0x100258fe
test al, 0x80
mov byte [esp + 0x3c], al
je 0x100258e4
mov cl, byte [esi + 1]
test cl, cl
je 0x100258fe
cmp al, 0xa1
jne 0x100258d4
cmp cl, al
je 0x100258e1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1002a510
inc esi
jmp 0x100258f6
cmp al, 0x20
je 0x100258f6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1002a550
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100258bd
push 0
lea ecx, [esp + 0x14]
call fcn.1002a550
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003eaa0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10025931
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100edc60
call fcn.1002a480
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100be7d9
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10034fe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100ca18b
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.100be54e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10035062
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100bbd6d
mov eax, dword [eax]
push 0x101cfd64
push eax
call fcn.100a2b84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100be7d9
test bl, bl
je 0x10035062
push 0x101cfd64
lea ecx, [esp + 0xc]
call fcn.100beb69
push 0x101cfd70
lea ecx, [esp + 0xc]
call fcn.100beb69
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 0x1003509e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100be7d9
jmp 0x10035169
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 0x10035122
lea edx, [esp + 0x7c]
push 0x101cfd6c
push edx
call fcn.100a2b84
add esp, 8
test eax, eax
je 0x10035122
lea eax, [esp + 0x7c]
push 0x101cfd68
push eax
call fcn.100a2b84
add esp, 8
test eax, eax
je 0x10035122
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 0x100350b2
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.100be7d9
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 0x10035960
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 0x100359c2
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 0x100359d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100ca20b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x101df088]
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 0x10035b08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10035a36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100be7d9
xor eax, eax
jmp 0x10035b7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100be916
push esi
lea ecx, [esp + 0xc]
call fcn.100beba5
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 0x10035b5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10035960
test eax, eax
jne 0x10035b5d
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.10035960
test eax, eax
jne 0x10035b5d
lea eax, [esp + 0x14]
push 0x101cfd80
push eax
call fcn.100a3cd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10035b3c
lea ecx, [esp + 0x14]
push 0x101cfd7c
push ecx
call fcn.100a3c50
mov esi, eax
add esp, 8
test esi, esi
jne 0x10035b3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10035b3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100be8c6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10035a4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100be7d9
xor eax, eax
jmp 0x10035b7f
mov byte [esi], 0
push 0x101cfd78
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.100be7d9
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 0x1004ab20
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 0x1004ab8e
cmp si, 0x69
ja 0x1004ab8e
add esi, 0xffd0
cmp si, 0x11
je 0x1004ab5e
push 0x11
call edi
test ax, ax
jge 0x1004ab5e
or esi, 0x2000
cmp si, 0x10
je 0x1004ab73
push 0x10
call edi
test ax, ax
jge 0x1004ab73
or esi, 0x4000
cmp si, 0x12
je 0x1004ab88
push 0x12
call edi
test ax, ax
jge 0x1004ab88
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1004ab9b
mov esi, 0xbd
jmp 0x1004ab4f
cmp si, 0x6e
jne 0x1004aba8
mov esi, 0xbe
jmp 0x1004ab4f
cmp si, 0x6f
jne 0x1004ab49
mov esi, 0xbf
jmp 0x1004ab4f

Function at 0x1004c4f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x101efa90]
xor edx, edx
cmp eax, edx
jne 0x1004c516
xor eax, eax
mov byte [eax + 0x101ef990], al
inc eax
cmp eax, 0x100
jl 0x1004c4fe
mov dword [0x101efa90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x101ef990
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1004c5a7
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 0x1004c57a
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 0x1004c548
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1004c620
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 0x1004c673
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 0x1004c65a
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