joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc116cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0xc13168
sub eax, eax
test esi, esi
je 0xc117a4
sub eax, 1
test ecx, ecx
je 0xc117a2
test esi, 3
je 0xc1170a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xc116ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0xc11789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xc11714
mov ecx, edx
test ecx, ecx
je 0xc117a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xc1178f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0xc117ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.00c1182f
jae 0xc117ba
xor ecx, ecx
call fcn.00c1182f
jae 0xc117e9
xor eax, eax
call fcn.00c1182f
jae 0xc117f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.00c1182f
adc al, al
jae 0xc117db
jne 0xc11825
stosb byte es:[edi], al
jmp 0xc117bd
call fcn.00c1183b
sub ecx, ebx
jne 0xc11802
call fcn.00c11839
jmp 0xc11821
lodsb al, byte [esi]
shr eax, 1
je 0xc1184b
adc ecx, ecx
jmp 0xc1181e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00c11839
cmp eax, 0x7d00
jae 0xc1181e
cmp ah, 5
jae 0xc1181f
cmp eax, 0x7f
ja 0xc11820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc117bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0xc1217c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xc15000]
jne 0xc12186
repz ret
jmp fcn.00c1242d
Function at 0x1408db9
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp]
jnp 0x1408e80
jp 0x1408e37
push 0xf13fa29c
jmp 0x1408e11
pushfd
jmp 0x1408dc4
mov dword [esp + 0x24], ebp
pushfd
jmp 0x1408e8e
sub esp, 0x1d
jmp 0x1408e58
bt eax, ecx
btc ebp, esi
lea esp, [esp + 1]
jmp 0x1408e62
push dword [esp + 5]
push edi
lea esp, [esp + 2]
jmp 0x1408e07
lea esp, [esp + 1]
jmp 0x1408e62
jnp 0x1408e1a
bt eax, ecx
btc ebp, esi
jmp 0x1408e42
mov edi, dword [esp + 0x48]
mov si, word [esp]
stc
jle 0x1408e9f
jg 0x1408ea7
add edx, 0x9e217de2
jmp 0x1409e4e
push dword [esp + 5]
push edi
lea esp, [esp + 2]
mov dword [esp + 0x24], ebp
pushfd
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0x1408df1
rdtsc
jmp 0x1408ffd
rdtsc
jmp 0x1408ffd
mov esi, esp
sub esp, 0xa
jg 0x1408f44
lea edx, [esi*4]
not eax
jmp 0x1408eeb
xchg ecx, eax
jmp 0x1408ef1
lea esp, [esp + 2]
jmp 0x1408f15
mov cx, word [esp]
neg cx
mov cx, 0xcc45
jmp 0x1408f63
not eax
lea esp, [esp + 2]
mov ebx, edi
cmp ax, 0xc510
jg 0x1408ed5
xchg ecx, eax
mov cx, word [esp]
neg cx
mov cx, 0xcc45
xchg ch, cl
jmp 0x1408f65
mov edx, esi
mov ax, cx
lea edx, reloc.MSVCRT.dll_strncpy
mov ecx, 0xc2958057
jmp 0x1408f4d
lea edx, [esi*4]
jmp 0x1408f0f
xchg cx, dx
jmp 0x1408faa
xchg ch, cl
lea edx, [eax*4]
xchg cx, ax
neg edi
jmp 0x1408f2d
mov ecx, dword [esp]
jmp 0x1408f8d
mov dh, byte [esp]
jmp 0x1408f72
rol edi, 0
jp 0x1408fd0
lea edx, [ebp - 0x79]
jmp 0x1408fb8
not edi
rcl eax, cl
ja 0x1408f88
mov dh, byte [esp]
mov ecx, dword [esp]
jmp 0x1408f8d
lea ecx, [edx*4]
mov dx, word [esp]
sub esp, 0x13
jmp 0x140902b
lea edx, [ebp - 0x79]
lea ecx, [edx*4]
mov dx, word [esp]
sub esp, 0x13
lea esp, [esp + 3]
lea esp, [esp + 0x10]
not edi
rdtsc
mov ax, di
jmp 0x1409013
lea ebp, [esp + 0x1c]
mov si, word [esp]
mov ecx, dword [esp]
sub esp, 0xa4
jmp 0x1408eae
lea eax, [ecx + 0x6c]
xchg cl, ah
bt ecx, edi
jp 0x140905a
jnp 0x140905a
add dword [edx], reloc.MSVCRT.dll_strncpy
inc ebx
cli
aad 0x44
neg esi
lea esp, [esp + 3]
jmp 0x1408fe5
sub esp, 0x19
ja 0x14090a1
xchg word [esp + 1], dx
xchg byte [esp + 0xc], cl
pop dword [esp + 0xa]
lea esp, [esp + 1]
jmp 0x140907d
ror edi, 0
jmp 0x1409031
dec edx
jb 0x1409082
bswap edx
setb dh
stc
jmp fcn.01409089
pop dword [esp + 0xa]
lea esp, [esp + 1]
add edi, dword [ebp]
jmp 0x140905f
bswap edx
setb dh
jmp 0x14090c2
xchg word [esp + 1], dx
xchg byte [esp + 0xc], cl
jmp 0x1409075
stc
jmp fcn.01409089
setg cl
lea ecx, [esp + 0xb4]
call 0x1409dfe
lea esp, [esp + 3]
jmp 0x1409e7c
mov esp, esi
pushal
mov ch, byte [esp + 0xe]
call fcn.0140a8c5
sub eax, 0xa8593ea8
sbb cl, byte [ebp - 0x3b]
push ebp
cmp al, 0xcf
or esp, esi
out 0xe, eax
cdq
clc
fcomi st(3)
call 0xa40101bf
pop ds
arpl dx, bx
rcr dword [edi], 0x63
stc
cmp eax, 0x304c6321
pop ds
arpl word [ebx], ax
daa
pop ds
arpl word [ebx], ax
daa
pop ds
arpl word [eax], cx
arpl word [ebx], sp
invalid
Function at 0x1408ec8
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
push word [esp + 1]
jmp 0x1408ded
call 0x1408dcf
push di
mov byte [esp], dl
mov word [esp], ax
call fcn.01408db9
cmp eax, 0xb65b3cae
or dword [edi], edi
push es
mov dword [esp + 0x1c], ecx
pushfd
pop word [esp]
mov byte [esp], cl
lea esp, [esp + 2]
mov dword [esp + 0x18], edx
jmp 0x1408d7c
jno 0x1408d88
jo 0x1408d88
lea esp, [esp + 2]
mov dword [esp], eax
pushal
jmp 0x1408da3

Function at 0x1410ca8
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 2]
xchg dword [esp + 0x24], ebx
mov ax, word [esp]
lea eax, [edi + 0x38]
call fcn.01410649
bsr ax, di
add cx, di
jmp 0x1410b5d
mov ch, 0xe3
jmp 0x1410b47
mov eax, dword [esp]
not eax
jmp 0x1410b87
neg dl
xchg ah, ch
cmc
jbe 0x1410b1d
mov ch, 0xe3
mov eax, dword [esp]
not eax
jmp 0x1410b87
lea eax, [esi*4]
and eax, 0x2ab4df92
bswap ecx
jmp 0x1410bb1
sub dl, 0xd7
mov ax, word [esp]
mov ax, 0x2633
lea eax, reloc.MSVCRT.dll_strncpy
bsf eax, ebp
jmp 0x1410ba1
jg 0x1410b6d
lea eax, [esi*4]
and eax, 0x2ab4df92
jmp 0x1410bd9
sub dl, 0x87
lea eax, [eax + ecx]
lea eax, [eax*4]
jmp 0x1410bdd
bswap ecx
jmp 0x1410bb1
and edx, 0x3c
lea eax, [ecx*4]
pushfd
bsf ax, bp
jmp 0x1410c33
lea eax, [eax + edx]
mov ecx, dword [eax]
rdtsc
mov al, byte [esp]
xchg dh, al
jmp 0x1410c37
mov eax, esp
mov eax, edi
jmp 0x1410c04
jb 0x1410c61
jae 0x1410c61
mov dword [ebp], ecx
bswap edx
mov dl, 0xd
rdtsc
mov cx, sp
jmp 0x1410c49
jmp 0x1410c86
lea ecx, [edi + 0x50]
call 0x1410c92
and dword [esi + reloc.MSVCRT.dll_strncpy], esi
xor dword [ebx + reloc.MSVCRT.dll_strncpy], ebp
dec esi
fld dword [ebx - 0x899fb13]
shl byte [esi - 0x75], 1
or al, 0x24
sub ebp, 4
not ax
mov cx, word [esp]
mov cx, dx
jmp 0x1410c1a
bswap ecx
mov cx, 0x7454
shl ecx, cl
jg 0x1410c4b
jle 0x1410c4b
lea eax, [edi*4]
clc
mov edx, 0x76614c95
dec dl
jmp 0x1410cff
lea ebx, [ebx - 0x21]
rol eax, cl
sub esp, 0x12
neg al
mov eax, 0x205c19af
jmp 0x1410b00
xchg dword [esp], ebx
mov eax, dword [esp]
neg dx
mov eax, dword [esp]
mov dx, word [esp]
jmp 0x1410ce7
lea ebx, [ebx + 0x1d]
mov al, 0xb7
lea edx, [edi - 0x6f]
rdtsc
mov ax, 0xb341
bswap edx
jmp 0x1410cbf
push dword [esp]
ret 4
xchg dword [esp], ebx
bsr edx, esp
mov ax, dx
mov eax, 0xe7f71af7
mov ax, word [esp]
not al
jmp 0x1410cd5

Function at 0x14173d5
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
xchg ch, dh
popal
pushfd
lea esp, [esp + 2]
jmp 0x1417415
mov byte [esp], dl
push word [esp + 1]
lea esp, [esp + 4]
jmp 0x13fe352

Function at 0x14179de
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1417a39
lea esp, [esp + 4]
jmp 0x13fd5c2

Function at 0x14ae142
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 3]
mov dword [esp + 0x40], ebp
pushal
mov byte [esp + 3], ah
mov byte [esp + 0x11], ch
mov dword [esp + 0x5c], esi
call fcn.014ae004
lodsd eax, dword [esi]
cmp ch, byte [eax - 0x726cc531]
pop ds
invalid
pop word [esp]
lea esp, [esp + 5]
mov word [esp], di
jmp 0x14ae0ac
Function at 0x40f315
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edi
cmp esi, edi
jne 0x40f33b
xor eax, eax
jmp 0x40f424
push 0x10
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0040ee2a
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
push 2
mov word [ebp - 0x16], ax
pop eax
push edi
xor edi, edi
inc edi
push edi
push eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x14], esi
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f382
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, esi
jmp 0x40f424
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea eax, [ebp + 8]
push eax
push 0x8004667e
push esi
mov dword [ebp + 8], edi
call ebx
cmp eax, 0xffffffff
jne 0x40f3aa
or edi, eax
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
jmp 0x40f423
push 0x10
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x220], edi
call dword [sym.imp.WS2_32.dll_connect]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x220]
push eax
xor edi, edi
push edi
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40f421
lea eax, [ebp - 0x11c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x40f39f
lea eax, [ebp + 8]
push eax
push 0x8004667e
push esi
mov dword [ebp + 8], edi
call ebx
push dword [ebp + 0x10]
push esi
call fcn.0040f26d
pop ecx
pop ecx
mov eax, esi
jmp 0x40f423
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x40f43e
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
push edi
push dword [ebp + 0x14]
xor edi, edi
push dword [ebp + 0x10]
push ebx
jmp 0x40f473
cmp eax, 0x2746
je 0x40f47c
add edi, eax
cmp edi, dword [ebp + 0x10]
jge 0x40f47c
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp + 8]
call esi
test eax, eax
jg 0x40f458
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3b6a4e93
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x37c84ac4
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x415172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4151a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4151a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x415dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00415f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00415f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00415eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00415f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00415ecb
push ecx
push dword [ebp + 8]
call fcn.00415f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00415f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00415ecb
push ecx
push dword [ebp + 8]
call fcn.00415f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00415f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00415ecb
push ecx
push dword [ebp + 8]
call fcn.00415f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00415f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00415ecb
cmp ecx, 0x2b
jne 0x415e0f
leave
ret 0xc

Function at 0x4174b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x417544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x98b0
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4175d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x98b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x98b0
call fcn.004173fa
push 0x98b0
push dword [ebp + 0xc]
call fcn.004151a8
test eax, eax
jne 0x4175b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x98b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004175dd
test eax, eax
je 0x4175d6
jmp 0x417574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4175d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x41760b
Capabilities:
Terminate process

Disassembly:
call fcn.00417618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x1006225
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
je 0x100625b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x100625f
xor eax, eax
jmp 0x1006275
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
push 0x400
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x1007528
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x1007563
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1007540
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x100757f
dec esi
je 0x1007578
dec esi
jne 0x1007584
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x417c10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push 0x14
push 0x40
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push str.GlobalPCI_661
push 0
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [0x4c6a9c], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0xc]
mov ebx, eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x4c7470
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 1
push esi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test ebx, ebx
je 0x417cb0
mov eax, dword [0x4c6aa0]
push 0x4c678c
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x14

Function at 0x48b347
Capabilities:
Encode data using xor

Disassembly:
out 0x1e, al
arpl word [ecx], sp
test eax, 0xb3ae691e
sub dword [ecx - 0x5c6b2cc3], esp
fild dword [edx]
daa
cli
je 0x48b305
in al, dx
xchg esp, eax

Function at 0x4ba6ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3358
cmp edx, dword [eax]
je 0x4ba6cf
add eax, 8
inc ecx
cmp eax, 0x4c33e8
jl 0x4ba6c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3358]
jne 0x4ba7fd
mov eax, dword [0x4c7cec]
cmp eax, 1
je 0x4ba7d7
test eax, eax
jne 0x4ba700
cmp dword [0x4c3284], 1
je 0x4ba7d7
cmp edx, 0xfc
je 0x4ba7fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba737
lea eax, [ebp - 0x1a4]
push 0x4bfa18
push eax
call fcn.004bb090
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb520
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba77a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb520
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfa14
push edi
call fcn.004bd3f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bf9f8
push eax
call fcn.004bb090
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb0a0
lea eax, [ebp - 0xa0]
push 0x4bf9f4
push eax
call fcn.004bb0a0
push dword [esi + 0x4c335c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb0a0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf9cc
push eax
call fcn.004bd364
add esp, 0x2c
pop edi
jmp 0x4ba7fd
lea eax, [ebp + 8]
lea esi, [esi + 0x4c335c]
push 0
push eax
push dword [esi]
call fcn.004bb520
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 0x443f84
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00444134
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x444082
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x444025
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x444068
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x44403c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x444057
test al, 0x40
je 0x44404e
mov ecx, dword [edi + 0x20]
jmp 0x444055
test al, 0x80
je 0x444068
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x444068
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x443ff4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1002f3f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1002f42e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1002f426
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1002f430
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1002f416
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1002f500
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1002f516
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1002f531
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x10036384
Capabilities:
Encode data using xor

Disassembly:
call 0x100362fd
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1003632d
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10036349
xor edx, 0
jmp 0x10036354
xor edx, edx
jmp 0x1003636b
jmp 0x10036377
xor eax, eax
push 0x8427d7c0
call 0x10036384
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100363c0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x10036399
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100363d7
add eax, 0
jno 0x100363dc
add esi, 0
ret 0x10