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

Disassembly:
mov eax, 0x100614f9
call fcn.1005fa24
sub esp, 0x18
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
je 0x1003e1b9
push ecx
push ecx
push dword [ebp + 0x14]
mov ecx, edx
call fcn.100056a3
jmp 0x1003e264
mov dword [ebp - 0x1c], 0x3170
cmp dword [ebp - 0x1c], 0x33ae
jle 0x1003e225
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
and dword [ebp - 0x20], 0
mov eax, edi
cdq
idiv ebx
lea edi, [edx + esi]
mov esi, dword [ebp - 0x20]
mov eax, edi
mov ecx, 0x1007cff8
xor eax, esi
cdq
push edx
push eax
call fcn.10002e68
inc esi
cmp esi, 0x6c79
jl 0x1003e1e4
mov esi, dword [ebp - 0x18]
inc ebx
mov edi, dword [ebp - 0x14]
cmp ebx, 0x2c82
jl 0x1003e1d5
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x609
jl 0x1003e1d3
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x32f0
jl 0x1003e1ce
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x3025
jge 0x1003e241
mov edx, str.wdpgmwxcc_eeouexivr_vvckl_gdmb_igki_chhu
mov ecx, 0x1007cff8
call fcn.100050b8
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ecx], eax
cmp dword [ecx], 0
je 0x1003e252
mov eax, dword [ecx]
mov eax, dword [edx]
mov eax, dword [edx]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004012d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov byte [esp + 4], dl
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
push esi
push edi
test dl, dl
je 0x10040230
mov dword [esp + 0x20], 0x272a
cmp dword [esp + 0x20], 0x273e
jle 0x100401e6
xor edi, edi
xor esi, esi
mov dword [esp + 0x1c], esi
xor eax, eax
mov dword [esp + 0x18], 0xb3
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov eax, esi
lea ecx, [esp + 0x28]
and eax, ebx
xor eax, edi
cdq
push edx
push eax
call fcn.10001af4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10040199
mov eax, dword [eax]
push eax
call fcn.10048e5f
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.1000330e
inc ebx
cmp ebx, 0x285a
jl 0x1004017d
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], esi
dec dword [esp + 0x18]
jne 0x10040177
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0x2997
jl 0x10040169
inc edi
cmp edi, 0x3837
jl 0x10040163
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x20], 0x2630
jge 0x100401fb
push str.qri_mbpfj_inpt_jimi_yqqlfhes_hoq_ipbdenx_jrmq_qgrssh_coxkmnojz
call fcn.10048e5f
pop ecx
mov esi, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [eax]
cmp ecx, eax
mov ecx, dword [ebp + 0x18]
setge dl
mov dword [ecx], edx
cmp dword [ebx], 0xb0d58e7e
mov edx, dword [ecx]
sbb eax, eax
xor ecx, ecx
neg eax
imul edx, eax
mov eax, dword [esi]
cmp edx, eax
mov eax, dword [ebp + 8]
setne cl
mov dword [eax], ecx
jmp 0x1004023a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040588
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov eax, 0x100615ec
call fcn.1005fa24
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x18], dl
test dl, dl
je 0x10040607
mov esi, dword [ebp + 0x10]
mov dword [esi], ebx
jmp 0x100405f1
mov dword [ebp - 0x1c], 0x8f43
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], bl
je 0x100405cf
push 0x12cf
push ecx
push 1
mov edx, 0x3a7d
call fcn.1003f90a
add esp, 0xc
push ecx
push 0x5d7d
push 0x11c7
push ebx
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.100402a8
add esp, 0x20
inc dword [esi]
cmp dword [esi], 1
jle 0x100405ab
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 0x2932
cmp dword [ebp - 0x20], 0x2a8d
jle 0x1004065f
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov ecx, edi
mov ebx, esi
mov esi, dword [ebp - 0x24]
shl ebx, cl
mov eax, ebx
mov ecx, 0x1007cff8
xor eax, esi
cdq
push edx
push eax
call fcn.10002e68
inc esi
cmp esi, 0x7792
jl 0x1004062a
mov esi, dword [ebp - 0x1c]
inc edi
push 0
pop ebx
cmp edi, 0x6425
jl 0x1004061e
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x481a
jl 0x1004061c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x20], 0x26f7
jge 0x100405f6
mov edx, str.yid_dcsrp_yzykw
mov ecx, 0x1007cff8
call fcn.100050b8
jmp 0x100405f6
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5af008], 0x8088405
inc edx
mov dword [ebx + 0x5af008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cb9c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cbcd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cbb5
add dl, dl
jne 0x41cbd8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc29
xor eax, eax
add dl, dl
jne 0x41cbe5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ccc6
add dl, dl
jne 0x41cbf4
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc0a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc15
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cc1f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cbc4
mov eax, 1
add dl, dl
jne 0x41cc37
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc42
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc2e
sub eax, ebx
mov ebx, 1
jne 0x41cc75
mov ecx, 1
add dl, dl
jne 0x41cc5b
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc66
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc52
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbc4
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc8c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc97
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc83
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbc4
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cce7
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 0x41cbc4
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x59856f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e161
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e14a
test esi, esi
jbe 0x41e161
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ac
test eax, eax
jne 0x41e13c
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e161
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e119
jmp 0x41e161
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e161
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x598576
ret
Function at 0x41e9a4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x598f53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41e9df
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e9f8
lea eax, [ebp - 0x10]
mov edx, dword [0x5b1248]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ea0b
lea eax, [ebp - 0x10]
mov edx, dword [0x5b1248]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ea17
adc edx, 0
mov edx, dword [edx*4 + 0x5b00d8]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41eb25
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41eb18
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41eb18
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d9c
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41eb18
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41eb18
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41eb18
cmp dx, 0x150
ja 0x41eb18
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d3c
test eax, eax
je 0x41eb18
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41eb18
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41eb3d
inc ebx
cmp ebx, 0x19
jne 0x41e9d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x598f5a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4057b0
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x85514c]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x4057d2
push 0
push 0
call edi
mov eax, dword [0x85514c]
cmp esi, 0x845013
jne 0x4057e9
mov eax, dword [0x80e930]
add eax, 0xa231
mov dword [0x85514c], eax
cmp eax, 0x141
jne 0x405804
mov dword [0x80ffe8], 0xec58acac
mov dword [0x80ffec], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x4057c0
call fcn.00405530
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x52d0a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd6000]
push edi
jmp 0x52d0ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52d0c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d0b0
mov eax, 1
add ebx, ebx
jne 0x52d0d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52d0e4
jne 0x52d103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d103
dec eax
add ebx, ebx
jne 0x52d0f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52d0c8
add ebx, ebx
jne 0x52d0ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52d155
xor ecx, ecx
sub eax, 3
jb 0x52d11b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52d18a
sar eax, 1
mov ebp, eax
jmp 0x52d126
add ebx, ebx
jne 0x52d126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d0f4
inc ecx
add ebx, ebx
jne 0x52d134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d0f4
add ebx, ebx
jne 0x52d141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52d136
jne 0x52d152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52d136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52d174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52d166
jmp 0x52d0b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52d174
add edi, ecx
jmp 0x52d0b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52d192
cmp byte [edi], 0x11
jne 0x52d192
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52d197
lea edi, [esi + 0x126000]
mov eax, dword [edi]
or eax, eax
je 0x52d20f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x181614]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x181790]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52d1c4
mov ecx, edi
jns 0x52d1f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x181794]
or eax, eax
je 0x52d209
mov dword [ebx], eax
add ebx, 4
jmp 0x52d1e1
call dword [esi + 0x1817a4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52d240
cmp al, 0xef
ja 0x52d233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52d215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52d222
mov ebp, dword [esi + 0x181798]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52d274
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x43aed8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
test edx, edx
je 0x43aeee
test eax, eax
jne 0x43aef2
xor eax, eax
jmp 0x43af15
cmp eax, edx
jne 0x43aefa
mov al, 1
jmp 0x43af15
xor ecx, ecx
cmp esi, ecx
jle 0x43af13
mov bl, byte [eax]
xor byte [edx], bl
mov bl, byte [edx]
xor byte [eax], bl
mov bl, byte [eax]
xor byte [edx], bl
inc ecx
inc edx
inc eax
cmp esi, ecx
jg 0x43af00
mov al, 1
pop esi
pop ebx
pop ebp
ret

Function at 0x456670
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x456700
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x456700
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4566b3
test edx, 3
jne 0x4566a2
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4566ad
jmp 0x4566b3
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4566b3
cmp dword [ecx - 8], 1
je 0x4566bd
mov edx, ebx
or edx, 3
call fcn.004631c4
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4566cf
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00462a78

Function at 0x45670c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x45679c
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x45679c
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x45674f
test edx, 3
jne 0x45673e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x456749
jmp 0x45674f
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x45674f
cmp dword [ecx - 8], 1
je 0x456759
mov edx, ebx
or edx, 3
call fcn.004631c4
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x45676b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00462a78

Function at 0x480bec
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x480bf2
ret
Function at 0x4a5b18
Capabilities:
Encode data using xor

Disassembly:
inc edi
inc dword [eax]
add byte [eax], al
add byte [eax + eax], ah
add byte [eax], al
add byte [eax + eax], cl
add byte [eax], al
and byte [edi - 1], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
mov al, 0xd
add byte [eax], al
add byte [edi + eax*2], ch
inc dword [eax]
add byte [eax], al
add byte [ecx], dh
add byte [eax], al
add byte [eax + 0xd0], ah
cmp al, byte [edi - 1]
add byte [eax], al
add byte [eax], al
xor al, byte [eax]
add byte [eax], al
mov al, byte [0xa4]
or ecx, dword [eax - 1]
add byte [eax], al
add byte [eax], al
xor eax, dword [eax]
add byte [eax], al
loopne 0x4a5afa
add byte [eax], al
add byte [eax + 0xff48], dh
add byte [eax], al
xor al, 0
add byte [eax], al
push eax
sahf
add byte [eax], al
add byte [ebp + 0x49], ah
inc dword [eax]
add byte [eax], al
add byte [0xd0000000], dh
salc
add byte [eax], al
add byte [edx + ecx*2], al
inc dword [eax]
add byte [eax], al
add byte [esi], dh
add byte [eax], al
add al, al
mov dl, 0
add byte [eax], al
fisttp dword [edx - 1]
add byte [eax], al
add byte [eax], al
Function at 0x405e90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f15b
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.0048408a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405f12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481f9c
mov eax, dword [eax]
push 0x4acc58
push eax
call fcn.004741e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00484315
test bl, bl
je 0x405f12
push 0x4acc58
lea ecx, [esp + 0xc]
call fcn.004846a5
push 0x4acc64
lea ecx, [esp + 0xc]
call fcn.004846a5
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 0x405f4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00484315
jmp 0x406019
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 0x405fd2
lea edx, [esp + 0x7c]
push 0x4acc60
push edx
call fcn.004741e4
add esp, 8
test eax, eax
je 0x405fd2
lea eax, [esp + 0x7c]
push 0x4acc5c
push eax
call fcn.004741e4
add esp, 8
test eax, eax
je 0x405fd2
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 0x405f62
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.00484315
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 0x406820
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 0x406882
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 0x406890
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f1db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4bbfd8]
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 0x4069c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4068f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484315
xor eax, eax
jmp 0x406a3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00484452
push esi
lea ecx, [esp + 0xc]
call fcn.004846e1
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 0x406a1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00406820
test eax, eax
jne 0x406a1d
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 accept
mov ecx, edi
call fcn.00406820
test eax, eax
jne 0x406a1d
lea eax, [esp + 0x14]
push 0x4acc74
push eax
call fcn.00475280
mov esi, eax
add esp, 8
test esi, esi
jne 0x4069fc
lea ecx, [esp + 0x14]
push 0x4acc70
push ecx
call fcn.00475200
mov esi, eax
add esp, 8
test esi, esi
jne 0x4069fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4069ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00484402
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40690e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484315
xor eax, eax
jmp 0x406a3f
mov byte [esi], 0
push 0x4acc6c
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.00484315
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