joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52e684
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x403dab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x52b0c4]
call 0x66df20
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x403d89
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0052e5c8
mov eax, dword [ebp - 0xc]
call sym.imp.KERNEL32.dll_HeapFree
xor eax, eax
push ebp
push 0x403d6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x52e74e
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0052e13c
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
pop ecx
call 0x658c64
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x52e706
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d73
mov eax, dword [ebp - 0xc]
call sym.imp.KERNEL32.dll_TlsGetValue
ret
Function at 0x58ece0
Capabilities:
Encode data using xor

Disassembly:
imul ebx, dword [eax - 0x6c], 0xb9315da8
or ecx, dword ss:[ecx + esi*2]
push ebx
inc edx
xchg edi, eax
cmp byte [edi + 0x4e194ce9], dh
push 0x43
leave
push esp
inc eax
in al, dx
push edi
adc byte [ebx + 0x71], bl
xchg esi, eax
adc al, 0x6f
salc
in eax, dx
mov cl, 0x9f
invalid
sub dword [eax + 0x32], 0xffffff9d
cmp eax, dword [ebx + 0x1923ee4]
cmp dword [edi + esi*2], 0xfffffffa
lahf
jge 0x58ec4f
xchg edi, eax
fisttp word [ecx]
sal byte [ecx - 0x5848768], 1
cdq
mov dword [0xbbf86e04], eax
sbb eax, 0x41bd4d6b
salc
cmp edx, dword [edx + 0x4cf45b52]
sbb al, 0x5b
jnp 0x58ed14
rcr byte [ecx + 0x1ca9f6e8], 1
cmp byte [ebp + 0x30fc9aa3], 0x61
push ebx
and al, byte [edx - 0x6011c84b]
hlt
sub byte [eax], cl
dec ebx
pop ebp
push 0x1f
mov ebp, 0x7cfbb8db
xor esp, dword [ebx + ebp]
pop ebp
dec ebp
jecxz fcn.0058ece0
lahf
popfd
or dword [esi + edi*8 + 0x5ce623a6], ecx
jg 0x58ed13
cmpsd dword [esi], dword es:[edi]
jg 0x58ecc9
jb 0x58ec83
dec esp
pop ss
pushfd
add ch, byte [edi + edx - 0x2e921a44]
pushfd
mov byte [0x7ad65f65], al
mov ah, 0x9f
or eax, 0xad7b6ce6
push es
outsd dx, dword [esi]
test dword [ebx - 0x75], esi
das
mov al, 0xe0
lea ecx, [edi]
lds esi, [eax - 0x15]
jnp 0x58ecf7
into
fnstsw word [ebx + esi*2]
xor eax, 0xdeaf528c
test byte [esi + 0x3b526b5a], 2
sub al, 0xcf
ljmp 0x6bdf

Function at 0x5c17c8
Capabilities:
Encode data using xor

Disassembly:
je 0x5c17f8
jge 0x5c1721
cmp esp, esp
fldcw word [eax]
call 0x9d450e4b
push esi
adc al, 0x66
or byte [eax - 0x7d], al
jne 0x5c17f0
sbb al, 0x99
add dword [ecx + 0x2e], eax
sbb eax, 0x2bd3a929
out dx, al
lodsb al, byte [esi]
dec esp
ja 0x5c178f
jl 0x5c17bd
or al, 0x86
dec ecx
jae 0x5c177f
sti
daa
sbb ecx, ebx
or al, byte [esp + edi*2]
and bl, byte [eax + 0x6a]
add bh, bl
add bh, bl
adc eax, 0x156cda49
rol dword [eax], 1
pop edx
pop eax
add byte [edx + 0x58], bl
fisub word [edi - 0x5adb958d]
out 0xe7, al
call 0xa7151071
invalid
Function at 0x5cbb78
Capabilities:
Encode data using xor

Disassembly:
hlt
cmpsb byte [esi], byte es:[edi]
out 0xfc, eax
jp 0x5cbb36
sal dword [edi + 0x7e199158], 0x31
or eax, 0x41961955
pop edx
pop ebp
sbb ebp, dword [esi]
iretd
sbb dword [esi + 0x1b5d5a41], edx
iretd
mov dword [edx], eax
fisub dword [edx - 0x5412249f]
popal
loop 0x5cbb08
rcl dword [ecx]
dec edx
sub eax, 0x5c3bda5d
pop esp
daa
inc edx
sub edx, esi
add ecx, esp
sbb eax, 0xc9a2a21f
shl dword [edi + 0x5ab21958], 1
add dword [edx - 0x56], edi
jnp 0x5cbb16
and al, 0xd8
out dx, eax
jns 0x5cbbbb
jns 0x5cbb6d
pop ds
lahf
fstp qword [ebx]
pop ecx
stosb byte es:[edi], al
adc eax, 0xac206b3f
mov eax, dword [0xc02f9fbf]
jne 0x5cbaef
mov edi, 0x75c02f9f
mov cl, bh
stc
int1
sar byte [eax + esi], cl
pop esp
ficomp dword [edi + 0x39446d9d]
cmp eax, 0x5f194546
pop ecx
mov eax, 0x7c94b8e
pop edi
jp 0x5cbb24
lodsd eax, dword [esi]
scasd eax, dword es:[edi]
les ebp, [ecx - 0x7a62027c]
ljmp 0xebf8
lodsb al, byte [esi]
shr dword [edi + 0x7de9eb99], cl
invalid
lds ecx, [ecx - 0x79]
pop ss
jnp 0x5cbc17
js 0x5cbbad
inc ebp
mov cl, ah
pop eax
out dx, eax
cmc
cmp byte [ecx - 0x3a862a1f], bh
arpl word [0x15fa08f5], si
pop eax
push ebx
jmp 0x5cbb61
adc eax, 0xca9bff11
and ch, byte [eax]
salc
push 0xe4fdea4c
invalid
Function at 0x61624c
Capabilities:
Encode data using xor

Disassembly:
sub dword [ebx + 0x27f923a9], esp
mov dword [0x27f923a9], eax
pushal
fmul dword [eax - 0x9a8480e]
pushal
mov cl, 0x43
xlatb
or al, 0xf8
push edx
pop es
je 0x616238
mov bh, 0xb
mov edx, 0xd1fe39aa
or ebx, dword [esi]
outsb dx, byte [esi]
js 0x616237
xchg ebx, eax
xchg esp, eax
mov byte [0x83afb284], al
loope 0x61625f
scasd eax, dword es:[edi]
and ecx, 0xfffffffc
push edx
clc
cmc
pop ebp
and dword [edi + 0x1ccbf3f8], ecx
fadd qword [edx]
aad 0x58
and edi, dword [edx]
cmp byte [ebx], ch
test esi, edx
or eax, dword [esi + ebp*2]
popfd
mov ch, 0xba
shl byte [edx - 0x4e], cl
mov edi, 0xb3d59ea3
mov esp, 0x4590ad14
and dh, bh
cmpsb byte [esi], byte es:[edi]
inc eax
dec esi
mov al, 0x84
xlatb
test al, 0x29
push cs
or byte [bp + 0x45], dl
push ecx
inc ebp
clc
xchg byte [edx - 4], al
adc byte [esi - 0x7f474f34], bl
sahf
fcomi st(3)
out 0xae, al
inc esp
xchg esi, eax
out dx, al
sub esp, esi
sub dword [edi], esi
xor byte [edi + 5], 0x1f
aaa
mov dword [edi], ecx
mov esi, 0x55767370
movsx esi, byte [eax + 0x73]
jbe 0x616313
fst qword [ebx + 0x40]
mov al, byte [0x1462e582]
ror dword [edi + 0x30cd0449], cl
jae 0x6162ad
and ah, cl
loop 0x6162ea
inc edx
adc eax, dword [edx]
aad 0x12
cmpsd dword [esi], dword es:[edi]
adc al, al
mov al, byte [0x3a1ae22f]
push esp
jecxz 0x6162d6
adc ah, byte [edi + 0x2fa0c010]
loop 0x6162f8
cmp dl, byte [ebx - 0xc]
mov ebp, 0xe786b25a
nop
dec esp
jb 0x61635a
outsd dx, dword [esi]
mov ah, 0xcf
mov eax, 0x9daefdd1
xchg esp, eax
mov ch, 0x66
push esi
ret
ret 0x1ce1
jae 0x616327
adc eax, 0xda1fc5cb
jo 0x616392
lds ebx, [edi]
fidiv dword [eax + 0x76]
ja 0x6162b8
scasd eax, dword es:[edi]
cwde
in al, 0x74
outsd dx, dword [esi]
lds esp, [esi - 0x429a105]
salc
sti
push esp
dec edi
push ss
or dword [edx - 0x18359702], edx
clc
dec esp
jmp esp
inc edx
call 0xd65c083a
ret 0xbc53
adc byte [ebx + 0x75950a81], al
inc ecx
dec esp
pop eax
jo 0x616397
fiadd word [ebp - 0x140c1b01]
loop 0x6162f5
arpl word [ebp + 0x25b12be4], bp
or dh, byte [esi]
sbb ah, bl
jno 0x616346
xchg edi, eax
js 0x616317
invalid
adc dword [edx], edi
in eax, dx
adc dword [edx + 0x55686a9c], ebp
pushfd
push 0x68
push ebp
out dx, al
nop
jne 0x61639c
or al, 0xf5
xchg ecx, eax
mov ah, 0x19
cmp eax, 0x4afbc510
aad 0x7b
sar dword [ecx + 0x36a52f81], cl
mov cl, 0x20
aad 0x96
xor dword [0xe5248767], 0xffffffd2
fucom st(1)
invalid
Function at 0x61a67c
Capabilities:
Encode data using xor

Disassembly:
inc ebx
jecxz 0x61a6b1
mov word [edi], cs
sbb byte [ebx - 0x7df23341], dh
test dword [edx - 0x774e8818], 0xf37bc2b1
and dh, byte [ebx + 0x541a3cce]
mov fs, word [edx - 0x2b]
fild word [ecx + 0x47823566]
leave
or cl, byte [ebx + 0x32]
lcall 0xf920, 0xfae143d2
cmp eax, 0x1c2d8dc9
leave
lea ebp, [0x8832de1c]
ja 0x61a6bd
fidiv word [edx]
mov byte [edi + 7], dh
and ebp, ebp
mov edi, 0xf46ebd25
mov esi, 0x6da961be
insd dword es:[edi], dx
and eax, 0xdcdd8586
mov bl, 0x7c
or dh, dh
xor esp, edx
sub bh, byte [edi - 0x778082cf]
test ebp, ebx
fdiv qword [ebx + 0x31f60a7c]
aam 0x2a
mov edi, 0x887f7d31
in al, 0xff
and al, 0xd9
mov eax, 0x9472e071
in eax, 0x55
push edx
lds esp, [edi - 0x5ea52f43]
jge 0x61a6ad
lodsb al, byte [esi]
out 0xda, al
test dword [ebx], edi
popfd
rcl byte [eax + ebx*2], 0xac
cmp dh, byte [eax - 0x7d1a742b]
in eax, 0xa0
dec ebp
jb 0x61a6c4
adc byte [ebx + 0x34], bl
test byte [edx], cl
add bh, dh
stc
fcomp qword [edi + 0x2d88100]
pushfd
and al, 0x7d
aam 0xad
sub eax, 0xa13a64f1
cwde
xchg edx, eax
cmp esp, dword [edi + 0x429a5e5b]
pushal
inc eax
push es
mov dl, 0x98
js 0x61a76d
push edx
je 0x61a772
hlt
xor edx, dword [0x4b6432e0]
push eax
aaa
lea edi, [ecx]
jg 0x61a6c1
or dword [eax + 0x39], esp
lcall 0xd74b, 0xb8b6e4f7
or eax, edx
cli
cmp eax, 0x36a8a195
mov bh, 0x31
fdivr qword [0x7161752f]
cld
sub eax, 0x550ff951
wait
pop esi
insb byte es:[edi], dx
jbe 0x61a6f9
mov ss, word [ebx + esi*2]
sub edi, dword [edi]
clc
popfd
jo 0x61a733
jmp dword [ecx]
insb byte es:[edi], dx
sal esi, 1
pop ds
rol dh, 1
push esp
dec ebx
mov ebx, 0x1c3a200
mov al, 0xad
cmp al, 0xee
retf

Function at 0x61ebc8
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0x16
push 0xffffffffffffff8b
loop 0x61eb07
cmp eax, 0x12a8249f
xor byte [ecx], ch
mov dword [0xceabc249], eax
je 0x61ead7
adc dl, byte [0x4301b654]
push esp
mov dh, 1
inc ebx
mov eax, dword [0x4dec276c]
mov al, byte [0xf4f08655]
mov byte [ecx + esi*8 - 0xa24063c], 0x6a
insb byte es:[edi], dx
mov ebp, ebx
add dl, byte [ebp - 5]
and al, 0x56
aaa
adc esi, eax
pop edx
jb 0x61eac1
invalid
insb byte es:[edi], dx
pushal
mov al, 0x97
mov edi, 0x55407626
sbb al, 0x36
adc eax, 0xe4b1e64
add al, 0xa1
mov dword [ebx + 0x18645ed2], edi
pop ecx
outsb dx, byte [esi]
xchg ebp, eax
in al, 5
invalid
aam 2
ja 0x61eaf5
cmp dl, dh
sub eax, dword [eax]
push 0xffffffffffffffe7
mov bh, byte [esi + 0x3b]
ljmp 0x93e8
jno 0x61ec06
arpl word [ebx + edx*2 - 0x6b51c9c5], si
mov bl, 0x3f
jecxz 0x61ec20
mov al, 0x95
jg 0x61eb2d
mov eax, dword [0x8c4852b1]
inc esp
and al, dl
cmp al, 0x78
cmp dword [edx + 0x32], ebp
lodsd eax, dword [esi]
mov byte [0x4db468a2], al
shl ah, cl
stc
stosb byte es:[edi], al
shr byte [esi - 0x6f898e04], 0x72
jb 0x61eb99
jb 0x61eb99
sub dword [edi + 0x39231bf1], esi
in al, dx
sbb esp, dword [ebx]
cmp esp, ebp
aam 0x48
pop es
not si
and edi, esp
xor bl, byte [eax + 0x70]
push ebp
adc al, byte [ebp - 0x13]
add eax, 0xce81a1b1
ror byte [ebp - 0x3b37160e], cl
invalid
pop ebp
sub dl, 0xe6
push edx
jecxz 0x61ebcd
iretd
hlt
Function at 0x624450
Capabilities:
Encode data using xor

Disassembly:
aaa
and al, 4
adc eax, dword [0x41e5a215]
and byte [ebx + 0x1a7160e], bh
push ss
cmpsd dword [esi], dword es:[edi]
add dword [0x96b28e97], esi

Function at 0xa8a0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a8a200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa8a0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8a0c2
add dl, dl
jne 0xa8a0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8a134
xor eax, eax
add dl, dl
jne 0xa8a0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa8a1d5
add dl, dl
jne 0xa8a0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa8a108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa8a113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa8a11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa8a12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa8a0cd
mov eax, 1
add dl, dl
jne 0xa8a142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa8a14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa8a139
sub eax, ebx
mov ebx, 1
jne 0xa8a180
mov ecx, 1
add dl, dl
jne 0xa8a166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa8a171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa8a15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa8a0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa8a197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa8a1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa8a18e
cmp eax, 0x7d00
jae 0xa8a1c5
cmp eax, 0x500
jb 0xa8a1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa8a0cd
cmp eax, 0x7f
ja 0xa8a1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa8a0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa8a1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa8a0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4820d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5445fb
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.00535f7b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x482152
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00532ba4
mov eax, dword [eax]
push 0x95d288
push eax
call fcn.00511c14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00536206
test bl, bl
je 0x482152
push 0x95d288
lea ecx, [esp + 0xc]
call fcn.005365e2
push 0x960e40
lea ecx, [esp + 0xc]
call fcn.005365e2
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 0x48218e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00536206
jmp 0x482259
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 0x482212
lea edx, [esp + 0x7c]
push 0x960e3c
push edx
call fcn.00511c14
add esp, 8
test eax, eax
je 0x482212
lea eax, [esp + 0x7c]
push 0x960e38
push eax
call fcn.00511c14
add esp, 8
test eax, eax
je 0x482212
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 0x4821a2
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.00536206
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 0x4834b0
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 0x483512
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 0x483520
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x54475b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x96eb88]
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 0x483658
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x483586
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00536206
xor eax, eax
jmp 0x4836cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0053638f
push esi
lea ecx, [esp + 0xc]
call fcn.0053661e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x960e78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4836ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004834b0
test eax, eax
jne 0x4836ad
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.004834b0
test eax, eax
jne 0x4836ad
lea eax, [esp + 0x14]
push 0x960e54
push eax
call fcn.00512dd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x48368c
lea ecx, [esp + 0x14]
push 0x960e50
push ecx
call fcn.00512d50
mov esi, eax
add esp, 8
test esi, esi
jne 0x48368c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x48368f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0053633f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48359e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00536206
xor eax, eax
jmp 0x4836cf
mov byte [esi], 0
push 0x960e4c
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.00536206
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 0x499240
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 0x4992ae
cmp si, 0x69
ja 0x4992ae
add esi, 0xffd0
cmp si, 0x11
je 0x49927e
push 0x11
call edi
test ax, ax
jge 0x49927e
or esi, 0x2000
cmp si, 0x10
je 0x499293
push 0x10
call edi
test ax, ax
jge 0x499293
or esi, 0x4000
cmp si, 0x12
je 0x4992a8
push 0x12
call edi
test ax, ax
jge 0x4992a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4992bb
mov esi, 0xbd
jmp 0x49926f
cmp si, 0x6e
jne 0x4992c8
mov esi, 0xbe
jmp 0x49926f
cmp si, 0x6f
jne 0x499269
mov esi, 0xbf
jmp 0x49926f

Function at 0x49ab00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x9809c0]
xor edx, edx
cmp eax, edx
jne 0x49ab26
xor eax, eax
mov byte [eax + 0x9808c0], al
inc eax
cmp eax, 0x100
jl 0x49ab0e
mov dword [0x9809c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x9808c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49abb7
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 0x49ab8a
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 0x49ab58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49ac30
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 0x49ac83
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 0x49ac6a
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 0x4a16c0
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 0x4a1858
cmp ebp, ebx
jle 0x4a1858
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x4a171e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4a1725
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4a1734
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4a173b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00535f47
add esp, 4
cmp eax, ebx
je 0x4a175c
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.00535f47
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 0x4a184e
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 0x4a1835
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4a1821
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4a1816
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 0x4a1824
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4a1824
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4a17c0
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 0x4a17b1
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

Function at 0x4a3880
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.0053783d
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret