joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d240
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4625b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00417b40
test eax, eax
je 0x41d348
lea ecx, [esp + 0xc]
call fcn.00401090
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00417b40
mov ecx, eax
call fcn.004218e0
test eax, eax
je 0x41d32f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x41d32f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41d32f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004012c0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x41d311
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41d32f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x494718]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x46cf30
call fcn.004012c0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x41d390
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00417b40
test eax, eax
je 0x41d47f
mov ecx, edi
call fcn.00417b40
mov ecx, eax
call fcn.00421790
test eax, eax
jne 0x41d47f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41d47f
mov eax, dword [0x494718]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x41d3f2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00417b40
mov ecx, eax
call fcn.004219c0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x41d47f
cmp ebx, eax
jne 0x41d47f
cmp dword [esp + 0x10], eax
jne 0x41d465
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x42eb70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x494960]
xor edx, edx
cmp eax, edx
jne 0x42eb96
xor eax, eax
mov byte [eax + 0x494860], al
inc eax
cmp eax, 0x100
jl 0x42eb7e
mov dword [0x494960], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x494860
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42ec27
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42ebfa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x42ebc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42eca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x42ecf3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x42ecda
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4368e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x463d38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x436919
inc eax
mov dword [esi + 0x10], eax
jmp 0x436a2c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43692d
mov eax, 0xffffffc7
jmp 0x436a2e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43693e
cmp dword [esi + 8], eax
jne 0x43692d
cmp dword [esi + 8], eax
jne 0x436957
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x436957
mov eax, 0xffffffc7
jmp 0x436a2e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43696b
push eax
mov ecx, ebx
call fcn.00436110
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401090
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43699c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004010e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435880
test eax, eax
mov dword [esp + 0x38], eax
je 0x4369cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46cf30
call fcn.004012c0
mov eax, dword [esp + 0x38]
jmp 0x436a2e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00436740
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x436a13
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00436760
mov esi, eax
test esi, esi
jne 0x436a43
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00436740
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4369e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46cf30
call fcn.004012c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46cf30
call fcn.004012c0
mov eax, esi
jmp 0x436a2e
Function at 0x409540
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
shl eax, 0x18
test eax, eax
jns 0x409554
add eax, eax
xor eax, 0x4c11db7
jmp 0x409556
add eax, eax
test eax, eax
jns 0x409563
add eax, eax
xor eax, 0x4c11db7
jmp 0x409565
add eax, eax
test eax, eax
jns 0x409572
add eax, eax
xor eax, 0x4c11db7
jmp 0x409574
add eax, eax
test eax, eax
jns 0x409581
add eax, eax
xor eax, 0x4c11db7
jmp 0x409583
add eax, eax
test eax, eax
jns 0x409590
add eax, eax
xor eax, 0x4c11db7
jmp 0x409592
add eax, eax
test eax, eax
jns 0x40959f
add eax, eax
xor eax, 0x4c11db7
jmp 0x4095a1
add eax, eax
test eax, eax
jns 0x4095ae
add eax, eax
xor eax, 0x4c11db7
jmp 0x4095b0
add eax, eax
test eax, eax
jns 0x4095bd
add eax, eax
xor eax, 0x4c11db7
jmp 0x4095bf
add eax, eax
mov dword [ecx*4 + 0x51afe0], eax
inc ecx
cmp ecx, 0x100
jl 0x409542
ret

Function at 0x40e880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
push esi
push 0
call dword [0x501384]
push esi
call fcn.00453550
mov ebx, dword [esp + 0x10]
push edi
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00469570
push esi
call fcn.00445500
test al, al
je 0x40e8be
pop edi
pop esi
mov al, 1
pop ebx
ret 0xc
lea eax, [esp + 0x18]
push eax
push 1
xor edx, edx
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
push 0x80000002
mov word [esi], dx
call dword [0x501004]
test eax, eax
jne 0x40e90b
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + edi]
push 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
push 0
push ecx
call dword [section..rdata]
mov edx, dword [esp + 0x18]
push edx
call dword [0x501060]
push esi
call fcn.00453550
push edi
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00469570
push esi
call fcn.00445500
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x414530
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
test esi, esi
jbe 0x41456c
movzx ecx, byte [edi]
xor ecx, eax
shrd eax, edx, 8
and ecx, 0xff
xor eax, dword [ecx*8 + 0x51f418]
shr edx, 8
xor edx, dword [ecx*8 + 0x51f41c]
dec esi
inc edi
test esi, esi
ja 0x414546
pop edi
pop esi
ret 0x10
Function at 0x416980
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jbe 0x4169bd
push esi
mov esi, dword [esp + 8]
push edi
mov edi, edi
movzx eax, word [ecx + 0x851c]
movsx edi, byte [esi]
xor edi, eax
and edi, 0xff
shr ax, 8
xor ax, word [ecx + edi*2 + 8]
dec edx
inc esi
mov word [ecx + 0x851c], ax
test edx, edx
ja 0x416990
pop edi
pop esi
ret 8
mov ax, word [ecx + 0x851c]
ret 8

Function at 0x41dc00
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
jbe 0x41dc34
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
movzx ebx, byte [esi]
mov edi, eax
shr edi, 8
xor edi, ebx
and edi, 0xff
shl eax, 8
xor eax, dword [ecx + edi*4 + 0x1a90]
dec edx
inc esi
test edx, edx
ja 0x41dc11
pop edi
pop esi
pop ebx
movzx eax, ax
ret 8
Function at 0x4343b0
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x53b3f8], 2
push esi
push edi
mov edi, eax
mov esi, ecx
jl 0x4343c4
call fcn.00433250
push 0xf0
push 0
push esi
call fcn.004e7970
mov dword [esi + 0x100], 0
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 4], 0xbb67ae85
mov edx, dword [esi + 0xf4]
mov dword [edx + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x10], 0x510e527f
mov edx, dword [esi + 0xf4]
mov dword [edx + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x18], 0x1f83d9ab
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], edx
mov esi, dword [esi + 0xf4]
or edi, 0x2000
shl edi, 0x10
xor dword [esi + 0xc], edi
add esp, 0xc
pop edi
pop esi
ret 4
Function at 0x435550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fc21b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.00456850
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 1
call fcn.0046a5d0
mov ecx, dword [esi]
push 0x40000
push ecx
push 0x435440
mov ecx, edi
mov dword [esi + 4], eax
call fcn.00456870
mov ecx, edi
call fcn.00456820
mov dword [esi + 0x10], ebx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x435cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fc28b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + 8]
push eax
call fcn.004e7a24
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x435d34
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x4355f0
push ecx
push 0x8a4
push eax
call fcn.004e9726
push edi
call fcn.004e7a24
add esp, 4
mov edx, dword [esi + 4]
push edx
call fcn.0046a7f0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.00456810
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x43ab30
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x43ab5f
test cl, 7
je 0x43ab5f
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x52c930]
dec esi
inc ecx
test esi, esi
ja 0x43ab42
cmp esi, 8
jb 0x43abf8
mov edi, esi
push ebx
shr edi, 3
push ebp
nop
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x52cd30]
mov dword [esp + 0x14], ecx
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x52c930]
mov ecx, edx
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x52d130]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x52d930]
mov ecx, eax
shr ecx, 0x10
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x52dd30]
mov ecx, eax
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x52e130]
mov ecx, dword [esp + 0x14]
movzx edx, dl
xor ebx, dword [edx*4 + 0x52d530]
movzx eax, al
xor ebx, dword [eax*4 + 0x52e530]
sub esi, 8
add ecx, 8
sub edi, 1
mov eax, ebx
jne 0x43ab70
pop ebp
pop ebx
test esi, esi
jbe 0x43ac18
lea esp, [esp]
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x52c930]
dec esi
inc ecx
test esi, esi
ja 0x43ac00
pop edi
pop esi
ret 0xc
Function at 0x43aec0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
test esi, esi
jbe 0x43af03
test bl, 7
je 0x43aeff
movzx ecx, byte [ebx]
movzx edi, al
shrd eax, edx, 8
xor ecx, edi
xor eax, dword [ecx*8 + 0x528930]
shr edx, 8
xor edx, dword [ecx*8 + 0x528934]
dec esi
inc ebx
test esi, esi
ja 0x43aed7
mov dword [esp + 0x1c], esi
mov ecx, esi
shr ecx, 3
lea ecx, [ebx + ecx*8]
mov dword [esp + 0x18], ecx
cmp ebx, ecx
jae 0x43aff1
push ebp
mov ecx, dword [ebx]
xor ecx, eax
mov eax, dword [ebx + 4]
xor eax, edx
mov edx, eax
shr edx, 0x10
movzx esi, dl
mov edi, dword [esi*8 + 0x529130]
mov esi, dword [esi*8 + 0x529134]
mov edx, eax
shr edx, 0x18
movzx edx, dl
xor edi, dword [edx*8 + 0x528930]
xor esi, dword [edx*8 + 0x528934]
mov edx, eax
shr edx, 8
movzx edx, dl
xor edi, dword [edx*8 + 0x529930]
xor esi, dword [edx*8 + 0x529934]
movzx edx, al
xor edi, dword [edx*8 + 0x52a130]
xor esi, dword [edx*8 + 0x52a134]
mov ebp, eax
mov edx, ecx
shrd edx, ebp, 0x18
movzx edx, dl
xor edi, dword [edx*8 + 0x52a930]
xor esi, dword [edx*8 + 0x52a934]
shr ebp, 0x18
mov ebp, eax
mov edx, ecx
shrd edx, ebp, 0x10
movzx edx, dl
xor edi, dword [edx*8 + 0x52b130]
xor esi, dword [edx*8 + 0x52b134]
mov edx, ecx
shrd edx, eax, 8
mov dword [esp + 0x18], eax
shr eax, 8
movzx eax, dl
xor edi, dword [eax*8 + 0x52b930]
xor esi, dword [eax*8 + 0x52b934]
movzx eax, cl
xor esi, dword [eax*8 + 0x52c134]
xor edi, dword [eax*8 + 0x52c130]
add ebx, 8
shr ebp, 0x10
mov eax, edi
mov edx, esi
cmp ebx, dword [esp + 0x1c]
jb 0x43af18
mov esi, dword [esp + 0x20]
pop ebp
and esi, 7
jbe 0x43b019
movzx ecx, byte [ebx]
movzx edi, al
shrd eax, edx, 8
xor ecx, edi
xor eax, dword [ecx*8 + 0x528930]
shr edx, 8
xor edx, dword [ecx*8 + 0x528934]
dec esi
inc ebx
test esi, esi
ja 0x43aff6
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x43b020
Capabilities:
Encode data using xor

Disassembly:
xor dl, dl
push esi
mov esi, dword [esp + 8]
mov byte [ecx + 0x10b6], dl
mov byte [ecx + 0x10b5], dl
mov byte [ecx + 0x10b4], dl
mov al, byte [esi]
cmp al, dl
je 0x43b064
push ebx
mov bl, byte [ecx + 0x10b6]
add byte [ecx + 0x10b4], al
xor byte [ecx + 0x10b5], al
add bl, al
rol bl, 1
inc esi
mov byte [ecx + 0x10b6], bl
mov al, byte [esi]
cmp al, dl
jne 0x43b040
pop ebx
pop esi
ret 4
Function at 0x43b070
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xba4]
push eax
call fcn.0043a9e0
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 0x43b090
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.0043ab30
mov word [esi + 0x10b8], ax
shr eax, 0x10
xor ecx, ecx
xor edx, edx
mov word [esi + 0x10ba], ax
mov word [esi + 0x10be], cx
mov word [esi + 0x10bc], dx
mov al, byte [edi]
test al, al
je 0x43b106
mov edx, edi
lea ecx, [ecx]
movzx ecx, al
mov di, word [esi + ecx*4 + 0xba4]
lea ecx, [esi + ecx*4 + 0xba4]
movzx ax, al
xor di, ax
xor word [esi + 0x10bc], di
mov cx, word [ecx + 2]
add cx, ax
add word [esi + 0x10be], cx
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x43b0d0
pop edi
pop esi
ret 4

Function at 0x43b170
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x43b22a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x43b190
mov ecx, 0x1234
add word [eax + 0x10b8], cx
movzx ecx, word [eax + 0x10b8]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [eax + edx*4 + 0xba4]
xor word [eax + 0x10ba], dx
mov bx, word [eax + 0x10be]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [eax + edx*4 + 0xba6]
sub word [eax + 0x10bc], dx
movzx edx, word [eax + 0x10bc]
xor edx, ecx
mov word [eax + 0x10b8], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x10ba]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x10b8], cx
mov word [eax + 0x10be], cx
movzx ecx, word [eax + 0x10b8]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x43b190
pop esi
pop ebx
pop edi
ret 8

Function at 0x43b230
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x43b240
movzx esi, byte [eax - 1]
mov esi, dword [ecx + esi*4 + 0xba4]
xor dword [ecx + 0x10a4], esi
movzx esi, byte [eax]
mov esi, dword [ecx + esi*4 + 0xba4]
xor dword [ecx + 0x10a8], esi
movzx esi, byte [eax + 1]
mov esi, dword [ecx + esi*4 + 0xba4]
xor dword [ecx + 0x10ac], esi
movzx esi, byte [eax + 2]
mov esi, dword [ecx + esi*4 + 0xba4]
xor dword [ecx + 0x10b0], esi
add eax, 4
sub edx, 1
jne 0x43b240
pop esi
ret 4
Function at 0x43b670
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1d8
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x1ec]
push ebx
mov ebx, dword [esp + 0x1e8]
push esi
mov esi, dword [esp + 0x1e8]
push edi
mov edi, dword [esp + 0x1e8]
mov dword [esp + 0xc], eax
cmp esi, 0x40
jbe 0x43b6e9
lea ecx, [esp + 0xf0]
push ecx
call fcn.00468740
push esi
push edi
lea edx, [esp + 0xf8]
push edx
call fcn.00468bf0
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.00468ca0
lea edi, [esp + 0x1a0]
mov esi, 0x20
xor eax, eax
test esi, esi
jbe 0x43b715
push ebp
mov ebp, edi
lea edx, [esp + 0x164]
sub ebp, edx
jmp 0x43b700
lea ecx, [esp + eax + 0x164]
mov dl, byte [ecx + ebp]
xor dl, 0x36
inc eax
mov byte [ecx], dl
cmp eax, esi
jb 0x43b700
pop ebp
cmp esi, 0x40
jae 0x43b734
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x164]
push 0x36
push eax
call fcn.004e7970
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call fcn.00468740
push 0x40
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00468bf0
mov edx, dword [esp + 0x1f4]
push edx
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.00468bf0
lea ecx, [esp + 0x1c0]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00468ca0
lea eax, [esp + 0x80]
push eax
call fcn.00468740
xor eax, eax
test esi, esi
jbe 0x43b7a7
lea ecx, [esp + 0x160]
sub edi, ecx
lea ecx, [esp + eax + 0x160]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
mov byte [ecx], dl
cmp eax, esi
jb 0x43b793
cmp esi, 0x40
jae 0x43b7c6
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x164]
push 0x5c
push eax
call fcn.004e7970
add esp, 0xc
push 0x40
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.00468bf0
push 0x20
lea ecx, [esp + 0x1c4]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.00468bf0
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00468ca0
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0x1d8
ret 0x14
Function at 0x43b820
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc8
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xd4]
push ebx
mov ebx, dword [esp + 0xe4]
push ebp
mov ebp, dword [esp + 0xe4]
push esi
mov esi, dword [esp + 0xe4]
push edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov ecx, esi
cmp esi, 0x40
jb 0x43b876
mov ecx, 0x40
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.004e7600
mov edx, dword [esp + 0xec]
add esp, 0xc
lea eax, [esp + 0x50]
push eax
mov byte [esp + esi + 0x74], 0
mov byte [esp + esi + 0x75], 0
mov byte [esp + esi + 0x76], 0
mov byte [esp + esi + 0x77], 1
add esi, 4
push esi
lea ecx, [esp + 0x78]
push ecx
push edx
push edi
call fcn.0043b670
mov eax, dword [esp + 0xf8]
dec eax
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
xor ebx, ebx
nop
mov eax, dword [esp + ebx + 0x24]
test eax, eax
jbe 0x43b971
mov ebp, eax
lea ebx, [ebx]
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0xb4]
push edx
mov edx, dword [esp + 0x18]
push 0x20
lea eax, [esp + 0x58]
push eax
push ecx
push edx
call fcn.0043b670
mov ecx, 8
lea esi, [esp + 0xb4]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x43b940
movzx ecx, byte [esp + eax + 0x50]
movzx edx, byte [esp + eax + 0x51]
xor byte [esp + eax + 0x30], cl
xor byte [esp + eax + 0x31], dl
movzx ecx, byte [esp + eax + 0x52]
movzx edx, byte [esp + eax + 0x53]
xor byte [esp + eax + 0x32], cl
xor byte [esp + eax + 0x33], dl
add eax, 4
cmp eax, 0x20
jb 0x43b940
sub ebp, 1
jne 0x43b900
mov edi, dword [esp + ebx + 0x18]
add ebx, 4
mov ecx, 8
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
cmp ebx, 0xc
jb 0x43b8f0
push 0x44
lea eax, [esp + 0x74]
push eax
call fcn.00466960
push 0x20
lea ecx, [esp + 0x34]
push ecx
call fcn.00466960
push 0x20
lea edx, [esp + 0x54]
push edx
call fcn.00466960
push 0x20
lea eax, [esp + 0xb8]
push eax
call fcn.00466960
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6a64
add esp, 0xc8
ret 0x20