joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016290
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
test byte [esi + 0x47c], 1
je 0x10016370
cmp dword [esi + 0x480], 0x63
mov ecx, dword [esi + 0x45c]
jne 0x100162dc
lea eax, [esi + 0x88]
push eax
push ecx
lea eax, [esi + 0x48c]
push eax
call fcn.1001b0a0
add esp, 0xc
jmp 0x10016370
test ecx, ecx
je 0x10016370
mov eax, 0xfffffb74
lea ebx, [esi + 0x48c]
sub eax, esi
mov dword [ebp + 8], eax
movzx eax, byte [ebx]
mov ecx, dword [esi + 0x104b8]
xor eax, ecx
mov edx, dword [esi + 0x104c4]
movzx eax, al
mov edi, dword [esi + 0x104c0]
shr ecx, 8
and edi, 0xfffd
or edi, 2
mov eax, dword [edx + eax*4]
xor eax, ecx
mov ecx, dword [esi + 0x104c0]
mov dword [esi + 0x104b8], eax
movzx eax, al
add eax, dword [esi + 0x104bc]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x104bc], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [edx + eax*4]
mov eax, edi
xor eax, 1
mov dword [esi + 0x104c0], ecx
imul eax, edi
shr eax, 8
xor byte [ebx], al
inc ebx
mov eax, dword [ebp + 8]
add eax, ebx
cmp eax, dword [esi + 0x45c]
jb 0x100162f4
mov ebx, dword [esi + 0x45c]
nop word [eax + eax]
cmp dword [esi + 0x104ec], 0
mov eax, ebx
mov dword [ebp + 8], eax
ja 0x10016397
cmp dword [esi + 0x104e8], 0
jbe 0x100163fa
push 2
push 0
push 0
push dword [esi + 0x34]
push esi
call fcn.1001ac40
push dword [esi + 0x34]
push esi
call fcn.1001ac90
mov edi, dword [esi + 0x104e8]
add esp, 0x1c
mov ecx, dword [esi + 0x104ec]
sub edi, eax
mov eax, edi
mov dword [ebp - 8], 0
sbb ecx, edx
or eax, ecx
mov dword [ebp - 0xc], ecx
jne 0x100163e9
push esi
call fcn.10017b60
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x10016469
mov ecx, dword [ebp - 0xc]
test ecx, ecx
ja 0x100163f7
jb 0x100163f3
cmp edi, ebx
jae 0x100163f7
mov eax, edi
jmp 0x100163fa
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
add eax, 0x48c
add eax, esi
push eax
push dword [esi + 0x34]
mov eax, dword [esi + 0xc]
push dword [esi + 0x20]
call eax
push dword [esi + 0x34]
mov ecx, dword [esi + 0x1c]
mov edi, eax
push dword [esi + 0x20]
call ecx
add esp, 0x18
test eax, eax
jne 0x10016470
add dword [ebp - 4], edi
sub ebx, edi
jne 0x10016380
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x45c]
add dword [esi + 0x104a8], eax
mov eax, dword [esi + 0x58]
adc dword [esi + 0x104ac], 0
add dword [esi + 0x104b0], eax
mov eax, ecx
mov dword [esi + 0x58], 0
adc dword [esi + 0x104b4], 0
mov dword [esi + 0x45c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or ecx, 0xffffffff
jmp 0x10016433
Function at 0x1001b330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0x208]
test ecx, ecx
je 0x1001b437
push esi
nop word [eax + eax]
mov eax, 0x104
mov esi, ecx
sub eax, ebx
cmp ecx, eax
cmovae esi, eax
lea eax, [edi + 0x104]
push esi
add eax, ebx
push eax
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp + 0xc]
add ebx, esi
add dword [ebp + 8], esi
sub ecx, esi
add esp, 0xc
mov dword [ebp + 0xc], ecx
cmp ebx, 0x104
jne 0x1001b42e
mov esi, edi
xor ebx, ebx
add edi, 0x104
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x10]
mov eax, 0x104
sub eax, ebx
push eax
lea eax, [ebx + edi]
push eax
mov eax, dword [edi + 0x20c]
call eax
add ebx, eax
add esp, 8
cmp ebx, 0x104
jb 0x1001b3a0
lea eax, [edi + 1]
mov edx, 0x34
nop dword [eax]
movzx ecx, byte [eax + 0x103]
lea eax, [eax + 5]
not cl
xor byte [eax - 6], cl
movzx ecx, byte [eax + 0xff]
not cl
xor byte [eax - 5], cl
movzx ecx, byte [eax + 0x100]
not cl
xor byte [eax - 4], cl
movzx ecx, byte [eax + 0x101]
not cl
xor byte [eax - 3], cl
movzx ecx, byte [eax + 0x102]
not cl
xor byte [eax - 2], cl
sub edx, 1
jne 0x1001b3d0
push edi
call fcn.1001b270
lea eax, [edi + 0x104]
push eax
call fcn.1001b270
mov ecx, dword [ebp + 0xc]
add esp, 8
xor ebx, ebx
test ecx, ecx
jne 0x1001b350
pop esi
mov dword [edi + 0x208], ebx
pop edi
pop ebx
pop ebp
ret
Function at 0x1001b450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10033008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x41
push edi
mov dword [ebp - 0x68], esi
xor ebx, ebx
lea eax, [esi + 0x104]
mov edi, eax
mov dword [ebp - 0x64], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x68]
mov eax, 0x104
sub eax, ebx
push eax
lea eax, [edi + ebx]
push eax
mov eax, dword [edi + 0x20c]
call eax
add ebx, eax
add esp, 8
cmp ebx, 0x104
jb 0x1001b480
lea eax, [edi + 1]
mov edx, 0x34
nop dword [eax]
movzx ecx, byte [eax + 0x103]
lea eax, [eax + 5]
not cl
xor byte [eax - 6], cl
movzx ecx, byte [eax + 0xff]
not cl
xor byte [eax - 5], cl
movzx ecx, byte [eax + 0x100]
not cl
xor byte [eax - 4], cl
movzx ecx, byte [eax + 0x101]
not cl
xor byte [eax - 3], cl
movzx ecx, byte [eax + 0x102]
not cl
xor byte [eax - 2], cl
sub edx, 1
jne 0x1001b4b0
xor esi, esi
lea edx, [esi + 0x40]
nop dword [eax]
test esi, esi
lea ecx, [edi + esi]
mov eax, 0x104
mov ebx, 0x104
cmovne eax, esi
sub ebx, esi
cmp ebx, 0x40
movups xmm0, xmmword [eax + edi - 0x14]
mov eax, dword [eax + edi - 4]
mov dword [ebp - 0x48], eax
mov eax, ebx
cmova eax, edx
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
movups xmmword [ebp - 0x58], xmm0
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp ebx, 0x40
jae 0x1001b555
lea eax, [esi - 0xc4]
push eax
lea eax, [ebp - 0x44]
add eax, ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.1001da00
movups xmm0, xmmword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
add esp, 4
mov edx, 0x40
movups xmmword [edi + esi], xmm0
mov dword [edi + esi + 0x10], eax
add esi, 0x14
cmp esi, 0x104
jb 0x1001b500
xor esi, esi
mov ecx, dword [ebp - 0x64]
test esi, esi
mov eax, 0x104
mov edi, 0x104
cmovne eax, esi
sub edi, esi
cmp edi, 0x40
lea ebx, [esi + ecx]
movups xmm0, xmmword [eax + ecx - 0x14]
mov eax, dword [eax + ecx - 4]
mov ecx, 0x40
mov dword [ebp - 0x48], eax
mov eax, edi
cmova eax, ecx
push eax
lea eax, [ebp - 0x44]
push ebx
push eax
movups xmmword [ebp - 0x58], xmm0
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp edi, 0x40
jae 0x1001b5e2
lea eax, [esi - 0xc4]
push eax
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.1001da00
movups xmm0, xmmword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
add esi, 0x14
add esp, 4
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], eax
cmp esi, 0x104
jb 0x1001b582
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100127b8
mov esp, ebp
pop ebp
ret
Function at 0x1001d7d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10033008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.1001d520
lea eax, [ebp - 0xcc]
push eax
push dword [ebp + 0xc]
push esi
call fcn.1001d750
lea eax, [ebp - 0x20c]
mov ecx, 0x28
push eax
push dword [ebp + 0x14]
lea esi, [ebp - 0xcc]
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.1001d540
mov ecx, dword [ebp + 0x20]
mov eax, 0xcccccccd
dec ecx
add esp, 0x1c
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [ebp - 0x220], eax
je 0x1001d9a3
mov edx, 1
mov dword [ebp - 0x214], 0
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], ebx
mov eax, edx
mov dword [ebp - 0x224], edx
shr eax, 0x18
lea esi, [ebp - 0x20c]
mov byte [ebp - 0x18], al
lea edi, [ebp - 0x16c]
mov eax, edx
mov dword [ebp - 0x1c], 0
shr eax, 0x10
mov ecx, 0x28
mov byte [ebp - 0x17], al
xorps xmm0, xmm0
mov eax, edx
mov byte [ebp - 0x15], dl
shr eax, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x18]
mov byte [ebp - 0x16], al
mov eax, 4
movups xmmword [ebp - 0x234], xmm0
movups xmmword [ebp - 0x2c], xmm0
test ecx, ecx
je 0x1001d949
mov ebx, ecx
nop
lea ecx, [ebp - 0x16c]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001d540
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.1001d600
movups xmm0, xmmword [ebp - 0x18]
add esp, 0x18
mov eax, 0x10
movups xmm1, xmmword [ebp - 0x234]
pxor xmm1, xmm0
movups xmmword [ebp - 0x2c], xmm1
nop
mov cl, byte [ebp + eax - 0x18]
xor byte [ebp + eax - 0x2c], cl
inc eax
cmp eax, 0x14
jb 0x1001d910
lea esi, [ebp - 0xcc]
mov ecx, 0x28
lea edi, [ebp - 0x16c]
rep movsd dword es:[edi], dword [esi]
sub ebx, 1
je 0x1001d943
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x234], xmm0
jmp 0x1001d8d0
mov ebx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x214]
xor edx, edx
mov esi, dword [ebp - 0x21c]
mov ecx, edi
nop dword [eax]
cmp ecx, dword [ebp + 0x20]
jae 0x1001d972
mov al, byte [ebx + ecx]
inc edx
mov byte [ecx + esi], al
inc ecx
cmp edx, 0x14
jb 0x1001d960
mov edx, dword [ebp - 0x210]
add edi, 0x14
mov eax, dword [ebp - 0x220]
inc edx
sub ebx, 0x14
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ebx
cmp dword [ebp - 0x224], eax
jb 0x1001d874
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100127b8
mov esp, ebp
pop ebp
ret

Function at 0x1001d9c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret
Function at 0x10020820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x100209a5
cmp dword [esi + 0x20], 0
je 0x100209a5
cmp dword [esi + 0x24], 0
je 0x100209a5
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x100209a5
cmp dword [edi], esi
jne 0x100209a5
mov eax, dword [edi + 4]
cmp eax, 0x2a
je 0x10020888
cmp eax, 0x39
je 0x10020888
cmp eax, 0x45
je 0x10020888
cmp eax, 0x49
je 0x10020888
cmp eax, 0x5b
je 0x10020888
cmp eax, 0x67
je 0x10020888
cmp eax, 0x71
je 0x10020888
cmp eax, 0x29a
jne 0x100209a5
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x100208bd
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
push 0
mov edx, 0x39
cmove eax, edx
push 0
mov dword [edi + 4], eax
push 0
jne 0x100208df
call fcn.10021440
jmp 0x100208e4
call fcn.10023290
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.10021d80
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x1002a70a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x1002a708]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x1002a70c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x1002a70e]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebp
ret
pop edi
mov eax, 0xfffffffe
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10021450

Function at 0x10023290
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100232a0
Function at 0x402720
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403140
test esi, esi
jne 0x402756
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403204
jmp 0x402774
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004025d4
mov edi, eax
test esi, esi
je 0x402774
cmp dword [ebx], 0
je 0x402774
dec esi
jmp 0x40275d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4028e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40400c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40297c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40295c
xor eax, eax
push ebp
push 0x402955
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402998
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40295c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40400c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40400c], ax
mov esp, ebp
pop ebp
ret

Function at 0x402fc4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x405034], 0
je 0x403025
cmp word [0x405208], 0xd7b2
jne 0x402fed
cmp dword [0x405210], 0
jbe 0x402fed
mov eax, 0x405204
call dword [0x405220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x404054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40304c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x404018], 0
jne 0x403041
push 0
push 0x40404c
push 0x404054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40352c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x403592
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403234
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004027d8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40357c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403599
lea eax, [ebp - 0x10]
call fcn.00403140
ret
Function at 0x403960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, 0x403940
call fcn.0040378c
xor eax, eax
push ebp
push 0x4039ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00403810
mov eax, dword [ebp - 0x14]
call fcn.00402568
push 1
push 0
lea eax, [ebp - 0x1c]
call fcn.00403894
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x403a00
call fcn.00403298
mov eax, dword [ebp - 0x18]
call fcn.00403398
push eax
push 0x403a64
push 0x403a6c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4039f1
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403164
ret
Function at 0xbfe8f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x624000]
lea eax, [edi + 0x6355f4]
push dword [eax]
mov dword [eax], 0x2305eec1
push eax
push edi
or ebp, 0xffffffff
jmp 0xbfe922
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xbfe929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbfe918
mov eax, 1
add ebx, ebx
jne 0xbfe93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xbfe94c
jne 0xbfe96b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbfe96b
dec eax
add ebx, ebx
jne 0xbfe958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xbfe930
add ebx, ebx
jne 0xbfe967
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xbfe9bd
xor ecx, ecx
sub eax, 3
jb 0xbfe983
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xbfe9f2
sar eax, 1
mov ebp, eax
jmp 0xbfe98e
add ebx, ebx
jne 0xbfe98e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbfe95c
inc ecx
add ebx, ebx
jne 0xbfe99c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xbfe95c
add ebx, ebx
jne 0xbfe9a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xbfe99e
jne 0xbfe9ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xbfe99e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xbfe9dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xbfe9ce
jmp 0xbfe91e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xbfe9dc
add edi, ecx
jmp 0xbfe91e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xd8d2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xbfe9fe
cmp byte [edi], 0x63
jne 0xbfe9fe
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 0xbfea03
lea edi, [esi + 0x7fb000]
mov eax, dword [edi]
or eax, eax
je 0xbfea7b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8015ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8016ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xbfea30
mov ecx, edi
jns 0xbfea5f
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 + 0x8016f4]
or eax, eax
je 0xbfea75
mov dword [ebx], eax
add ebx, 4
jmp 0xbfea4d
call dword [esi + 0x8016f0]
mov ebp, dword [esi + 0x8016f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0xbfeaaf
sub esp, 0xffffff80
jmp 0x61b458
Function at 0x415220
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a137b
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.0049583a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4152a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00492e80
mov eax, dword [eax]
push 0x597d08
push eax
call fcn.00484db4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00495ac5
test bl, bl
je 0x4152a2
push 0x597d08
lea ecx, [esp + 0xc]
call fcn.00495e55
push 0x597d14
lea ecx, [esp + 0xc]
call fcn.00495e55
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 0x4152de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00495ac5
jmp 0x4153a9
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 0x415362
lea edx, [esp + 0x7c]
push 0x597d10
push edx
call fcn.00484db4
add esp, 8
test eax, eax
je 0x415362
lea eax, [esp + 0x7c]
push 0x597d0c
push eax
call fcn.00484db4
add esp, 8
test eax, eax
je 0x415362
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 0x4152f2
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.00495ac5
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 0x415bb0
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 0x415c12
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 0x415c20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a13fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a3508]
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 0x415d58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x415c86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00495ac5
xor eax, eax
jmp 0x415dcf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00495c02
push esi
lea ecx, [esp + 0xc]
call fcn.00495e91
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 0x415dad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00415bb0
test eax, eax
jne 0x415dad
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.00415bb0
test eax, eax
jne 0x415dad
lea eax, [esp + 0x14]
push 0x597d24
push eax
call fcn.00485f00
mov esi, eax
add esp, 8
test esi, esi
jne 0x415d8c
lea ecx, [esp + 0x14]
push 0x597d20
push ecx
call fcn.00485e80
mov esi, eax
add esp, 8
test esi, esi
jne 0x415d8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x415d8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00495bb2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x415c9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00495ac5
xor eax, eax
jmp 0x415dcf
mov byte [esi], 0
push 0x597d1c
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.00495ac5
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