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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0x20], eax
call fcn.00435800
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc0]
push edx
push eax
push esi
call fcn.00435820
mov edx, dword [ebp + 0x14]
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x160]
push ecx
push edx
push ebx
call fcn.004358a0
mov eax, dword [ebp + 0x20]
lea ecx, [eax - 1]
mov eax, 0xcccccccd
mul ecx
shr edx, 4
add edx, 1
mov dword [esp + 0x18], edx
je 0x451c6b
lea edx, [esp + 0x204]
mov dword [esp + 0x10], 0
mov ebx, 1
mov dword [esp + 0xc], edx
xor eax, eax
mov ecx, 0x28
lea esi, [esp + 0x160]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x219], cl
mov ecx, dword [ebp + 0x18]
mov edx, ebx
shr edx, 8
mov byte [esp + 0x218], al
mov byte [esp + 0x21a], dl
mov byte [esp + 0x21b], bl
mov eax, 4
test ecx, ecx
jbe 0x451c30
mov dword [esp + 0x14], ecx
jmp 0x451b90
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x220]
push edx
call fcn.004358a0
lea eax, [esp + 0x20]
push eax
push 0x14
lea ecx, [esp + 0x220]
push ecx
call fcn.00435940
xor eax, eax
lea esp, [esp]
movzx edx, byte [esp + eax + 0x218]
xor byte [esp + eax + 0x204], dl
movzx ecx, byte [esp + eax + 0x219]
movzx edx, byte [esp + eax + 0x21a]
xor byte [esp + eax + 0x205], cl
xor byte [esp + eax + 0x206], dl
movzx ecx, byte [esp + eax + 0x21b]
movzx edx, byte [esp + eax + 0x21c]
xor byte [esp + eax + 0x207], cl
xor byte [esp + eax + 0x208], dl
add eax, 5
cmp eax, 0x14
jb 0x451bc0
sub dword [esp + 0x14], 1
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x451b90
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [ebp + 0x20]
jae 0x451c50
mov edx, dword [esp + 0xc]
mov dl, byte [edx + eax]
mov esi, dword [esp + 0x1c]
mov byte [eax + esi], dl
inc ecx
inc eax
cmp ecx, 0x14
jb 0x451c36
mov eax, 0x14
add dword [esp + 0x10], eax
sub dword [esp + 0xc], eax
inc ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x18]
jb 0x451b15
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x455f00
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x104
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x10c]
push esi
mov esi, dword [esp + 0x10c]
push 0x100
push esi
lea edx, [esp + 0xc]
call fcn.00455e70
test al, al
je 0x455f42
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x104
ret 8

Function at 0x455f60
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x108
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x104], eax
mov ecx, dword [esp + 0x110]
push esi
mov esi, dword [esp + 0x110]
push edi
mov edi, dword [esp + 0x11c]
push 0x100
push esi
lea edx, [esp + 0x14]
call fcn.00455e70
test al, al
je 0x455fd5
lea eax, [esp + 8]
push eax
push 0x20006
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x455fd5
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 8]
test eax, eax
je 0x455fd5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.0049e626
add esp, 0x108
ret 0xc

Function at 0x455ff0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebp
mov ebp, dword [esp + 0x2e4]
push edi
mov edi, dword [esp + 0x2ec]
cmp byte [edi], 0
je 0x4560e6
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4560e6
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push ecx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
jne 0x4560c3
lea esp, [esp]
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0xf0]
push 0x4b3964
push eax
call fcn.0049e635
add esp, 0x10
lea ecx, [esp + 0xe8]
push ecx
push ebp
call fcn.00455ff0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
je 0x456070
mov eax, dword [esp + 0x14]
pop esi
pop ebx
test eax, eax
je 0x4560d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4560e6
inc dword [0x4eddd4]
mov ecx, dword [esp + 0x2e0]
pop edi
pop ebp
xor ecx, esp
call fcn.0049e626
add esp, 0x2dc
ret 8
Function at 0x456310
Capabilities:
Set registry value

Disassembly:
sub esp, 0xac
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
mov ebp, dword [esp + 0xbc]
push esi
mov esi, dword [esp + 0xbc]
push edi
mov dword [esp + 0x10], eax
call fcn.0043cdb0
test eax, eax
je 0x45639f
lea edi, [esp + 0x14]
mov ecx, ebp
call fcn.004561a0
mov esi, eax
test esi, esi
je 0x4563dc
mov edx, dword [esp + 0x10]
push 0x1000000
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0046d830
push ebx
call fcn.0046db10
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4563e0
push ebx
call fcn.0046db10
lea edx, [eax + eax + 2]
push edx
call fcn.0049f174
add esp, 4
push 0x1000000
mov edi, eax
push edi
push ebx
call fcn.0046d7f0
mov eax, dword [esp + 0x10]
push edi
push eax
push ebp
push esi
call fcn.004562b0
push edi
mov esi, eax
call fcn.0049efc5
add esp, 4
mov eax, esi
jmp 0x4563e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0xac
ret 0x10

Function at 0x456400
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
lea edi, [esp + 0x10]
call fcn.004561a0
mov esi, eax
test esi, esi
je 0x456443
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push 3
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0x14
mov eax, dword [esp + 0x10]
pop edi
pop esi
ret 0x14

Function at 0x456450
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
call fcn.00456230
mov ebx, dword [esp + 0x18]
mov esi, eax
test esi, esi
je 0x45649f
mov edx, dword [esp + 0x14]
push edi
lea eax, [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x45649f
cmp dword [esp + 0x20], 0
je 0x45649f
pop esi
mov al, 1
pop ebx
ret 0x18
mov eax, dword [esp + 0x1c]
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4564a7
pop esi
xor al, al
pop ebx
ret 0x18
Function at 0x4564c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xac
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xc0]
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
mov ebp, dword [esp + 0xc0]
push esi
mov esi, dword [esp + 0xbc]
push edi
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
call fcn.0043cdb0
test eax, eax
je 0x456563
mov ecx, ebx
call fcn.00456230
push 0x1000000
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov esi, eax
call fcn.0046d830
test esi, esi
je 0x45655f
lea edx, [esp + 0xd4]
push edx
push edi
lea eax, [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x45655f
cmp dword [esp + 0xd4], ebx
jbe 0x45655f
mov al, 1
jmp 0x4565bf
xor bl, bl
jmp 0x4565b2
mov edx, dword [esp + 0xd4]
inc edx
push edx
call fcn.0049f174
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xd4]
push eax
push 0x4b1914
push edi
push ebp
push ebx
push esi
call fcn.00456450
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x10]
push ecx
push edx
push edi
mov bl, al
call fcn.0046d830
push edi
call fcn.0049efc5
add esp, 4
test bl, bl
jne 0x4565bd
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.0046db30
mov al, bl
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0xac
ret 0x18

Function at 0x4565e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
call fcn.00456230
mov ebx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], 4
test esi, esi
je 0x456637
mov edx, dword [esp + 0x14]
push edi
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x456637
cmp dword [esp + 0x10], 0
je 0x456637
pop esi
mov al, 1
pop ebx
ret 0x14
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
pop esi
xor al, al
pop ebx
ret 0x14

Function at 0x456680
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
call fcn.00456230
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ebp
test esi, esi
je 0x4566d2
mov edx, dword [esp + 0x18]
push edi
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x4566d2
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4566fa
mov eax, dword [esp + 0x20]
push ebp
test eax, eax
je 0x4566ed
push eax
push ebx
call fcn.0049ec60
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
push 0
push ebx
call fcn.0049ebe0
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x4567e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
push esi
push edi
lea edi, [esp + 0xc]
mov esi, 0x80000001
mov dword [esp + 0x14], eax
call fcn.004561a0
mov esi, eax
test esi, esi
je 0x456829
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0xc
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0xc

Function at 0x456840
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
lea edi, [esp + 0xc]
mov esi, 0x80000001
call fcn.004561a0
mov esi, eax
test esi, esi
je 0x456884
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push 3
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0x10

Function at 0x456890
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov esi, 0x80000001
call fcn.00456230
mov edi, eax
test edi, edi
jne 0x4568ab
pop edi
pop esi
ret 8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
sbb esi, esi
not esi
and esi, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x45bcd0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
mov ebx, dword [esp + 0x81c]
push ebp
mov ebp, dword [esp + 0x824]
push esi
mov esi, dword [esp + 0x820]
cmp ebx, esi
je 0x45bd08
push ebp
push esi
push ebx
call fcn.00465370
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45bdf0
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45bd30
sub eax, edx
mov ecx, 0x3ff
sub ecx, eax
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x41c]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.LanguageFolder
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45bde5
mov byte [esp + 0x18], al
push 0x400
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x18]
push edx
call fcn.0044df70
push esi
call fcn.0044daf0
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45bda0
push edi
lea edi, [esp + 0x1c]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x45bdb0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0042fc80
pop edi
test al, al
je 0x45bde5
push ebp
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.00465370
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x818]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x810
ret 0xc
Function at 0x45bec0
Capabilities:
Check os version

Disassembly:
sub esp, 0x498
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x494], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x45bef7
mov eax, dword [0x4c93a8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x4c93a4]
mov dword [0x4c93a8], ecx
mov byte [esi], 0
mov eax, dword [esp + 0x4a4]
lea edx, [esp + 0x98]
test eax, eax
je 0x45bf1c
sub edx, eax
jmp 0x45bf10
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45bf10
jmp 0x45bf2a
push 0x400
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x98]
push eax
call fcn.0044daf0
mov ecx, dword [str.rarlng.dll]
mov dword [eax], ecx
mov edx, dword [0x4b3c2c]
mov dword [eax + 4], edx
mov cx, word [0x4b3c30]
mov word [eax + 8], cx
mov dl, byte [0x4b3c32]
mov byte [eax + 0xa], dl
push 0x400
lea eax, [esp + 0x9c]
push eax
mov ecx, eax
push ecx
call fcn.0045bcd0
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x45bfb1
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x45bf9d
jne 0x45bfb1
cmp dword [esp + 0xc], 1
jbe 0x45bfb1
push 2
push 0
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x45bfbf
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4c93a8], eax
setne al
mov byte [esi], al
pop esi
test al, al
jne 0x45bff8
mov eax, dword [esp + 0x49c]
mov dword [0x4c93a8], eax
mov dword [0x4c93a4], eax
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.0049e626
add esp, 0x498
ret 8
mov ecx, dword [esp + 0x494]
mov edx, dword [esp + 0x49c]
xor ecx, esp
mov dword [0x4c93a4], edx
call fcn.0049e626
add esp, 0x498
ret 8
Function at 0x45c020
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov ebp, ecx
mov ecx, 8
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
xor ecx, ecx
xor eax, eax
lea esp, [esp]
cmp edi, 0xa
jg 0x45c17d
cmp eax, 4
jge 0x45c096
mov edi, edi
cmp ecx, 4
jge 0x45c099
mov bl, byte [esp + eax*4 + 0x10]
lea edx, [ecx + edi*4]
mov byte [ebp + edx*4 + 0x14], bl
lea edx, [ecx + edi*4]
lea esi, [ebp + edx*4]
movzx edx, byte [esp + eax*4 + 0x11]
mov byte [esi + 0x15], dl
movzx edx, byte [esp + eax*4 + 0x12]
mov byte [esi + 0x16], dl
movzx edx, byte [esp + eax*4 + 0x13]
inc eax
inc ecx
cmp eax, 4
mov byte [esi + 0x17], dl
jl 0x45c060
cmp ecx, 4
jne 0x45c09e
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x45c050
cmp edi, 0xa
jg 0x45c17d
mov edx, 0x4f1df8
movzx esi, byte [esp + 0x1d]
mov al, byte [esp + 0x10]
xor al, byte [esi + 0x4f1f18]
movzx esi, byte [esp + 0x1e]
movzx ebx, byte [esi + 0x4f1f18]
movzx esi, byte [esp + 0x1f]
xor byte [esp + 0x11], bl
movzx ebx, byte [esi + 0x4f1f18]
movzx esi, byte [esp + 0x1c]
xor byte [esp + 0x12], bl
movzx ebx, byte [esi + 0x4f1f18]
xor al, byte [edx]
xor byte [esp + 0x13], bl
mov byte [esp + 0x10], al
inc edx
lea eax, [esp + 0x11]
mov esi, 3
movzx ebx, byte [eax - 1]
xor byte [eax + 3], bl
movzx ebx, byte [eax]
xor byte [eax + 4], bl
movzx ebx, byte [eax + 1]
xor byte [eax + 5], bl
movzx ebx, byte [eax + 2]
xor byte [eax + 6], bl
add eax, 4
sub esi, 1
jne 0x45c100
xor eax, eax
cmp edi, 0xa
jg 0x45c17d
cmp eax, 4
jge 0x45c167
nop
cmp ecx, 4
jge 0x45c16a
movzx ebx, byte [esp + eax*4 + 0x10]
lea esi, [ecx + edi*4]
mov byte [ebp + esi*4 + 0x14], bl
movzx ebx, byte [esp + eax*4 + 0x11]
lea esi, [ecx + edi*4]
lea esi, [ebp + esi*4]
mov byte [esi + 0x15], bl
movzx ebx, byte [esp + eax*4 + 0x12]
mov byte [esi + 0x16], bl
movzx ebx, byte [esp + eax*4 + 0x13]
inc eax
inc ecx
cmp eax, 4
mov byte [esi + 0x17], bl
jl 0x45c130
cmp ecx, 4
jne 0x45c16f
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x45c125
cmp edi, 0xa
jle 0x45c0b1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x24
ret 4
Function at 0x45c1a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
mov eax, ecx
push edi
lea esi, [eax + 0x24]
lea ecx, [eax + 0x28]
mov edi, 9
mov edi, edi
xor eax, eax
jmp 0x45c1d0
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x4eedf8]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x4ef1f8]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x4ef5f8]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x4ef9f8]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0xc], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x4eedf8]
xor dl, byte [eax + ebx*4 + 0x4ef1f8]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x4ef5f8]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x4ef9f8]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x4eedf8]
xor dl, byte [eax + ebx*4 + 0x4ef1f8]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x4ef5f8]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x4ef9f8]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x4eedf8]
xor dl, byte [eax + ebx*4 + 0x4ef1f8]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x4ef5f8]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x4ef9f8]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x17], dl
jl 0x45c1d0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
add ecx, 0x10
add esi, 0x10
sub edi, 1
jne 0x45c1c0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x14
ret
Function at 0x45d480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
mov ebx, ecx
test eax, eax
ja 0x45d4b9
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0049e626
add esp, 0x18
ret 0xc
mov ecx, dword [esi + 4]
xor ecx, dword [ebx + 8]
mov edx, dword [esi + 8]
xor edx, dword [ebx + 0xc]
shr eax, 4
push ebp
mov ebp, eax
mov eax, dword [esi]
xor eax, dword [ebx + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebx + 0x10]
push edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0045c2e0
add esi, 0x10
add ebp, 0xffffffff
je 0x45d53e
nop
mov edx, dword [edi]
xor edx, dword [esi]
mov eax, dword [edi + 4]
xor eax, dword [esi + 4]
mov ecx, dword [edi + 8]
xor ecx, dword [esi + 8]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0xc]
xor edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
add edi, 0x10
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], edx
call fcn.0045c2e0
add esi, 0x10
sub ebp, 1
jne 0x45d500
mov ecx, dword [edi]
mov dword [ebx + 4], ecx
mov edx, dword [edi + 4]
mov dword [ebx + 8], edx
mov eax, dword [edi + 8]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
shl eax, 4
call fcn.0049e626
add esp, 0x18
ret 0xc
Function at 0x45d580
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x44]
mov ebx, ecx
test esi, esi
je 0x45d675
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x45d675
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
shr eax, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0x10]
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x45d645
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.0045c9f0
mov edx, dword [esp + 0x20]
xor dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
xor dword [esp + 0x34], edx
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
xor ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
xor eax, ebp
mov ebp, dword [esi]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x24], edx
jne 0x45d5d7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], ebp
pop ebp
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x20]
pop edi
mov dword [ebx + 0xc], ecx
pop esi
mov dword [ebx + 0x10], edx
shl eax, 4
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0049e626
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049e626
add esp, 0x2c
ret 0xc