joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x452829
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x452822
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x45283d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004521d4
test bl, bl
jne 0x452910
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x456bd4
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x452874
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x452888
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004526e8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4528ba
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x452869
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4528dd
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4528ee
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x452902
jmp 0x4529cb
cmp bl, 1
jne 0x4529cb
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x456c2e
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x452930
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x452944
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004526e8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x452976
sub ebx, 6
inc dword [ebp - 8]
jne 0x452925
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x45299d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4529ae
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4529c2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00452258
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4530fc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov eax, ebx
call fcn.004043e4
push esp
push 0x105
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.00408afc
add esp, 0x108
pop ebx
ret
Function at 0x4ac8b8
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffde4
push 0xff
lea eax, [esp + 0x115]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xff
lea eax, [esp + 0x28]
push eax
push 0x4ac928
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4ac919
mov eax, dword [esp + 4]
mov dword [esp + 0x214], eax
xor eax, eax
mov dword [esp + 0x218], eax
fild qword [esp + 0x214]
fstp dword [esp]
wait
jmp 0x4ac91e
xor eax, eax
mov dword [esp], eax
fld dword [esp]
add esp, 0x21c
ret

Function at 0x4ad01c
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffffde4
push 0xff
lea eax, [esp + 0x115]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xff
lea eax, [esp + 0x28]
push eax
push 0x4ad08c
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x4ad07d
mov eax, dword [esp + 4]
mov dword [esp + 0x214], eax
xor eax, eax
mov dword [esp + 0x218], eax
fild qword [esp + 0x214]
fstp dword [esp]
wait
jmp 0x4ad082
xor eax, eax
mov dword [esp], eax
fld dword [esp]
add esp, 0x21c
ret
Function at 0x5ec04a
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
mov ebx, 0x4c11db7
mov edx, 0
mov eax, edx
shl eax, 0x18
shl eax, 1
jae 0x5ec060
xor eax, ebx
shl eax, 1
jae 0x5ec066
xor eax, ebx
shl eax, 1
jae 0x5ec06c
xor eax, ebx
shl eax, 1
jae 0x5ec072
xor eax, ebx
shl eax, 1
jae 0x5ec078
xor eax, ebx
shl eax, 1
jae 0x5ec07e
xor eax, ebx
shl eax, 1
jae 0x5ec084
xor eax, ebx
shl eax, 1
jae 0x5ec08a
xor eax, ebx
mov dword [edx*4 + 0x4f06ac], eax
inc edx
cmp edx, 0x100
jb 0x5ec055
pop ebx
ret

Function at 0x5ec09c
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
enter 0, 0
push ebx
push esi
mov ebx, 0x4c11db7
mov eax, 0xffffffff
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
jecxz 0x5ec0cf
mov edx, 0xffffff00
xor ebx, ebx
rol eax, 8
xor al, byte [esi]
inc esi
mov bl, al
and eax, edx
xor eax, dword [ebx*4 + 0x4f06ac]
dec ecx
jne 0x5ec0bb
pop esi
pop ebx
leave
ret
Function at 0x949ef8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4649a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push 0xffffffffffffffff
push 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push edi
mov dword [esp + 0x14], esi
mov byte [esi + 4], 0
call fcn.00936ee8
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
mov dword [esp + 0x18], 0
call fcn.009496a8
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x951608
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, 0x160
push esi
mov esi, ecx
jb 0x951645
mov edx, dword [esp + 0xc]
mov dword [esi + 8], edx
cmp word [edx], 0x5a4d
jne 0x951645
mov ecx, dword [edx + 0x3c]
lea eax, [ecx + edx]
cmp eax, edx
jb 0x951645
add ecx, 0x120
cmp ebp, ecx
jb 0x951645
mov dword [esi + 0xc], eax
cmp dword [eax], 0x4550
je 0x95164c
pop esi
xor al, al
pop ebp
ret 8
add eax, 4
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
add eax, 0x18
mov dword [esi + 0x14], eax
movzx ecx, word [edx + 0x10]
add ecx, eax
push ebx
mov ebx, eax
mov dword [esi + 0x18], ecx
cmp word [ebx], 0x10b
je 0x951679
pop ebx
pop esi
xor al, al
pop ebp
ret 8
push edi
movzx edi, word [edx + 2]
mov edx, dword [esp + 0x14]
sub edx, ecx
add edx, ebp
mov eax, 0xcccccccd
mul edx
shr edx, 5
cmp edi, edx
ja 0x9516cc
xor edx, edx
test edi, edi
jle 0x9516b7
lea eax, [ecx + 0x14]
mov ecx, dword [eax - 4]
test ecx, ecx
je 0x9516a8
cmp dword [eax], ebp
jae 0x9516cc
mov ecx, dword [esi + 0x10]
movzx ecx, word [ecx + 2]
inc edx
add eax, 0x28
cmp edx, ecx
jl 0x95169d
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebx + 0x3c]
jb 0x9516c8
push eax
mov ecx, esi
call fcn.009514d8
dec eax
cmp eax, ebp
jb 0x9516d5
pop edi
pop ebx
pop esi
xor al, al
pop ebp
ret 8
mov edx, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi + 4], ebp
mov dword [esi], edx
pop esi
mov al, 1
pop ebp
ret 8
Function at 0x95b721
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4652ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x148]
mov dword [esp + 0xc], esi
call fcn.0095f068
xor ebx, ebx
lea ecx, [esi + 0x168]
mov dword [esp + 0x54], ebx
call fcn.0095f138
push ebx
mov byte [esp + 0x58], 1
call dword [fcn.0047d0ac]
mov ecx, esi
mov dword [esi + 0x13c], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x34], ebx
call fcn.0095abf8
xor eax, eax
mov ecx, 0xb
lea edi, [esi + 0x2cc]
rep stosd dword es:[edi], eax
mov eax, dword [0x469b10]
push 0x104
lea edi, [esi + 0x43c]
push edi
push eax
call dword [fcn.0047d1c8]
push edi
call fcn.0095f6f8
push edi
call fcn.0095f728
push edi
lea ecx, [esi + 0x38]
push 0x42c9ec
push ecx
call dword [fcn.0047d24c]
add esp, 0x14
xor eax, eax
push 0x407ca4
lea edx, [esp + 0x30]
mov ecx, 0xf
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x18], 0xfffffff2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x190
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 3
mov byte [esp + 0x31], 2
mov byte [esp + 0x32], 1
mov byte [esp + 0x33], 0x31
call dword [fcn.0047d088]
mov edi, dword [0x47d06c]
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
mov dword [esi], eax
call edi
push 0x42c9e0
mov dword [esi + 4], eax
call dword [fcn.0047d2b4]
mov dword [esi + 0x308], eax
call dword [fcn.0047d334]
push 0x42c9d8
push 0x1001
push ebx
mov dword [esi + 0x438], eax
push eax
mov edi, dword [0x47d2b8]
call edi
mov edx, dword [esi + 0x438]
push 0x42c9d0
push 0x1002
push ebx
push edx
call edi
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x964436
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x964464
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x96446b
cmp ebx, dword [eax + 4]
jae 0x96446b
xor eax, eax
jmp 0x96465b
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x96447c
xor eax, eax
inc eax
jmp 0x96465a
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x964492
cmp ecx, edx
jae 0x9645d7
cmp dword [eax + 4], 0
je 0x96449b
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x964483
cmp dword [ebp + 8], 0
je 0x9644bd
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x9645d7
cmp eax, esi
jae 0x9645d7
mov eax, dword [0x46a230]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x9644e2
cmp dword [esi*4 + 0x46a238], edi
je 0x9645db
inc esi
cmp esi, eax
jl 0x9644d0
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x47d154]
test eax, eax
je 0x964657
cmp dword [ebp - 8], 0x1000000
jne 0x964657
test byte [ebp - 0xc], 0xcc
je 0x964560
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x964657
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x964657
cmp word [eax + 0x18], 0x10b
jne 0x964657
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x964657
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x964560
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x964560
test byte [ecx + 0x27], 0x80
jne 0x9645d7
push 1
push 0x46a278
call dword [0x47d158]
test eax, eax
jne 0x964474
mov ecx, dword [0x46a230]
test ecx, ecx
mov edx, ecx
jle 0x964594
lea eax, [ecx*4 + 0x46a234]
cmp dword [eax], edi
je 0x964594
dec edx
sub eax, 4
test edx, edx
jg 0x964588
test edx, edx
jne 0x9645c5
push 0xf
pop ebx
cmp ecx, ebx
jg 0x9645a1
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x9645b9
lea eax, [edx*4 + 0x46a238]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x9645a7
cmp ecx, 0x10
jge 0x9645c5
inc ecx
mov dword [0x46a230], ecx
push 0
push 0x46a278
call dword [0x47d158]
jmp 0x964474
xor eax, eax
jmp 0x96465a
test esi, esi
jle 0x964474
mov ebx, dword [0x47d158]
push 1
push 0x46a278
call ebx
test eax, eax
jne 0x964474
cmp dword [esi*4 + 0x46a238], edi
je 0x964631
mov eax, dword [0x46a230]
lea esi, [eax - 1]
test esi, esi
jl 0x96461f
cmp dword [esi*4 + 0x46a238], edi
je 0x96461b
dec esi
jns 0x96460f
test esi, esi
jge 0x96462f
cmp eax, 0x10
jge 0x96462a
inc eax
mov dword [0x46a230], eax
lea esi, [eax - 1]
jmp 0x964631
je 0x964649
xor ecx, ecx
test esi, esi
jl 0x964649
lea eax, [ecx*4 + 0x46a238]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x964637
push 0
push 0x46a278
call ebx
jmp 0x964474
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x98050d
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x98052d
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x98051a
ret

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

Disassembly:
cmp dword [0x422ebc], 0
push esi
jne 0xa41e19
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0xa41df3
mov dword [ecx*4 + 0x422eb8], eax
inc ecx
cmp ecx, 0x100
jl 0xa41dee
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0xa41e4a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422eb8]
xor eax, esi
inc ecx
dec edx
jne 0xa41e2c
pop edi
not eax
pop esi
ret 0xc
Function at 0x415a75
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00415c25
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x415b73
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x415b16
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x415b59
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x415b2d
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x415b48
test al, 0x40
je 0x415b3f
mov ecx, dword [edi + 0x20]
jmp 0x415b46
test al, 0x80
je 0x415b59
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x415b59
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x415ae5
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4358a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a54eb
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.0049798c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435922
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049536a
mov eax, dword [eax]
push 0x8341fc
push eax
call fcn.00487f24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00497c17
test bl, bl
je 0x435922
push 0x8341fc
lea ecx, [esp + 0xc]
call fcn.00497ff3
push 0x837ec8
lea ecx, [esp + 0xc]
call fcn.00497ff3
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 0x43595e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00497c17
jmp 0x435a29
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 0x4359e2
lea edx, [esp + 0x7c]
push 0x837ec4
push edx
call fcn.00487f24
add esp, 8
test eax, eax
je 0x4359e2
lea eax, [esp + 0x7c]
push 0x837ec0
push eax
call fcn.00487f24
add esp, 8
test eax, eax
je 0x4359e2
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 0x435972
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.00497c17
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 0x436220
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 0x436282
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 0x436290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a556b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x840d6c]
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 0x4363c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4362f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00497c17
xor eax, eax
jmp 0x43643f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00497da0
push esi
lea ecx, [esp + 0xc]
call fcn.0049802f
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 0x43641d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00436220
test eax, eax
jne 0x43641d
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.00436220
test eax, eax
jne 0x43641d
lea eax, [esp + 0x14]
push 0x837edc
push eax
call fcn.004890d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4363fc
lea ecx, [esp + 0x14]
push 0x837ed8
push ecx
call fcn.00489050
mov esi, eax
add esp, 8
test esi, esi
jne 0x4363fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4363ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00497d50
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43630e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00497c17
xor eax, eax
jmp 0x43643f
mov byte [esi], 0
push 0x837ed4
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.00497c17
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 0x448da0
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 0x448e0e
cmp si, 0x69
ja 0x448e0e
add esi, 0xffd0
cmp si, 0x11
je 0x448dde
push 0x11
call edi
test ax, ax
jge 0x448dde
or esi, 0x2000
cmp si, 0x10
je 0x448df3
push 0x10
call edi
test ax, ax
jge 0x448df3
or esi, 0x4000
cmp si, 0x12
je 0x448e08
push 0x12
call edi
test ax, ax
jge 0x448e08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x448e1b
mov esi, 0xbd
jmp 0x448dcf
cmp si, 0x6e
jne 0x448e28
mov esi, 0xbe
jmp 0x448dcf
cmp si, 0x6f
jne 0x448dc9
mov esi, 0xbf
jmp 0x448dcf

Function at 0x44a5d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x851c30]
xor edx, edx
cmp eax, edx
jne 0x44a5f6
xor eax, eax
mov byte [eax + 0x851b30], al
inc eax
cmp eax, 0x100
jl 0x44a5de
mov dword [0x851c30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x851b30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44a687
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 0x44a65a
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 0x44a628
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44a700
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 0x44a753
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 0x44a73a
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