joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4068fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40691f
xor eax, eax
test eax, eax
je 0x406932
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406932
xor ecx, ecx
jmp 0x406935
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a8f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a69
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a64
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406ac0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406aa2
pop edi
not eax
pop esi
ret 0xc

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

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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8b000]
push edi
jmp 0x4dffda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dffe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dffd0
mov eax, 1
add ebx, ebx
jne 0x4dfff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e0004
jne 0x4e0023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0023
dec eax
add ebx, ebx
jne 0x4e0010
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dffe8
add ebx, ebx
jne 0x4e001f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e0075
xor ecx, ecx
sub eax, 3
jb 0x4e003b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e00aa
sar eax, 1
mov ebp, eax
jmp 0x4e0046
add ebx, ebx
jne 0x4e0046
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0014
inc ecx
add ebx, ebx
jne 0x4e0054
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0014
add ebx, ebx
jne 0x4e0061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e0056
jne 0x4e0072
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e0056
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e0094
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e0086
jmp 0x4dffd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e0094
add edi, ecx
jmp 0x4dffd6
pop esi
mov edi, esi
mov ecx, 0x3eef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e00b2
cmp byte [edi], 0x11
jne 0x4e00b2
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 0x4e00b7
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4e012f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe75b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe7730]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e00e4
mov ecx, edi
jns 0x4e0113
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 + 0xe7734]
or eax, eax
je 0x4e0129
mov dword [ebx], eax
add ebx, 4
jmp 0x4e0101
call dword [esi + 0xe7744]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e0160
cmp al, 0xef
ja 0x4e0153
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e0135
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e0142
mov ebp, dword [esi + 0xe7738]
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 0x4e0194
sub esp, 0xffffff80
jmp 0x426bf7
Function at 0x10001f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ed87
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x13c], edi
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 0x118], str.userid
mov dword [ebp - 0x114], str.userbnet
mov byte [edi], 0
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareBlizzard_EntertainmentWarcraft_IIIString
push 0x80000001
mov dword [ebp - 0x130], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002165
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 0xff
mov dword [ebp - 0x128], eax
nop dword [eax + eax]
mov esi, dword [eax]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
push 0
push esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10002126
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x10002054
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x1000204c
mov eax, dword [edi]
mov word [eax + ecx], 0x22
jmp 0x10002071
push 1
push 0x1001045c
mov byte [ebp - 0x134], 0
mov ecx, edi
push dword [ebp - 0x134]
push 1
call fcn.10005c80
push esi
mov ecx, edi
call fcn.10005400
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x100020a5
lea eax, [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10002097
mov eax, dword [edi]
mov dword [eax + ecx], 0x22203a22
mov byte [eax + ecx + 4], 0
jmp 0x100020c2
push 4
push str._:__
mov byte [ebp - 0x138], 0
mov ecx, edi
push dword [ebp - 0x138]
push 4
call fcn.10005c80
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.10005400
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 3
jb 0x10002107
lea eax, [ecx + 3]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x100020ee
mov eax, dword [edi]
push 3
lea esi, [eax + ecx]
push 0x10010468
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 3], 0
jmp 0x1000213a
push 3
push 0x10010468
mov byte [ebp - 0x12c], 0
mov ecx, edi
push dword [ebp - 0x12c]
push 3
call fcn.10005c80
jmp 0x1000213a
push 0x10
push 0x1001046c
push 0x10010474
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x110]
add eax, 4
mov dword [ebp - 0x128], eax
cmp eax, ecx
jne 0x10002000
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10002179
push 0x10
push 0x1001046c
push 0x10010494
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dcfa
mov esp, ebp
pop ebp
ret
Function at 0x10003a30
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10010e90]
xor eax, eax
movups xmmword [ebp - 0xc8], xmm0
mov word [ebp - 0x78], 0xd
movaps xmm0, xmmword [0x10010f10]
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x10010f20]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x10010e70]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [0x10010d80]
movups xmmword [ebp - 0x88], xmm0
mov cl, byte [ebp - 0xc8]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0x50
jb 0x10003a91
push esi
lea esi, [ebp - 0xc7]
mov byte [ebp - 0x77], 0
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003ab3
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xc7]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov ecx, 0xd
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], cx
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], cx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call esi
mov eax, 0x56
mov dword [ebp - 0x74], 1
mov word [ebp - 0x54], ax
mov ecx, 0x11
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov word [ebp - 0x70], cx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 2
call edi
push 0xc8
call esi
mov eax, 0xd
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 2
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 2
call edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000dcfa
mov esp, ebp
pop ebp
ret
Function at 0x10003c20
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10010ea0]
xor eax, eax
movups xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0x84], 0x311e1b2d
movaps xmm0, xmmword [0x10010e50]
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x80], 0x2020705
movaps xmm0, xmmword [0x10010dd0]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x7c], 0xc313c0b
mov word [ebp - 0x78], 0x1a01
mov byte [ebp - 0x76], 0
mov cl, byte [ebp - 0xb4]
xor byte [ebp + eax - 0xb3], cl
inc eax
cmp eax, 0x3d
jb 0x10003c81
push esi
lea esi, [ebp - 0xb3]
mov byte [ebp - 0x76], 0
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003ca3
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xb3]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov ecx, 0xd
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov dword [ebp - 0x58], 1
mov word [ebp - 0x54], cx
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], cx
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call esi
mov eax, 0x56
mov dword [ebp - 0x74], 1
mov word [ebp - 0x54], ax
mov ecx, 0x11
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 4
mov word [ebp - 0x70], cx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 2
call edi
push 0xc8
call esi
mov eax, 0xd
mov dword [ebp - 0x74], 1
mov word [ebp - 0x70], ax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x74]
push 0x1c
push eax
push 2
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x50], 2
call edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000dcfa
mov esp, ebp
pop ebp
ret
Function at 0x10003e10
Capabilities:
Encode data using xor
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10010d90]
xor eax, eax
movups xmmword [ebp - 0xc8], xmm0
push esi
movaps xmm0, xmmword [0x10010e10]
movups xmmword [ebp - 0xb8], xmm0
push edi
movaps xmm0, xmmword [str.B_vR_GJI_vDGBEL]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x10010df0]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [str.hh_t_BGGNytID_]
movups xmmword [ebp - 0x88], xmm0
nop dword [eax]
mov cl, byte [ebp - 0xc8]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0x4e
jb 0x10003e70
lea esi, [ebp - 0xc7]
mov byte [ebp - 0x79], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10003e90
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
lea eax, [ebp - 0xc7]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x6c
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.USER32.dll_SendInput]
add esp, 0xc
mov eax, 0x10
mov dword [ebp - 0x78], 1
mov word [ebp - 0x74], ax
mov ecx, 0xd
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x78]
push 0x1c
push eax
push 4
mov dword [ebp - 0x5c], 1
mov word [ebp - 0x58], cx
mov dword [ebp - 0x40], 1
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 2
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call esi
mov eax, 0x56
mov dword [ebp - 0x78], 1
mov word [ebp - 0x58], ax
mov ecx, 0x11
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x78]
push 0x1c
push eax
push 4
mov word [ebp - 0x74], cx
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], cx
mov dword [ebp - 0x1c], 2
call edi
push 0xc8
call esi
mov eax, 0xd
mov dword [ebp - 0x78], 1
mov word [ebp - 0x74], ax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x78]
push 0x1c
push eax
push 2
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x54], 2
call edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000dcfa
mov esp, ebp
pop ebp
ret
Function at 0x10004000
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x434], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x18
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x430], 0x224
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x100040c4
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop word [eax + eax]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
push 0
push 0
call ebx
mov eax, dword [ebp - 0x434]
lea ecx, [ebp - 0x20c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100040ad
test dx, dx
je 0x100040a9
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100040ad
add ecx, 4
add eax, 4
test dx, dx
jne 0x10004087
xor eax, eax
jmp 0x100040b2
sbb eax, eax
or eax, 1
test eax, eax
je 0x100040de
lea eax, [ebp - 0x430]
push eax
push esi
call edi
test eax, eax
jne 0x10004060
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000dcfa
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x41c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000dcfa
mov esp, ebp
pop ebp
ret
Function at 0x10004330
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000eed0
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1070
call fcn.1000ed30
mov eax, dword [0x10014040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1078], edx
mov edi, ecx
lea eax, [ebp - 0x1074]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1068]
mov esi, dword [ebp - 0x106c]
mov dword [ebp - 0x107c], eax
cmp esi, eax
jae 0x100044cc
push 0x1c
lea eax, [ebp - 0x1050]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp eax, 0x1c
jne 0x100044b2
cmp dword [ebp - 0x1040], 0x1000
jne 0x100044b2
mov eax, dword [ebp - 0x103c]
cmp eax, 4
je 0x100043e2
cmp eax, 2
jne 0x100044b2
lea eax, [ebp - 0x1034]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x100044b2
push dword [ebp - 0x1034]
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1020], 0
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
push eax
lea ecx, [ebp - 0x1030]
movups xmmword [ebp - 0x1030], xmm0
call fcn.10005a40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 0xf
mov edx, dword [ebp - 0x1020]
cmova ecx, dword [ebp - 0x1030]
push ecx
push 0x10
push dword [ebp - 0x1078]
lea edx, [edx + ecx]
push ecx
call fcn.10006420
add esp, 0x10
test al, al
jne 0x100044ec
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0xf
jbe 0x100044b2
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100044a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004518
push ecx
push edx
call fcn.1000dd08
add esp, 8
mov esi, dword [ebp - 0x1050]
mov eax, dword [ebp - 0x1044]
add esi, eax
cmp esi, dword [ebp - 0x107c]
jb 0x100043a4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000dcfa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x101c]
cmp ecx, 0xf
jbe 0x10004528
mov edx, dword [ebp - 0x1030]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000451e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000451e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000dd08
add esp, 8
mov al, 1
jmp 0x100044ce

Function at 0x10004e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10004e37
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10004530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x100051e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10005211
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10005200
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x402d98
Capabilities:
Encode data using xor

Disassembly:
push 0x403aac
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bl
jge 0x402dc5
inc esp
rol byte [edi + 0x2bb642e4], cl
mov edx, 0x3fd0168
mov ebx, 0
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add ah, ah
pop edx
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
in al, 0x5a
add dword [eax + 0x72], edx
outsd dx, dword [esi]
push 0x65
arpl word [ecx + esi], si
test dword [eax], eax
pop eax
test dword [eax], eax
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
or dword [ebx + 0x673e9e76], ecx
neg edx
dec esi
sahf
test al, 0x4c
js 0x402dc9
mov ah, 0x7e
xchg ebp, eax
pop eax
rcl byte [ecx - 3], cl
pushfd
cmc
inc esi
mov ah, 0xdc
mov edx, 0x9045d6de
iretd
Function at 0x1062f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1062f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1062f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1062f06a
add dl, dl
jne 0x1062f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1062f0dc
xor eax, eax
add dl, dl
jne 0x1062f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1062f17d
add dl, dl
jne 0x1062f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1062f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1062f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1062f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1062f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1062f075
mov eax, 1
add dl, dl
jne 0x1062f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1062f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1062f0e1
sub eax, ebx
mov ebx, 1
jne 0x1062f128
mov ecx, 1
add dl, dl
jne 0x1062f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1062f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1062f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1062f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1062f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1062f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1062f136
cmp eax, 0x7d00
jae 0x1062f16d
cmp eax, 0x500
jb 0x1062f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1062f075
cmp eax, 0x7f
ja 0x1062f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1062f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1062f19e
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 0x1062f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10