joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e8d0
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp], eax
push ebx
push esi
mov ebx, ecx
call fcn.00477ef0
cmp eax, 0x600
jb 0x44e913
mov ecx, dword [ebx]
movzx eax, byte [esp + 0x10]
push eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov ecx, esi
call dword [0x523720]
call esi
pop esi
pop ebx
mov ecx, dword [esp]
xor ecx, esp
call fcn.00502f8e
pop ecx
ret 4
mov ecx, dword [ebx + 8]
mov al, byte [esp + 0x10]
mov byte [ecx + 0x68], al
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44e98f
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005030d4
add esp, 4
mov edi, eax
push esi
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 8
push 0x102
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.005030dd
add esp, 4
pop edi
mov ecx, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.00502f8e
pop ecx
ret 4
Function at 0x450800
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x268
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push esi
mov esi, dword [esp + 0x278]
lea eax, [esp + 0x16c]
push edi
push 0x80
push 0x52452c
push eax
push 0x5323d4
push dword [0x54e830]
call fcn.004ae6d0
cmp word [esp + 0x170], 0
lea eax, [esp + 0x170]
push 0x100
push eax
setne bl
call fcn.0049a3e0
mov edi, dword [esp + 0x278]
lea eax, [esp + 0xc]
push edi
test bl, bl
je 0x4508aa
push 0x5323dc
push 0x32
push eax
call fcn.004027c0
add esp, 0x10
lea eax, [esp + 0xc]
push 0x80
push 0x52452c
push esi
push eax
push dword [0x54e830]
call fcn.004ae6d0
cmp word [esi], 0
jne 0x45092a
xor al, al
jmp 0x4509e5
push str.PE_d
push 0x32
push eax
call fcn.004027c0
push 0x100
lea eax, [esp + 0x84]
push 0
push eax
call fcn.00505530
add esp, 0x1c
lea eax, [esp + 0x70]
push 0x100
push 0
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x54e830]
call fcn.004ae560
mov edx, eax
test edx, edx
je 0x4508a3
xor ecx, ecx
test edx, edx
jle 0x450902
lea eax, [ecx + 0x49]
xor byte [esp + ecx + 0x70], al
inc ecx
cmp ecx, edx
jl 0x4508f6
push 0x80
push esi
lea eax, [esp + 0x78]
push eax
call fcn.004a0050
xor eax, eax
mov word [esi + 0xfe], ax
lea eax, [esp + 0x70]
push 0x100
push eax
call fcn.0049a3e0
push edi
push 0x5323f0
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.004027c0
add esp, 0x10
lea ebx, [esi + 0x100]
lea eax, [esp + 0xc]
push 0xc8
push 0x52452c
push ebx
push eax
push dword [0x54e830]
call fcn.004ae6d0
push edi
push 0x5323f8
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.004027c0
add esp, 0x10
lea eax, [esi + 0x290]
push 0x800
push 0x52452c
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x54e830]
call fcn.004ae6d0
push edi
push 0x532400
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.004027c0
add esp, 0x10
lea eax, [esp + 0xc]
push 0
push eax
push dword [0x54e830]
call fcn.004ae540
test eax, eax
push 0xc8
setne al
cmp word [ebx], 0
mov byte [esi + 0x1420], al
lea eax, [esi + 0x1290]
je 0x4509dc
push ebx
jmp 0x4509dd
push esi
push eax
call fcn.0049ce90
mov al, 1
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x268
ret 8

Function at 0x459f50
Capabilities:
Check if file exists

Disassembly:
mov byte [ecx + 0x3328], 0
jmp fcn.00472d30
Function at 0x462250
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x59798c], 2
jl 0x462275
movaps xmm0, xmmword [0x532680]
movaps xmmword [0x585bb0], xmm0
movaps xmm0, xmmword [0x532670]
movaps xmmword [0x585bc0], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.00505530
mov dword [esi + 0x100], 0
add esp, 0xc
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov eax, dword [esi + 0xf4]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x4624e0
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.00505530
add esp, 0xc
mov dword [edi + 0xb48], 0
lea eax, [edi + 0x840]
push 1
push 0
push eax
call fcn.00462250
mov dword [esp + 8], 0
lea esi, [edi + 0xf4]
cmp dword [0x59798c], 2
jl 0x46254a
movaps xmm0, xmmword [0x532680]
movaps xmmword [0x585bb0], xmm0
movaps xmm0, xmmword [0x532670]
movaps xmmword [0x585bc0], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.00505530
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov dword [eax], 0x6a09e667
mov eax, dword [esi]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi]
xor dword [eax], 0x2080020
mov eax, dword [esi]
xor dword [eax + 8], ecx
inc ecx
mov eax, dword [esi]
add esi, 0x108
mov dword [esp + 8], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x462525
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
pop ecx
ret 4
Function at 0x4627e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e42b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5513d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x14]
call fcn.004872b0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov eax, dword [ebp + 8]
push 0x40000
push eax
push 0x462e20
mov dword [edi], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 1
mov dword [edi + 4], 0
call fcn.00487690
lea ecx, [edi + 0x14]
call fcn.00487450
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x466b70
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
xor eax, eax
push esi
push edi
mov word [ebp + 0xa532], ax
mov byte [ebp + 0xa529], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebx
call fcn.0049c630
mov esi, eax
test esi, esi
je 0x466c05
sub esi, ebx
sar esi, 1
add esi, 2
lea eax, [esi + esi]
push eax
call fcn.005097b7
mov edi, eax
add esp, 4
test edi, edi
je 0x466c05
push esi
push edi
push ebx
call fcn.0049c630
mov ebx, eax
test ebx, ebx
je 0x466c05
cmp byte [esp + 0x13], 0
jne 0x466bf5
cmp byte [esp + 0x18], 0
mov ecx, ebp
push edi
je 0x466bf0
call fcn.00466d80
push edi
call fcn.005097b2
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x466b93
call fcn.00466890
push edi
call fcn.005097b2
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x466b93
cmp byte [esp + 0x18], 0
jne 0x466c13
mov ecx, ebp
call fcn.00466c20
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x468fb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x468fe3
test bl, 7
je 0x468fe3
movzx edx, byte [ebx]
inc ebx
movzx ecx, al
xor edx, ecx
shr eax, 8
mov dword [esp + 0x10], ebx
xor eax, dword [edx*4 + 0x5861e0]
sub esi, 1
jne 0x468fc2
cmp esi, 8
jb 0x469079
push edi
mov edi, esi
shr edi, 3
xor eax, dword [ebx]
sub esi, 8
mov ebx, dword [ebx + 4]
mov edx, ebx
shr edx, 0x18
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x5861e0]
xor edx, dword [ecx*4 + 0x5865e0]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5869e0]
mov ecx, eax
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5871e0]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5875e0]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor edx, dword [ecx*4 + 0x5879e0]
movzx ecx, bl
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x14], ebx
xor edx, dword [ecx*4 + 0x586de0]
xor edx, dword [eax*4 + 0x587de0]
mov eax, edx
sub edi, 1
jne 0x468ff2
pop edi
test esi, esi
je 0x46909a
lea ecx, [ecx]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5861e0]
sub esi, 1
jne 0x469080
pop esi
pop ebx
ret 0xc
Function at 0x4690a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebx
test ebp, ebp
je 0x4690f8
mov ecx, dword [esp + 0x24]
lea ecx, [ecx]
test cl, 7
je 0x4690f8
movzx ecx, byte [ecx]
dec ebp
movzx eax, bl
xor ecx, eax
mov dword [esp + 0x28], ebp
shrd ebx, edx, 8
shr edx, 8
xor ebx, dword [ecx*8 + 0x5881e0]
xor edx, dword [ecx*8 + 0x5881e4]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 8], ebx
mov dword [esp + 0x24], ecx
test ebp, ebp
jne 0x4690c0
mov ecx, ebp
mov dword [esp + 0xc], 0
and ecx, 0xfffffff8
push esi
mov esi, dword [esp + 0x28]
lea eax, [ecx + esi]
add ecx, 7
shr ecx, 3
cmp eax, esi
sbb eax, eax
not eax
and eax, ecx
mov dword [esp + 0x14], eax
mov eax, esi
jbe 0x46921f
mov ebp, dword [esp + 0x14]
push edi
lea esp, [esp]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
xor esi, edx
xor ebx, dword [esp + 0x10]
mov eax, esi
shr eax, 0x10
mov ecx, ebx
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov dword [esp + 0x1c], esi
mov edi, dword [edx*8 + 0x5889e0]
mov edx, dword [edx*8 + 0x5889e4]
xor edx, dword [eax*8 + 0x5891e4]
xor edi, dword [eax*8 + 0x5891e0]
movzx eax, byte [esp + 0x1c]
xor edx, dword [eax*8 + 0x5899e4]
xor edi, dword [eax*8 + 0x5899e0]
mov eax, esi
shrd ecx, eax, 0x18
shr eax, 0x18
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x58a1e4]
xor edi, dword [eax*8 + 0x58a1e0]
mov eax, esi
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x58a9e4]
xor edi, dword [eax*8 + 0x58a9e0]
mov eax, esi
shrd ecx, eax, 8
shr esi, 0x18
shr eax, 8
movzx eax, cl
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
xor edx, dword [eax*8 + 0x58b1e4]
xor edi, dword [eax*8 + 0x58b1e0]
xor edi, dword [esi*8 + 0x5881e0]
xor edx, dword [esi*8 + 0x5881e4]
movzx eax, bl
mov ebx, edi
mov dword [esp + 0x10], edi
xor ebx, dword [eax*8 + 0x58b9e0]
xor edx, dword [eax*8 + 0x58b9e4]
mov eax, dword [esp + 0x2c]
add eax, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
cmp ecx, ebp
jb 0x469130
mov ebp, dword [esp + 0x30]
pop edi
pop esi
and ebp, 7
jbe 0x469250
movzx ecx, byte [eax]
movzx eax, bl
xor ecx, eax
mov eax, dword [esp + 0x24]
shrd ebx, edx, 8
inc eax
shr edx, 8
xor ebx, dword [ecx*8 + 0x5881e0]
xor edx, dword [ecx*8 + 0x5881e4]
mov dword [esp + 0x24], eax
sub ebp, 1
jne 0x469225
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret 0x10
Function at 0x469870
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x158
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
mov esi, dword [esp + 0x164]
push edi
mov edi, dword [esp + 0x164]
cmp dword [edi], 2
jne 0x469935
mov eax, dword [edi + 4]
push ebx
push ebp
push 0
push 0
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x134]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x20
push esi
call fcn.0046ad30
xor ebx, ebx
mov dword [edi + 4], 0
xor edx, edx
lea ebp, [ebx - 2]
movzx eax, byte [esp + ebx + 0x124]
mov ecx, ebx
and ecx, 3
shl ecx, 3
shl eax, cl
lea ecx, [ebp - 1]
xor edx, eax
and ecx, 3
movzx eax, byte [esp + ebx + 0x125]
shl ecx, 3
shl eax, cl
mov ecx, ebp
xor edx, eax
and ecx, 3
movzx eax, byte [esp + ebx + 0x126]
shl ecx, 3
shl eax, cl
lea ecx, [ebp + 1]
xor edx, eax
and ecx, 3
movzx eax, byte [esp + ebx + 0x127]
add ebp, 4
shl ecx, 3
add ebx, 4
shl eax, cl
xor edx, eax
cmp ebx, 0x20
jb 0x4698d3
pop ebp
mov dword [edi + 4], edx
pop ebx
cmp dword [edi], 3
jne 0x469ac0
lea eax, [esp + 0xdc]
xor edx, edx
sub esi, eax
lea esp, [esp]
lea ecx, [esp + 0xdc]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, 0x36
mov byte [ecx], al
cmp edx, 0x20
jb 0x469950
lea eax, [esp + 0xc]
mov dword [esp + 0xfc], 0x36363636
push eax
mov dword [esp + 0x104], 0x36363636
mov dword [esp + 0x108], 0x36363636
mov dword [esp + 0x10c], 0x36363636
mov dword [esp + 0x110], 0x36363636
mov dword [esp + 0x114], 0x36363636
mov dword [esp + 0x118], 0x36363636
mov dword [esp + 0x11c], 0x36363636
call fcn.0049bea0
push 0x40
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0049bef0
push 0x20
add edi, 4
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0049bef0
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0049bd80
xor edx, edx
lea ecx, [esp + 0xdc]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, 0x5c
mov byte [ecx], al
cmp edx, 0x20
jb 0x469a00
lea eax, [esp + 0x74]
mov dword [esp + 0xfc], 0x5c5c5c5c
push eax
mov dword [esp + 0x104], 0x5c5c5c5c
mov dword [esp + 0x108], 0x5c5c5c5c
mov dword [esp + 0x10c], 0x5c5c5c5c
mov dword [esp + 0x110], 0x5c5c5c5c
mov dword [esp + 0x114], 0x5c5c5c5c
mov dword [esp + 0x118], 0x5c5c5c5c
mov dword [esp + 0x11c], 0x5c5c5c5c
call fcn.0049bea0
push 0x40
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0049bef0
push 0x20
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0049bef0
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0049bd80
mov ecx, 8
lea esi, [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.00502f8e
add esp, 0x158
ret 8
Function at 0x469ae0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, ecx
test esi, esi
je 0x469b8d
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0x1234
mov ebx, 1
add word [eax + 0x10b8], bp
lea edi, [edi + 1]
movzx edx, word [eax + 0x10b8]
mov ecx, edx
shr ecx, 1
movzx ecx, cl
movzx ecx, word [eax + ecx*4 + 0xba4]
xor word [eax + 0x10ba], cx
mov ecx, edx
shr ecx, 1
movzx ecx, cl
movzx ecx, word [eax + ecx*4 + 0xba6]
sub word [eax + 0x10bc], cx
movzx ecx, word [eax + 0x10bc]
xor ecx, edx
movzx edx, word [eax + 0x10be]
mov word [eax + 0x10b8], cx
mov cx, bx
ror dx, cl
xor dx, word [eax + 0x10ba]
ror dx, cl
movzx ecx, dx
xor word [eax + 0x10b8], cx
mov word [eax + 0x10be], cx
movzx ecx, word [eax + 0x10b8]
shr ecx, 8
xor byte [edi - 1], cl
sub esi, ebx
jne 0x469b00
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x469be0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], edi
mov eax, dword [edi]
xor eax, dword [ecx + 0x10a4]
mov ebp, dword [edi + 8]
xor ebp, dword [ecx + 0x10ac]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
xor eax, dword [ecx + 0x10a8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
xor eax, dword [ecx + 0x10b0]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, 0x1f
mov dword [esp + 0x18], eax
and eax, 3
mov edx, edi
rol edx, 0xb
add edx, ebp
mov esi, dword [ecx + eax*4 + 0x10a4]
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + ecx + 0xfa4]
or ebx, eax
movzx eax, dl
mov edx, ebp
shl ebx, 8
ror edx, 0xf
xor edx, edi
movzx eax, byte [eax + ecx + 0xfa4]
add edx, esi
or ebx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esp + 0x14]
movzx esi, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
movzx eax, dl
shl esi, 8
mov edx, ebp
mov dword [esp + 0x14], edx
mov ebp, ebx
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
mov eax, dword [esp + 0x18]
xor esi, dword [esp + 0x10]
sub eax, 1
mov dword [esp + 0x10], edi
mov edi, esi
mov dword [esp + 0x18], eax
jns 0x469c51
mov ebp, dword [ecx + 0x10a4]
mov edi, dword [esp + 0x24]
xor ebp, ebx
mov dword [edi], ebp
mov eax, dword [ecx + 0x10a8]
xor eax, esi
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x10ac]
xor eax, edx
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x10b0]
xor eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x28]
push eax
call fcn.0046ac70
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x2c
ret 4
Function at 0x469e20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 4]
xor eax, dword [ecx + 0x10a8]
mov edx, dword [edi]
mov ebp, dword [edi + 8]
xor edx, dword [ecx + 0x10a4]
xor ebp, dword [ecx + 0x10ac]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
mov edi, eax
xor edi, dword [ecx + 0x10b0]
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov edi, edi
and eax, 3
mov edx, edi
rol edx, 0xb
add edx, ebp
mov esi, dword [ecx + eax*4 + 0x10a4]
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + ecx + 0xfa4]
or ebx, eax
movzx eax, dl
mov edx, ebp
shl ebx, 8
ror edx, 0xf
xor edx, edi
movzx eax, byte [eax + ecx + 0xfa4]
add edx, esi
or ebx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
movzx esi, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
movzx eax, dl
shl esi, 8
mov edx, ebp
mov ebp, ebx
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
mov eax, dword [esp + 0x18]
xor esi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], edi
mov edi, esi
mov dword [esp + 0x18], eax
cmp eax, 0x20
jl 0x469e60
mov eax, dword [ecx + 0x10a4]
mov edi, dword [esp + 0x24]
xor eax, ebx
push edi
mov dword [edi], eax
mov eax, dword [ecx + 0x10a8]
xor eax, esi
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x10ac]
xor eax, edx
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x10b0]
xor eax, dword [esp + 0x14]
mov dword [edi + 0xc], eax
call fcn.0046ac70
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x469fb0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x469ffd
push ebx
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 8]
cmp eax, 1
sete bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
pop ebx
jne 0x46a00a
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0046abe0
pop ecx
ret 8

Function at 0x46a1a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov word [ecx + 0x10b5], 0
mov byte [ecx + 0x10b4], 0
mov dl, byte [esi]
test dl, dl
je 0x46a1e6
push ebx
xor al, al
xor bl, bl
xor ah, ah
add al, dl
lea esi, [esi + 1]
add ah, dl
rol al, 1
xor bl, dl
mov byte [ecx + 0x10b4], ah
mov byte [ecx + 0x10b5], bl
mov byte [ecx + 0x10b6], al
mov dl, byte [esi]
test dl, dl
jne 0x46a1c2
pop ebx
pop esi
ret 4
Function at 0x46a1f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xba4]
push eax
call fcn.004692a0
mov edi, dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46a210
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00468fb0
mov word [esi + 0x10b8], ax
shr eax, 0x10
mov word [esi + 0x10ba], ax
xor eax, eax
mov dword [esi + 0x10bc], eax
mov dl, byte [edi]
test dl, dl
je 0x46a283
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
movzx eax, dl
lea edi, [edi + 1]
movzx edx, dl
lea ecx, [esi + eax*4]
movzx eax, word [ecx + 0xba4]
xor ax, dx
xor bp, ax
mov word [esi + 0x10bc], bp
movzx eax, word [ecx + 0xba6]
add ax, dx
add bx, ax
mov word [esi + 0x10be], bx
mov dl, byte [edi]
test dl, dl
jne 0x46a247
pop ebp
pop ebx
pop edi
pop esi
ret 4