joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1055ff0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1055f9f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1055fbd
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x105601b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1056002
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x105600b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1056015
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1055ff7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1055f81
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1056068
dec eax
je 0x105605f
sub eax, 3
je 0x1056056
mov dword [ebp - 4], 0x40
jmp 0x1056085
mov dword [ebp - 4], 4
jmp 0x105606b
mov dword [ebp - 4], 0x20
jmp 0x105606b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10560b7
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1056037
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.010558c8
daa
push edi
pop es
mov cl, 0xff
jne 0x10560c2
push 1
push esi
call edi
mov eax, esi
jmp 0x10560c3
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1057ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
movsx esi, word [ebp + 0xc]
push edi
imul esi, esi, 0x1d0
mov edi, dword [ebx]
mov eax, dword [edi + 0x154]
mov ecx, dword [eax]
add esi, dword [ebx + 4]
lea eax, [ebp + 0xc]
mov edx, dword [esi + 0x20]
push eax
mov dword [ebp - 8], ecx
lea ecx, [ebp + 8]
push ecx
push esi
push ebx
mov dword [ebp + 8], 0
mov dword [ebp - 4], edx
call fcn.01051840
mov eax, dword [ebx + 0x10794]
test eax, eax
jne 0x1057f28
mov edx, dword [esi]
cmp word [edx + 0x72], ax
jne 0x1057f28
mov ecx, dword [ebx + 0x10790]
xor ecx, dword [edi + 0x11c]
je 0x1057f28
xor ecx, ecx
jmp 0x1057f2b
mov ecx, dword [ebp + 8]
test eax, eax
jne 0x1057f66
cmp dword [edi + 0x11c], eax
je 0x1057f66
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x44]
push edx
mov edx, dword [esi]
push eax
movsx eax, word [edx + 0x76]
push 0
push ecx
movsx ecx, word [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
lea edx, [esi + 0x1c]
push edx
push eax
push ecx
push ebx
call fcn.01053e70
jmp 0x1057fc1
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x44]
push edx
mov edx, dword [esi]
push eax
movsx eax, word [edx + 0x76]
push 0
push ecx
movsx ecx, word [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
lea edx, [esi + 0x1c]
push edx
push eax
push ecx
push ebx
call fcn.01053e70
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push 0x1c
push edx
mov edx, dword [ebp - 8]
push eax
push ecx
push edx
push ebx
call fcn.01051930
mov eax, dword [esi]
movzx ecx, word [eax + 0x76]
mov edx, dword [esi + 4]
mov eax, dword [ebp - 4]
push ecx
push edx
push eax
push esi
push ebx
call fcn.01054e10
xorps xmm0, xmm0
mov eax, 2
movss dword [esi + 0x18c], xmm0
cmp dword [edi + 0x3c], eax
jle 0x105804b
cmp dword [ebx + 0x10954], eax
je 0x1058022
mov ecx, dword [edi + 0x154]
xor edx, edx
cmp dword [ecx], edx
jle 0x105804b
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0xf984]
jmp 0x1057ff8
mov ecx, dword [ebp + 0xc]
movss xmm1, dword [ecx]
mulss xmm1, dword [eax]
add ecx, 4
addss xmm0, xmm1
movss dword [esi + 0x18c], xmm0
mov dword [ebp + 0xc], ecx
mov ecx, dword [edi + 0x154]
inc edx
add eax, 4
cmp edx, dword [ecx]
jl 0x1057ff5
jmp 0x105804b
mov edx, dword [edi + 0x154]
xor eax, eax
cmp dword [edx], eax
jle 0x105804b
mov ecx, dword [esi + 0x18]
addss xmm0, dword [ecx]
movss dword [esi + 0x18c], xmm0
mov edx, dword [edi + 0x154]
inc eax
add ecx, 4
cmp eax, dword [edx]
jl 0x1058031
cmp dword [ebx + 0x1079c], 0
jne 0x1058069
mov eax, dword [esi]
movzx ecx, word [eax + 0x76]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
push ebx
call fcn.01055ff0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x106d4e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x1f4]
mov eax, dword [ebp + 8]
movss xmm2, dword [0x1002fd4]
push ebx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
movss xmm0, dword [ecx + 0x254]
xor ebx, ebx
push esi
mov esi, dword [eax]
movaps xmm1, xmm2
movss dword [ebp + 8], xmm1
movss dword [ebp + 0x10], xmm0
cmp dword [eax + 0x107ac], ebx
je 0x106d604
cmp dword [esi + 0x48], 4
je 0x106d604
movzx eax, word [esi + 0x22]
imul eax, dword [esi + 0x100]
push edi
xor edi, edi
test eax, eax
jle 0x106d588
movzx ecx, word [esi + 0x6e]
mov edx, dword [esi + 0x58]
mov eax, dword [ebp - 4]
push edi
push ecx
mov ecx, dword [esi + 0x20c]
push edx
push eax
call ecx
cdq
xor eax, edx
sub eax, edx
movzx edx, word [esi + 0x22]
cmp eax, ebx
cmovg ebx, eax
imul edx, dword [esi + 0x100]
inc edi
cmp edi, edx
jl 0x106d543
movss xmm2, dword [0x1002fd4]
movss xmm0, dword [ebp + 0x10]
movss xmm1, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movzx ecx, word [esi + 0x6e]
dec ecx
mov eax, 1
shl eax, cl
xorps xmm3, xmm3
xorps xmm4, xmm4
cvtsi2ss xmm3, ebx
pop edi
cvtsi2ss xmm4, eax
divss xmm3, xmm4
comiss xmm3, dword [0x1007174]
movss dword [ebp + 0xc], xmm3
jbe 0x106d5d2
fld dword [ebp + 0xc]
fld qword [0x10072d8]
fsub st(1), st(0)
fxch st(1)
fmul qword [0x1015ad8]
faddp st(1)
fstp dword [ebp + 8]
movss xmm1, dword [ebp + 8]
addss xmm0, xmm2
mulss xmm0, dword [0x100341c]
comiss xmm0, xmm1
ja 0x106d5e6
movaps xmm1, xmm0
comiss xmm1, dword [0x10072e0]
jbe 0x106d5f2
movaps xmm1, xmm2
pop esi
movss dword [edx + 0x254], xmm1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop esi
movss dword [edx + 0x254], xmm2
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x106e090
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x218]
mov ecx, dword [edx + 0x120]
push ebx
push esi
mov esi, dword [eax]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [edi], ebx
mov dword [ebp + 0xc], ecx
cmp dword [eax + 0x10908], ebx
jne 0x106e246
mov eax, dword [eax]
mov ecx, dword [eax + 0x100]
cmp dword [eax + 0x48], 4
mov edx, ecx
cmove edx, ebx
cmp ecx, 0x80
jle 0x106e0e3
mov ecx, 0x80
mov eax, edx
cdq
idiv ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], eax
cmp eax, ebx
jle 0x106e246
xorps xmm4, xmm4
mov dword [ebp - 0x1c], ebx
nop
movss dword [ebp - 4], xmm4
movss dword [ebp - 8], xmm4
movss dword [ebp - 0xc], xmm4
movss dword [ebp - 0x10], xmm4
test ecx, ecx
jle 0x106e229
mov dword [ebp - 0x14], ecx
nop
movzx edx, word [esi + 0x6e]
mov eax, dword [esi + 0x58]
mov ecx, dword [ebp + 0xc]
push ebx
push edx
mov edx, dword [esi + 0x20c]
push eax
push ecx
call edx
movzx ecx, word [esi + 0x6e]
mov edx, dword [esi + 0x58]
mov edi, eax
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi + 0x20c]
push edx
push eax
call ecx
mov ecx, eax
lea eax, [ecx + edi]
cdq
xor eax, edx
sub eax, edx
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
addss xmm0, dword [ebp - 4]
mov eax, edi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
addss xmm1, dword [ebp - 8]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
addss xmm2, dword [ebp - 0xc]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
addss xmm3, dword [ebp - 0x10]
add ebx, 2
dec dword [ebp - 0x14]
movss dword [ebp - 4], xmm0
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x10], xmm3
jne 0x106e120
xorps xmm4, xmm4
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x106e223
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x106e223
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jnp 0x106e223
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jnp 0x106e223
comiss xmm0, xmm1
jbe 0x106e1f4
divss xmm0, xmm1
jmp 0x106e1fb
divss xmm1, xmm0
movaps xmm0, xmm1
comiss xmm2, xmm3
jbe 0x106e206
divss xmm2, xmm3
jmp 0x106e20d
divss xmm3, xmm2
movaps xmm2, xmm3
movss xmm1, dword [0x1015ae0]
comiss xmm1, xmm0
ja 0x106e255
comiss xmm2, dword [0x1015ab4]
ja 0x106e255
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
inc edi
lea edx, [ecx + ecx]
add ebx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
cmp edi, eax
jl 0x106e100
mov edi, dword [ebp + 0x10]
mov dword [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1079bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov dword [ebp - 8], ecx
movsx ecx, word [esi + 0x20]
xor edx, edx
xor eax, eax
cmp ecx, dword [ebp + 0x10]
jge 0x1079d61
push ebx
lea ebx, [ebx]
mov ecx, dword [edi + 0x7c]
mov ebx, dword [edi]
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp + 8], edx
cmp ecx, edx
je 0x1079c1c
cmp ecx, 3
jne 0x1079d06
jmp 0x1079c60
lea edx, [ebp - 4]
push edx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [edi + 0xe0]
push eax
push 0x101fbe0
call fcn.0107fa60
test eax, eax
js 0x1079d60
mov eax, dword [ebp + 0xc]
push eax
lea eax, [edi + 0xe0]
push eax
call fcn.01075560
test eax, eax
js 0x1079d60
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x1079caa
lea ecx, [ebp + 0xc]
push ecx
push 0xe
lea edx, [edi + 0xe0]
push edx
mov dword [edi + 0x7c], 3
call fcn.01075230
test eax, eax
js 0x1079d60
mov ecx, dword [ebp + 0xc]
shr ecx, 6
mov word [ebx + 0x1e], cx
mov edx, dword [ebp + 0xc]
and edx, 1
dec edx
mov dword [ebx + 0x24], edx
mov ecx, dword [ebp + 0xc]
sar ecx, 1
and ecx, 0x1f
mov word [ebx + 0x1c], cx
mov dword [edi + 0x7c], 0
jmp 0x1079d06
cmp ecx, 1
jne 0x1079cc8
mov cx, word [ebx + 0x130]
sub cx, word [ebx + 0x20]
xor edx, edx
dec cx
mov word [ebx + 0x1e], dx
mov word [ebx + 0x1c], cx
jmp 0x1079d06
push 1
lea eax, [edi + 0xe0]
push eax
call fcn.01075560
test eax, eax
js 0x1079d60
mov edx, dword [ebp + 8]
movzx ecx, word [edx*2 + 0x102012c]
mov word [ebx + 0x1c], cx
mov edx, dword [ebp + 8]
movzx ecx, word [edx*2 + 0x102021c]
mov word [ebx + 0x1e], cx
mov edx, dword [ebp - 4]
shr edx, 0x1f
dec edx
mov dword [ebx + 0x24], edx
test eax, eax
js 0x1079d60
movzx ecx, word [esi + 0x24]
mov dx, word [esi + 0x1e]
xor dx, cx
sub dx, cx
movzx ecx, word [esi + 0x1c]
mov word [esi + 0x1e], dx
movzx edx, word [esi + 0x20]
movsx ebx, cx
movsx edx, dx
add ebx, edx
cmp ebx, dword [ebp + 0x10]
jge 0x1079d60
movzx edx, word [esi + 0x20]
add ecx, edx
mov edx, dword [ebp - 8]
mov word [esi + 0x20], cx
movsx ecx, cx
lea ecx, [edx + ecx*4]
movsx edx, word [esi + 0x1e]
add dword [ecx], edx
inc word [esi + 0x20]
xor edx, edx
mov dword [edi + 0x7c], edx
movsx ecx, word [esi + 0x20]
cmp ecx, dword [ebp + 0x10]
jl 0x1079c00
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405d43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x405d52
pop dword [ebp - 0x10]
mov eax, 0x98e6b6e0
sub eax, 0x98a6598e
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xeec015c
sub dword [ebp - 0x20], 0xc099bc11
mov dword [ebp - 0x1c], 0xbebae99f
add dword [ebp - 0x1c], 0x737862a6
mov dword [ebp - 0x18], 0x423bad46
sub dword [ebp - 0x18], 0xf5ef6918
mov dword [ebp - 0x14], 0xa8833b2f
sub dword [ebp - 0x14], 0xa8833b2f
lea eax, [ebp - 0x20]
push eax
mov eax, 0x3f685b2a
add eax, 0xc0d8161a
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x5891590a
sub dword [ebp - 0x20], 0xe41eefb4
mov dword [ebp - 0x1c], 0x3089612a
add dword [ebp - 0x1c], 0x10e3004b
mov dword [ebp - 0x18], 0x393bb6f6
sub dword [ebp - 0x18], 0xd5cc4a8a
mov dword [ebp - 0x14], 0x4052f898
sub dword [ebp - 0x14], 0x4052f898
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x2155918e
add eax, 0xdeeadf82
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x322a9
push 0
call eax
mov ecx, 0xa23f2ec7
add ecx, 0x5dc10619
mov esi, eax
mov edx, 0x436000
add edx, dword [ebp - 0x10]
mov ebx, 0x432c5e01
add ebx, 0x6a23f3ed
sub dword [ebp - 8], ebx
mov edi, dword [edx]
xor dword [ebp - 8], esi
add edi, ebx
mov dword [ebp - 4], 0x9973da16
mov dword [esi], edi
mov dword [ebp - 8], 0x95e9007f
add esi, 4
add edx, 0xe00ae52e
sub edx, 0xe00ae52a
loop 0x405e6e
add eax, 0xc653
xor ebx, ebx
add ebx, eax
add eax, 0x736e810d
sub eax, 0x736e8108
mov ecx, 0x35f6babd
sub ecx, 0x35b6babd
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10028107
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

Function at 0x10028107
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10028116
pop dword [ebp - 0x4c]
mov eax, 0x10028116
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x419ec
push 0
mov eax, 0x2dfa091
add eax, 0xd2350cb
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x6713c3c8
sub ecx, 0x67137651
mov esi, eax
mov edx, 0x741f0da8
add edx, 0x9be59e58
add edx, dword [ebp - 0x4c]
mov ebx, 0xe361e607
add ebx, 0x9c2777
sub dword [ebp - 0x30], 0x9087f1f4
mov edi, dword [edx]
xor dword [ebp - 0x1c], ecx
xor edi, ebx
add dword [ebp - 0x2c], 0x3572b706
mov dword [esi], edi
add dword [ebp - 0x44], 0x2705ad0a
add esi, 0xc0486b8b
add esi, 0x3fb79479
add edx, 0xf4c3798f
sub edx, 0xf4c3798b
loop 0x10028170
add eax, 0x76bfbcf2
sub eax, 0x76be9443
mov ebx, eax
add eax, 0xedc72d71
sub eax, 0xedc72d6c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x1000c09c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push 0x6c078965
push dword [esp + 0xc]
or dword [esi + 0x1384], 0xffffffff
call fcn.10016f0c
mov eax, esi
pop esi
ret 4

Function at 0x1000dcb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x103b33c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp byte [eax], 0xcf
jne 0x1000dd75
cmp byte [0x103b5c91], 0
je 0x1000dce3
xor al, al
jmp 0x1000dd77
cmp byte [0x103b5c90], 0
je 0x1000dd75
push edi
lea ecx, [ebp - 0x90]
call fcn.1000c481
push 0x44
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.1009c788
lea eax, [ebp - 0x91]
mov ecx, esi
push eax
call fcn.10003655
push 0x44
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
call fcn.1009c55f
lea ecx, [ebp - 0x4c]
call fcn.1000c481
and dword [ebp - 8], 0
lea esi, [ebp - 0x90]
push 0x11
pop ecx
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x103b5c94]
mov ecx, 0x10156030
mov dword [ebp - 8], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10004985
call esi
mov dword [0x103b5c94], eax
pop edi
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100b7398
leave
ret 0x10

Function at 0x1000f109
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x1000f11c
lea edi, [esi + 0xd50]
mov ebp, 0x18c
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ecx, eax
lea edi, [edx + 4]
mov ebx, dword [edi]
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x1000f163
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], ebp
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x1000f1d7
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x1000f1e0
pop esi
ret
Function at 0x10016f0c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0x10016f21
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8
Function at 0x100242b1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x103b33c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x10024309
cmp byte [esi + 0x3d], bl
je 0x10024309
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10024343
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x1002431a
sub eax, 1
je 0x1002431d
dec eax
sub eax, 1
jne 0x10024343
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7398
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002433b
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10024343
cmp byte [esi + 0x3d], bl
sete al
jmp 0x1002430b
xor al, al
jmp 0x1002430b
Function at 0x1002883e
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x103b33c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push ebp
or ebp, 0xffffffff
push edi
mov edi, ecx
cmp ebx, ebp
jne 0x10028863
xor eax, eax
jmp 0x10028935
push esi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x10028890
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
mov ecx, edi
mov esi, eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, esi
jae 0x10028890
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
jmp 0x100288ff
cmp dword [edi + 0x4c], 0
je 0x10028932
mov ecx, edi
call fcn.1002534d
mov ecx, dword [edi + 0x38]
mov al, bl
test ecx, ecx
jne 0x100288b0
push dword [edi + 0x4c]
push eax
jmp 0x100288f3
mov byte [esp + 0x10], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x10028903
sub eax, 1
je 0x10028903
dec eax
sub eax, 1
jne 0x10028932
push dword [edi + 0x4c]
push dword [esp + 0x14]
call fcn.1001b637
test al, al
pop ecx
pop ecx
cmove ebx, ebp
mov eax, ebx
jmp 0x10028934
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub esi, eax
je 0x10028923
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x10028932
lea eax, [esp + 0x10]
mov byte [edi + 0x3d], 1
cmp dword [esp + 0x18], eax
cmovne ebp, ebx
mov eax, ebp
pop esi
mov ecx, dword [esp + 0x38]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b7398
add esp, 0x30
ret 4