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

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x498e49
mov esi, edi
mov edi, eax
jmp 0x498e4b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x498e5b
mov eax, ebx
jmp 0x498e65
push eax
push ebx
call fcn.00461060
add esp, 8
test eax, eax
jne 0x498e6d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x498e89
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x498e74
cmp eax, dword [esi + 4]
jge 0x498ea0
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x498e90
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x498ec1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x498ebe
dec eax
test eax, eax
jg 0x498eb0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4b0020
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x4b0040
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x4b25b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x4b276d
call fcn.004b25c6
Function at 0x501c80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x501d8c
test eax, eax
je 0x501d8c
push esi
push edi
mov ecx, 0x10
mov esi, 0x51cff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x501d73
lea edi, [eax + 4]
jmp 0x501cd7
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x501cec
mov dword [ebp - 4], 2
jmp 0x501d0d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x501d03
mov dword [ebp - 4], 1
jmp 0x501d0d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x501d83
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x501d46
mov byte [ecx], 0x3d
jmp 0x501d52
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x501d5d
mov byte [ecx], 0x3d
jmp 0x501d63
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x501cd4
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5af502
Capabilities:
Parse pe header

Disassembly:
push 0xb53694ab
call fcn.00582f2c

Function at 0x5af50c
Capabilities:
Parse pe header

Disassembly:
mov byte [ebp - 0x13], 0x2e
jmp 0x68b3df
push ebx
jmp 0x65cd6b
push ebp
btr ax, di
mov ebp, esp
sub eax, 0x558b7c2e
sub esp, 0x16c
and eax, esp
rcr al, 0x59
mov eax, dword [0x4ebe10]
stc
xor eax, ebp
jmp 0x79ed30
push edi
jmp 0x855846
mov byte [ebp - 0x15], 0x6c
jmp 0x75a4d0
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], 0x6c
jmp loc.0041438e
push esi
jmp 0x5b5f1a
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
jmp 0x744db0
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0
jmp 0x7c0271
mov byte [ebp - 0x14], 0x6c
jmp 0x567bde
mov byte [ebp - 0x16], 0x64
jmp 0x5c3714
push eax
jmp 0x7b5d17
mov dword [ebp - 4], eax
jmp 0x5a80dc
mov byte [ebp - 0x25], 0x6e
jmp 0x5d385e
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
jmp 0x791c56
call edi
lea ecx, [ebp - 0x28]
mov bl, 0x65
push ecx
not si
mov esi, eax
jmp 0x85313d
mov byte [ebp - 0x26], 0x72
jmp 0x7b2771
mov byte [ebp - 0x28], 0x6b
mov byte [ebp - 0x27], bl
jmp 0x8507ce
call 0x6a88a7
lea eax, [ebp - 0x18]
jmp 0x79b732
Function at 0x5d9eca
Capabilities:
Encode data using xor

Disassembly:
push 0xef235c44
call fcn.007f5b6c
mov al, 0xda
jnp 0x5d9efa
dec edi
das
rcr byte [0xdf932475], 0xd
sal cl, cl
test dword [ebx - 0x2b], esi
rol dword [edx + 0x2ef0a185], 1
mov eax, dword [0x7b5b2046]
ficomp dword [edx - 0x24]
jmp 0x501b982b
cmp bl, byte [esi]
jne 0x5d9f2d
hlt
inc edx
push ecx
xor eax, 0xa5ce0a74
push esp
mov ebx, 0x4c531471
cmp esp, edi
daa
dec ebp
invalid
push eax
sti
outsb dx, byte [esi]
lcall 0x61b1, 0x82ebfbaf
cmp al, ah
dec edx
rcr byte [eax - 0x1fa0850d], cl
jno 0x5d9f13
retf 0x8f41
Function at 0x7586c5
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push 0x977afcff
call fcn.00619b5f
push 0x57091445
call fcn.005df894
Function at 0x85a442
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [ecx]
push edx
movzx edx, ax
mov edx, dword [eax + 4]
jmp 0x76854d
push ebx
jmp 0x73ea2c
push 0x104
jmp loc.00426ea7
mov edx, dword [esp + 0x30]
push 2
jmp 0x7ed39c
lea esi, [esp + 0x1f4]
xchg edi, edi
mov edi, 0x4f6a84
call fcn.00410450
lea esi, [esp + 0x1e4]
mov dword [esp + 0x1c], eax
jmp 0x603b73
jne 0x73591a
call fcn.00410430
lea ecx, [esp + 0x18]
not edx
bswap edx
cwd
push ecx
mov ecx, dword [esp + 0x20]
jmp 0x7a948d
push eax
call fcn.00608d07
test eax, eax
je 0x5dfd6d
lea ecx, [esp + 0x67c]
push ecx
mov edx, 0x79000645
lea edx, [esp + 0xbb8]
jmp 0x5474e0
mov eax, dword [eax]
push ecx
jmp loc.00424961
mov edx, dword [ecx + 4]
jmp 0x53bd33
call fcn.005e3464
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x56fde5
push 0x104
lea edx, [esp + 0x680]
push edx
jmp 0x53c24f
push edx
call fcn.0085a45b
mov dword [esp + 0x30], eax
cmp eax, ebx
jmp 0x5e717a
push 0xd39e954
call fcn.006eaa31
jl 0x56fde5
mov edi, dword [esp + 0x18]
jmp 0x7eac9f
Function at 0x100171f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10017221
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10017210
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x10019df0
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1001a00b
cmp eax, 0x7c
je 0x1001a00b
cmp eax, 0x29
jne 0x10019e31
cmp dword [esi + 0x10], 0
jne 0x1001a00b
cmp eax, eax
jne 0x10019e31
test dword [esi + 0x50], 0x10000000
je 0x1001a018
jmp 0x10019fc4
cmp eax, 0x2e
jne 0x10019e90
push 5
lea ecx, [esi + 0x24]
call fcn.1001a070
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10019e84
cmp word [eax], 0x5c
jne 0x10019e7f
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10019e7f
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10019e6b
movzx edi, word [ecx]
cmp edi, 0x28
je 0x10019e7d
cmp edi, 0x29
je 0x10019e7d
test dl, 0x10
jne 0x10019e7f
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10019e7d
cmp edx, 0x7d
jne 0x10019e7f
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10018b30
jmp 0x10019ff6
cmp eax, 0x5c
jne 0x10019eef
mov ecx, esi
call fcn.10019da0
test byte [esi + 0x50], 0x80
je 0x10019ee3
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x10019ec1
push 4
lea ecx, [esi + 0x24]
call fcn.1001a070
mov ecx, esi
call fcn.10019da0
jmp 0x10019ffd
cmp eax, 0x42
jne 0x10019ee3
push 4
lea ecx, [esi + 0x24]
call fcn.1001a070
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10019da0
jmp 0x10019ffd
mov ecx, esi
call fcn.1001b1d0
jmp 0x10019ff6
cmp eax, 0x5b
jne 0x10019f50
mov ecx, esi
call fcn.10019da0
lea ecx, [esi + 0x24]
call fcn.1001cbe0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10019f1c
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10019da0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10019f3a
cmp eax, 0x5d
jne 0x10019f3a
push eax
lea ecx, [esi + 0x24]
call fcn.1001ccc0
mov ecx, esi
call fcn.10019da0
mov ecx, esi
call fcn.1001c770
cmp dword [esi + 0x4c], 0x5d
jne 0x1001a01f
jmp 0x10019fef
cmp eax, 0x28
jne 0x10019f80
mov ecx, esi
call fcn.10019da0
mov ecx, esi
call fcn.1001b3e0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1001a018
mov ecx, esi
call fcn.10019da0
test bl, bl
je 0x10019ffd
jmp 0x10019ff6
cmp eax, 0x5e
jne 0x10019f98
push 2
lea ecx, [esi + 0x24]
call fcn.1001a070
mov ecx, esi
call fcn.10019da0
jmp 0x10019ffd
cmp eax, 0x24
jne 0x10019fb0
push 3
lea ecx, [esi + 0x24]
call fcn.1001a070
mov ecx, esi
call fcn.10019da0
jmp 0x10019ffd
cmp eax, 0x2a
je 0x1001a011
cmp eax, 0x2b
je 0x1001a011
cmp eax, 0x3f
je 0x1001a011
cmp eax, 0x7b
je 0x1001a011
cmp eax, 0x7d
jne 0x10019fd4
test dword [esi + 0x50], 0x10000000
je 0x1001a026
jmp 0x10019fe2
cmp eax, 0x5d
jne 0x10019fe2
test dword [esi + 0x50], 0x10000000
je 0x1001a01f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1001b650
mov ecx, esi
call fcn.10019da0
mov ecx, esi
call fcn.1001b4f0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10019e03
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.10018b20
push 5
call fcn.10018b20
push 4
call fcn.10018b20
push 6
call fcn.10018b20
int3
Function at 0x1001f2e0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e3ee9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10275008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 7
lea eax, [ebx + 0x180]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
mov edi, dword [sym.imp.MSVCP140.dll__Mtx_destroy_in_situ]
push eax
call edi
add esp, 4
mov byte [ebp - 4], 6
lea esi, [ebx + 0x16c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.100223e0
mov byte [ebp - 4], 6
push 0x58
push dword [esi]
call fcn.101c8702
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x128]
call fcn.10031f70
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x100]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 4
add ecx, 8
call fcn.10118ac0
mov byte [ebp - 4], 3
lea eax, [ebx + 0x60]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea esi, [eax + 8]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x60]
call fcn.10005300
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x48]
call fcn.10005300
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x30]
call fcn.10005300
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x18]
call fcn.10005300
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.10005300
mov byte [ebp - 4], 2
lea eax, [ebx + 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
push eax
call edi
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x15
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10022840
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 1
push 0xa8
push dword [edi]
call fcn.101c8702
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x17
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10022310
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
push 0x98
push dword [edi]
call fcn.101c8702
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x1001f496
push 0xffffffffffffffff
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub eax, 1
jne 0x1001f496
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10023d20
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e4cce
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10275008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.10024190
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov word [ebx + 0xc], 0
mov dword [ebp - 4], 0
lea edi, [ebx + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.100086d0
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.100086d0
mov byte [ebp - 4], 2
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.100086d0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002f680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea esi, [eax - 4]
mov dword [ebx], esi
cmp eax, 4
jne 0x1002f6ca
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi], eax
test eax, eax
je 0x1002f798
push dword [ebx]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [edi]
mov edi, dword [ebp - 8]
mov ebx, dword [eax]
lea esi, [eax + 4]
mov edi, dword [edi]
mov eax, edi
sar eax, 2
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1002f756
nop dword [eax]
mov al, byte [esi]
lea ecx, [esi + 3]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
xor al, bl
mov byte [edx], al
mov eax, ebx
shr eax, 8
xor al, byte [esi + 1]
mov byte [edx + 1], al
mov eax, ebx
shr eax, 0x10
xor al, byte [esi + 2]
add esi, 4
mov byte [edx + 2], al
mov eax, ebx
shr eax, 0x18
xor al, byte [ecx]
mov byte [edx + 3], al
add edx, 4
sub dword [ebp - 0xc], 1
jne 0x1002f710
mov eax, dword [ebp - 8]
mov edi, dword [eax]
imul eax, ebx, 0x343fd
xor ecx, ecx
add eax, 0x269ec3
mov dword [ebp - 8], eax
and edi, 3
je 0x1002f783
dec edx
dec esi
nop dword [eax]
mov al, byte [ebp + ecx - 8]
lea esi, [esi + 1]
xor al, byte [esi]
lea edx, [edx + 1]
inc ecx
mov byte [edx], al
cmp ecx, edi
jb 0x1002f770
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 0x8007000e
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101c837b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1003c5a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e8e6c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10275008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.RC::DmAvCore::IVBusModule.0
mov dword [ebp - 4], 0
lea eax, [edi + 8]
mov dword [edi], vtable.RC::RCRTPLogModule.0
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.RC::IPrepareSend.0
mov byte [ebp - 4], 1
mov dword [eax], vtable.RC::RCSafeDailyStatManager.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [eax + 0x10], 0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.RC::RCRTPLogHandleMgr.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 3
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov byte [ebp - 4], 4
lea ecx, [edi + 0x30]
mov dword [ebp - 0x14], ecx
mov dword [ecx], 0
add ecx, 8
call fcn.1001ee40
mov byte [ebp - 4], 6
lea esi, [edi + 0xd8]
mov dword [ebp - 0x14], esi
lea ecx, [esi + 8]
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
call fcn.1001ee40
mov byte [ebp - 4], 8
mov byte [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov byte [ebp - 4], 9
add esi, 0xb0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100387b0
mov dword [esi], eax
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x190]
call fcn.1001efa0
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x340]
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov byte [ebp - 4], 0xf
sub esp, 0xc
lea ecx, [esi + 4]
call fcn.100eac40
mov byte [ebp - 4], 0x10
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 0x11
push 0x18
call fcn.101c838c
add esp, 4
mov dword [esi + 0x34], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0x13
mov dword [edi + 0x378], 0
add edi, 0x37c
push 0x30
mov dword [ebp - 0x18], edi
call fcn.101c838c
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x14
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [esi + 4], ax
mov byte [ebp - 4], 0x15
mov byte [esi + 0x20], al
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x1c], 0x1770
mov byte [ebp - 4], 0x16
push 0x18
call fcn.101c838c
add esp, 8
mov dword [esi + 0x2c], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0x13
mov dword [edi], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10045790
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push str.A496FA08_DBB5_4914_A013_E3B8E2894EEE
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov ecx, 1
cmove edi, ecx
test esi, esi
je 0x100457c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
push 3
mov dword [esi], edi
call fcn.1006ecd0
xor ecx, ecx
test al, al
push 4
setne cl
mov dword [esi + 4], ecx
call fcn.1006ecd0
movzx eax, al
neg eax
sbb eax, eax
and eax, 2
or dword [esi + 4], eax
call fcn.10045810
xor ecx, ecx
test al, al
pop edi
setne cl
mov dword [esi + 8], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
test edi, edi
je 0x10046b8c
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10046b8b
not dword [edx]
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x10233240]
xor eax, ecx
mov dword [edx], eax
sub esi, 1
jne 0x10046b67
not eax
mov dword [edx], eax
pop esi
pop edi
pop ebp
ret 8