joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10055ed2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
fldz
xor eax, eax
push ebx
push ebp
push esi
push edi
fst dword [esp + 0x10]
fld dword [esp + 0x78]
lea edi, [esp + 0x1c]
fld1
mov esi, ecx
push 0xa
pop ecx
rep stosd dword es:[edi], eax
fadd st(1), st(0)
mov dword [esp + 0x14], esi
push 0xa
pop ecx
mov ebx, edx
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
fxch st(1)
mov dword [esp + 0x18], ebx
call fcn.10085860
xor edi, edi
mov ebp, eax
inc edi
sub edi, ebp
cmp edi, ebp
jg 0x1005603f
fld dword [esp + 0x74]
call fcn.10085860
fld dword [esp + 0x70]
mov dword [esp + 0x78], eax
call fcn.10085860
sub ebp, edi
inc ebp
lea ebx, [edi + eax]
test ebx, ebx
js 0x10056031
mov edi, dword [esp + 0x78]
test edi, edi
js 0x10056031
fstp st(0)
mov ecx, esi
fstp st(0)
call fcn.10055ade
dec eax
cmp ebx, eax
ja 0x10056029
mov ecx, esi
call fcn.10055ada
dec eax
cmp edi, eax
ja 0x10056029
push edi
push ebx
mov ecx, esi
call fcn.10055a94
mov ecx, dword [esp + 0x14]
mov edi, eax
call fcn.10055ad2
mov esi, dword [esp + 0x14]
add edi, eax
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.10055ad6
mov edx, eax
mov ecx, edi
call fcn.1005a584
cmp dword [esp + 0x64], 1
jne 0x10055fd9
fld qword [esp + 0x44]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x4c]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x54]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld qword [esp + 0x5c]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
jmp 0x10056019
mov eax, dword [esp + 0x44]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
adc dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
adc dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
adc dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
adc dword [esp + 0x38], eax
fld dword [esp + 0x10]
fld1
fadd st(1), st(0)
fxch st(1)
fst dword [esp + 0x10]
jmp 0x1005602f
fld1
fld dword [esp + 0x10]
fxch st(1)
inc ebx
sub ebp, 1
jne 0x10055f39
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
mov al, byte [esp + 0x68]
fdivrp st(1)
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], al
cmp ecx, 1
jne 0x1005607e
fld qword [esp + 0x1c]
fmul st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul st(1)
fstp qword [esp + 0x2c]
fmul qword [esp + 0x34]
fstp qword [esp + 0x34]
jmp 0x100560ca
fild qword [esp + 0x1c]
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
fmulp st(1)
call fcn.100859a0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
push ebx
mov ecx, esi
call fcn.10055ad6
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.1005a244
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x5c
ret 0xc
Function at 0x100560e9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
fldz
xor eax, eax
push ebx
push ebp
push esi
push edi
fst dword [esp + 0x10]
fld dword [esp + 0x78]
lea edi, [esp + 0x1c]
fld1
mov esi, ecx
push 0xa
pop ecx
rep stosd dword es:[edi], eax
fadd st(1), st(0)
mov dword [esp + 0x14], esi
push 0xa
pop ecx
mov ebx, edx
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
fxch st(1)
mov dword [esp + 0x18], ebx
call fcn.10085860
xor edi, edi
mov ebp, eax
inc edi
sub edi, ebp
cmp edi, ebp
jg 0x1005625a
fld dword [esp + 0x70]
call fcn.10085860
fld dword [esp + 0x74]
mov dword [esp + 0x78], eax
call fcn.10085860
sub ebp, edi
inc ebp
lea ebx, [edi + eax]
mov edi, dword [esp + 0x78]
test edi, edi
js 0x1005624c
test ebx, ebx
js 0x1005624c
fstp st(0)
mov ecx, esi
fstp st(0)
call fcn.10055ade
dec eax
cmp edi, eax
ja 0x10056244
mov ecx, esi
call fcn.10055ada
dec eax
cmp ebx, eax
ja 0x10056244
push ebx
push edi
mov ecx, esi
call fcn.10055a94
mov ecx, dword [esp + 0x14]
mov edi, eax
call fcn.10055ad2
mov esi, dword [esp + 0x14]
add edi, eax
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.10055ad6
mov edx, eax
mov ecx, edi
call fcn.1005a584
cmp dword [esp + 0x64], 1
jne 0x100561f0
fld qword [esp + 0x44]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x4c]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
fld qword [esp + 0x54]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld qword [esp + 0x5c]
fadd qword [esp + 0x34]
fstp qword [esp + 0x34]
jmp 0x10056230
mov eax, dword [esp + 0x44]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
adc dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
adc dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
adc dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
adc dword [esp + 0x38], eax
fld dword [esp + 0x10]
fld1
mov edi, dword [esp + 0x78]
fadd st(1), st(0)
fxch st(1)
fst dword [esp + 0x10]
jmp 0x1005624a
fld1
fld dword [esp + 0x10]
fxch st(1)
inc ebx
sub ebp, 1
jne 0x10056154
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
mov al, byte [esp + 0x68]
fdivrp st(1)
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], al
cmp ecx, 1
jne 0x10056299
fld qword [esp + 0x1c]
fmul st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x2c]
fmul st(1)
fstp qword [esp + 0x2c]
fmul qword [esp + 0x34]
fstp qword [esp + 0x34]
jmp 0x100562e5
fild qword [esp + 0x1c]
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
fmul st(1)
call fcn.100859a0
fild qword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
fmulp st(1)
call fcn.100859a0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
push ebx
mov ecx, esi
call fcn.10055ad6
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.1005a244
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x5c
ret 0xc
Function at 0x1005c85c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov esi, ecx
mov dword [esp + 0x20], edx
xor ebp, ebp
push 0x10
pop ecx
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x41c]
mov ebx, dword [edi + 0x418]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov dword [esi + 0x10], ebp
test edx, edx
je 0x1005c8af
cmp eax, ecx
ja 0x1005c8af
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ebp
cmp ebx, 8
jae 0x1005c8af
push 8
pop ebx
mov ecx, dword [edi + 0x424]
xor eax, eax
cmp dword [edi], ebp
sete al
neg ecx
sbb ecx, ecx
and ecx, eax
jne 0x1005c8cc
cmp ebx, 8
jae 0x1005c8cc
push 8
pop ebx
mov eax, dword [edi + 0x14]
push 2
pop edx
mov dword [esp + 0x10], edx
cmp eax, edx
ja 0x1005c8e3
xor edx, edx
inc edx
mov dword [esp + 0x10], edx
jmp 0x1005c900
cmp eax, 4
jbe 0x1005c900
push 0x10
pop edx
cmp edx, eax
sbb edx, edx
and edx, 4
add edx, 4
mov dword [esp + 0x10], edx
cmp eax, 0x100
ja 0x1005c911
cmp ebx, 8
ja 0x1005c911
mov dword [esp + 0x28], 1
test eax, eax
jne 0x1005c915
mov dword [esp + 0x28], ebp
add eax, eax
cmp dword [esp + 0x1c], eax
sbb eax, eax
not eax
and eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x1005c941
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], ebp
jne 0x1005c941
mov dword [esp + 0x28], eax
cmp ebx, edx
jbe 0x1005c9c6
mov eax, dword [edi + 0x420]
neg eax
sbb eax, eax
test dword [esp + 0x28], eax
je 0x1005c9c6
mov ecx, esi
call fcn.1006313c
mov dword [esp + 0x28], ebp
cmp dword [edi + 0x14], ebp
je 0x1005c993
lea ebx, [edi + 0x1a]
movzx eax, byte [ebx + 1]
mov ecx, esi
mov dl, byte [ebx - 2]
push eax
movzx eax, byte [ebx]
push eax
movzx eax, byte [ebx - 1]
push eax
call fcn.100630d8
mov ebp, eax
test ebp, ebp
jne 0x1005c993
mov eax, dword [esp + 0x28]
add ebx, 4
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi + 0x14]
jne 0x1005c964
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push 3
pop eax
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [ebx], eax
jne 0x1005ca09
mov eax, dword [ebx + 0xc]
cmp eax, dword [esi + 0xc]
jb 0x1005ca09
cmp dword [ebx + 4], ecx
jne 0x1005ca09
mov ecx, esi
call fcn.10060a3d
mov edx, ebx
mov ecx, esi
call fcn.10060a42
jmp 0x1005ca09
xor ecx, 1
mov dword [esi + 4], ebx
add ecx, ecx
cmp dword [esp + 0x14], ebp
je 0x1005c9d7
add ecx, 4
mov dword [esi], ecx
cmp dword [esp + 0x18], ebp
je 0x1005ca09
movzx eax, word [edi + 8]
xor edx, edx
inc edx
mov ecx, ebx
shl edx, cl
dec edx
and eax, edx
mov dword [esi + 0x14], eax
movzx eax, word [edi + 0xa]
and eax, edx
mov dword [esi + 0x18], eax
movzx eax, word [edi + 0xc]
and eax, edx
mov dword [esi + 0x10], 1
mov dword [esi + 0x1c], eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x1005efdb
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
lea eax, [edi + 2]
cmp eax, edx
jae 0x1005f004
movzx esi, byte [ecx + edi + 2]
movzx eax, byte [ecx + edi + 1]
shl esi, 4
xor esi, eax
movzx eax, byte [ecx + edi]
shl esi, 4
xor esi, eax
jmp 0x1005f02c
cmp edi, edx
jb 0x1005f00c
xor eax, eax
jmp 0x1005f02f
push ebx
mov ebx, esi
sub edx, edi
je 0x1005f02b
push ebp
mov ebp, esi
add edi, ecx
movzx eax, byte [edi + ebx]
mov ecx, ebp
shl eax, cl
add ebp, 8
xor esi, eax
inc ebx
cmp ebx, edx
jne 0x1005f018
pop ebp
pop ebx
movzx eax, si
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push edi
or esi, 0xffffffff
xor edi, edi
test edx, edx
je 0x100615dd
movzx eax, byte [edi + ecx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x100cf9d0]
inc edi
cmp edi, edx
jb 0x100615c5
not esi
pop edi
mov eax, esi
pop esi
ret
Function at 0x1006323f
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push 0x1009b6e4
push dword [esp + 0x14]
mov edi, edx
mov ebx, ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10063262
push 0x4f
pop eax
jmp 0x10063279
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x10063b09
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esp + 4], 0x20
push esi
mov esi, ecx
je 0x10063b1b
push 0x61
pop eax
jmp 0x10063c4e
mov dword [esi + 0x90], 1
movzx ecx, byte [edx]
shl ecx, 8
movzx eax, byte [edx + 1]
add ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x94], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
movzx eax, byte [edx + 5]
add ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x98], ecx
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x9c], ecx
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa0], ecx
movzx ecx, byte [edx + 0x10]
movzx eax, byte [edx + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa4], ecx
movzx ecx, byte [edx + 0x14]
movzx eax, byte [edx + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa8], ecx
movzx ecx, byte [edx + 0x18]
movzx eax, byte [edx + 0x19]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xac], ecx
movzx ecx, byte [edx + 0x1c]
movzx eax, byte [edx + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
add ecx, eax
xor eax, eax
mov dword [esi + 0xb0], ecx
pop esi
ret 4
Function at 0x10069de4
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x100891b0
call fcn.10084f98
sub esp, 0x170
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp ebx, 0x5a
ja 0x10069fb1
test edi, edi
je 0x10069fb1
cmp dword [ebp + 0x68], 0
je 0x10069fb1
push esi
push 0x1009a890
lea ecx, [ebp - 0x24]
call fcn.10069c09
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp]
push edi
call fcn.10069c09
push esi
push eax
push dword [ebp + 0x68]
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 1
call fcn.10069c32
lea ecx, [ebp]
call fcn.10008e51
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.10008e51
xor eax, eax
lea edi, [ebp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
and dword [ebp + 0x58], eax
and dword [ebp + 0x5c], eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edi, dword [ebp + 0x5c]
mov eax, 0xffffff36
push dword [ebp + 0x68]
mul ebx
mov ecx, eax
mov eax, 0xd5964000
mul ebx
add ecx, edx
add dword [ebp + 0x58], eax
lea edx, [ebp + 0x18]
adc edi, ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp + 0x5c], edi
call fcn.10069bb1
push 0x10
pop edi
cmp dword [eax + 0x14], edi
jb 0x10069ebf
mov eax, dword [eax]
lea ecx, [ebp - 0x17c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.10008e51
cmp esi, 0xffffffff
je 0x10069fa4
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp + 0x18]
lea ecx, [ebp + 0x40]
call fcn.10069bb1
mov byte [ebp - 4], 5
cmp dword [ebp - 0x17c], edi
jne 0x10069f21
lea eax, [ebp + 0x40]
cmp dword [ebp + 0x54], edi
jb 0x10069f09
mov eax, dword [ebp + 0x40]
push eax
push str._s_is_dir_n
push 0xffffffffffffffff
push 0
push 0
push 1
call fcn.10008864
add esp, 0x18
jmp 0x10069f7b
cmp dword [ebp - 0x168], 0
je 0x10069f7b
cmp dword [ebp - 0x164], 0
je 0x10069f7b
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x10069f7b
lea eax, [ebp + 0x40]
cmp dword [ebp + 0x54], edi
jb 0x10069f53
mov eax, dword [ebp + 0x40]
push eax
push str.__Deleting___s_._n
push 0xffffffffffffffff
push 0
push 0
push 1
call fcn.10008864
add esp, 0x18
lea eax, [ebp + 0x40]
cmp dword [ebp + 0x54], edi
jb 0x10069f74
mov eax, dword [ebp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 4
call fcn.10008e51
lea eax, [ebp - 0x17c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10069ee0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 0x18]
call fcn.10008e51
mov al, 1
pop esi
jmp 0x10069fb3
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x60
leave
ret 4
Function at 0x1006d56b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push esi
push eax
movzx eax, dx
mov esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x1006d590
call fcn.1006a2bc
push eax
push str.Fetch_Resource_____FindResource_failed._Error___s._n
jmp 0x1006d5bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1006d5a9
call fcn.1006a2bc
push eax
push str.Fetch_Resource_____LoadResource_failed._Error___s._n
jmp 0x1006d5bf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1006d5d1
call fcn.1006a2bc
push eax
push str.Fetch_Resource_____LockResource_failed._Error___s._n
push 0xffffffffffffffff
push 0
push 0
push 3
call fcn.10008864
add esp, 0x18
xor eax, eax
pop esi
ret 4

Function at 0x1007ef34
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x1016ea10], 0
push esi
push edi
mov esi, edx
mov edi, ecx
jne 0x1007ef48
call fcn.1007efab
mov edx, dword [esp + 0xc]
not edx
test esi, esi
je 0x1007ef6a
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1016e610]
inc edi
sub esi, 1
jne 0x1007ef52
not edx
pop edi
mov eax, edx
pop esi
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x408fa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fe0b
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.00464844
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409022
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004626cd
mov eax, dword [eax]
push 0x48d1e0
push eax
call fcn.00455534
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00464acf
test bl, bl
je 0x409022
push 0x48d1e0
lea ecx, [esp + 0xc]
call fcn.00464e5f
push 0x490d44
lea ecx, [esp + 0xc]
call fcn.00464e5f
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 0x40905e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00464acf
jmp 0x409129
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 0x4090e2
lea edx, [esp + 0x7c]
push 0x490d40
push edx
call fcn.00455534
add esp, 8
test eax, eax
je 0x4090e2
lea eax, [esp + 0x7c]
push 0x490d3c
push eax
call fcn.00455534
add esp, 8
test eax, eax
je 0x4090e2
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 0x409072
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.00464acf
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 0x409920
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 0x409982
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 0x409990
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46fe8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49cadc]
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 0x409ac8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4099f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00464acf
xor eax, eax
jmp 0x409b3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00464c0c
push esi
lea ecx, [esp + 0xc]
call fcn.00464e9b
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 0x409b1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409920
test eax, eax
jne 0x409b1d
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.00409920
test eax, eax
jne 0x409b1d
lea eax, [esp + 0x14]
push 0x490d58
push eax
call fcn.00456570
mov esi, eax
add esp, 8
test esi, esi
jne 0x409afc
lea ecx, [esp + 0x14]
push 0x490d54
push ecx
call fcn.004564f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409afc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409aff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00464bbc
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409a0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00464acf
xor eax, eax
jmp 0x409b3f
mov byte [esi], 0
push 0x490d50
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.00464acf
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