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

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
add eax, ebx
push edi
mov edi, dword [ecx + 0x6148]
mov dword [esp + 8], eax
cmp ebx, eax
je 0x4282c6
push ebp
push esi
mov edx, dword [ecx + 0xd0]
movzx eax, byte [edx + ebx]
lea esi, [edx + ebx]
imul eax, eax, 0x2773
movzx edx, byte [esi + 1]
xor eax, edx
movzx edx, byte [esi + 2]
movzx esi, byte [esi + 3]
mov ebp, eax
imul ebp, ebp, 0x2773
xor edx, ebp
mov ebp, edx
imul ebp, ebp, 0x2773
and eax, 0x3fff
xor esi, ebp
mov ebp, dword [ecx + 0xd4]
add ebp, eax
mov al, byte [ebp]
mov byte [esp + 0x18], al
mov eax, dword [ecx + 0xd8]
and edx, 0x3ffff
movzx eax, word [eax + edx*2]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xdc]
and esi, 0x3ffff
mov eax, dword [eax + esi*4]
mov byte [ebp], bl
mov ebp, dword [ecx + 0xd8]
mov word [ebp + edx*2], bx
mov edx, dword [ecx + 0xdc]
mov dword [edx + esi*4], ebx
mov dl, byte [esp + 0x18]
mov dword [edi + 3], eax
mov ax, word [esp + 0x1c]
mov word [edi + 1], ax
mov byte [edi], dl
inc ebx
add edi, 7
cmp ebx, dword [esp + 0x10]
jne 0x428221
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 8

Function at 0x4282d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
lea edi, [esi + eax]
cmp esi, edi
je 0x42834f
push ebx
jmp 0x4282f0
mov edx, dword [ecx + 0xd0]
movzx eax, byte [edx + esi]
movzx ebx, byte [edx + esi + 1]
imul eax, eax, 0x2773
add edx, esi
xor eax, ebx
movzx ebx, byte [edx + 2]
imul eax, eax, 0x2773
xor eax, ebx
movzx ebx, byte [edx + 3]
imul eax, eax, 0x2773
movzx edx, byte [edx + 4]
xor eax, ebx
imul eax, eax, 0x2773
xor eax, edx
and eax, dword [ecx + 0xec]
mov edx, dword [ecx + 0xe0]
lea eax, [edx + eax*4]
mov edx, dword [eax]
mov dword [eax], esi
mov eax, dword [ecx + 0xe4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, edi
jne 0x4282f0
pop ebx
pop edi
pop esi
ret 8
Function at 0x429570
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xd4]
push 0x4000
push 0
push eax
call fcn.004538e0
add esp, 0xc
cmp byte [esp + 8], 0
je 0x429661
cmp byte [esi + 0x6135], 0
jne 0x429661
mov ecx, dword [esi + 0xe8]
mov eax, dword [esi + 0x6130]
shr ecx, 2
cmp eax, ecx
ja 0x429661
xor edx, edx
test eax, eax
jbe 0x4296a3
push ebx
push edi
jmp 0x4295d0
mov eax, dword [esi + 0xd0]
movzx edi, byte [eax + edx + 1]
lea ecx, [eax + edx]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 2]
imul eax, eax, 0x2773
xor eax, edi
mov edi, dword [esi + 0xd8]
imul eax, eax, 0x2773
xor eax, ecx
mov ecx, eax
imul eax, eax, 0x2773
and ecx, 0x3ffff
xor ebx, ebx
mov word [edi + ecx*2], bx
mov ecx, dword [esi + 0xd0]
movzx ecx, byte [ecx + edx + 3]
mov edi, dword [esi + 0xdc]
xor ecx, eax
mov eax, ecx
imul ecx, ecx, 0x2773
and eax, 0x3ffff
mov dword [edi + eax*4], ebx
mov eax, dword [esi + 0xd0]
movzx eax, byte [eax + edx + 4]
xor eax, ecx
and eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xe0]
inc edx
mov dword [ecx + eax*4], ebx
cmp edx, dword [esi + 0x6130]
jb 0x4295d0
pop edi
pop ebx
pop esi
ret 4
mov edx, dword [esi + 0xd8]
push 0x80000
push 0
push edx
call fcn.004538e0
mov eax, dword [esi + 0xdc]
push 0x100000
push 0
push eax
call fcn.004538e0
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0xe0]
add ecx, ecx
add ecx, ecx
push ecx
push 0
push edx
call fcn.004538e0
add esp, 0x24
pop esi
ret 4
Function at 0x42bd40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
mov eax, dword [0x46aee0]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
xor edx, edx
push esi
add ebx, 0xffffff88
push edi
add eax, 2
lea edi, [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov edi, edi
cmp edx, ebx
jge 0x42bea3
lea eax, [esp + 0x48]
sub eax, 2
lea ecx, [eax + 3]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x48]
sub ecx, eax
add ecx, 0xfffffffd
mov dword [esp + 0x3c], ecx
mov ecx, eax
neg ecx
lea esi, [esp + ecx + 0x48]
mov dword [esp + 0x44], esi
lea esi, [esp + ecx + 0x49]
mov dword [esp + 0x30], esi
lea esi, [esp + 0x48]
sub esi, eax
lea eax, [esp + ecx + 0x4a]
mov ecx, dword [esp + 0x14]
sub ebx, edx
mov dword [esp + 0x40], eax
dec ebx
mov eax, 0x88888889
mul ebx
dec esi
mov ebp, edx
shr ebp, 0xa
mov dword [esp + 0x2c], esi
mov esi, dword [edi]
mov dword [esp + 0x10], ecx
inc ebp
mov eax, dword [esp + 0x10]
xor edi, edi
lea ebx, [ebx]
movzx edx, byte [eax - 2]
mov cl, byte [eax - 1]
sub dl, cl
mov byte [esp + edi + 0x48], dl
movzx edx, byte [eax]
sub dl, cl
mov byte [esp + edi + 0x49], cl
mov byte [esp + edi + 0x4a], dl
add edi, 3
add eax, 3
cmp edi, 0x78
jl 0x42be00
mov ecx, dword [esp + 0x34]
mov edi, 0x27
mov edi, edi
mov eax, dword [esp + 0x40]
movzx edx, byte [eax + ecx]
mov eax, dword [esp + 0x2c]
sub dl, byte [eax + ecx]
add ecx, 3
movsx eax, dl
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
mov edx, dword [esp + 0x44]
mov al, byte [edx + ecx - 3]
mov edx, dword [esp + 0x3c]
sub al, byte [edx + ecx - 3]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add ebx, eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + ecx - 3]
sub dl, byte [ecx - 3]
movsx eax, dl
cdq
xor eax, edx
sub eax, edx
add eax, esi
sub edi, 1
lea esi, [eax + ebx]
jne 0x42be30
add dword [esp + 0x10], 0x780
sub ebp, 1
jne 0x42bdf4
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov dword [edi], esi
inc dword [esp + 0x14]
inc edx
add edi, 4
cmp edx, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
jle 0x42bd90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
cmp eax, ecx
ja 0x42beed
cmp eax, edx
ja 0x42beed
xor eax, eax
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0045334a
add esp, 0xb4
ret 8
cmp edx, ecx
mov ecx, dword [esp + 0xb0]
sbb eax, eax
neg eax
xor ecx, esp
inc eax
call fcn.0045334a
add esp, 0xb4
ret 8
Function at 0x4314a0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea edx, [esp + 4]
push edx
xor ecx, ecx
push 0x1a
push ecx
mov word [esi], cx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x431514
mov eax, dword [esp + 4]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x431514
cmp word [esi], 0
je 0x431514
push edi
push esi
call fcn.00430d50
push edi
push 0x464270
push esi
call fcn.00445b50
push esi
call fcn.00422cb0
test al, al
jne 0x431541
cmp byte [esp + 0x10], al
je 0x431510
push 0
push 0
push esi
call fcn.004232e0
test eax, eax
sete al
test al, al
jne 0x431541
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.004311b0
lea ecx, [esi + 4]
cmp eax, ecx
jb 0x43153c
cmp word [esi + 2], 0x3a
jne 0x431539
add esi, 8
cmp eax, esi
jb 0x43153c
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
pop esi
add esp, 8
ret 4

Function at 0x431560
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x10]
push ecx
push 1
xor eax, eax
push eax
push str.SoftwareWinRARPaths
push 0x80000001
mov word [esi], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x4315b8
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.AppData
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esi], 0
je 0x4315c8
push esi
call fcn.00422cb0
test al, al
jne 0x4315d4
mov eax, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.004314a0
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x4323f0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00453360
mov eax, dword [0x46aee0]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
movzx eax, word [edi]
test ax, ax
jne 0x432427
xor al, al
jmp 0x432625
push eax
call fcn.004458b0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432432
push ebx
sub eax, edx
sar eax, 1
push edi
mov ebx, eax
call fcn.00431a70
test al, al
je 0x43251c
movzx eax, word [edi]
push eax
call fcn.004458b0
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x4324ab
cmp word [edi + 2], 0x3a
jne 0x4324ab
add ebx, 4
cmp dword [esp + 0x101c], ebx
jbe 0x432622
push 4
push 0x464338
push esi
call fcn.00454b14
add esp, 0xc
sub esi, edi
mov eax, edi
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x432495
mov al, 1
jmp 0x432624
cmp word [edi], 0x5c
jne 0x432622
add edi, 2
cmp word [edi], 0x5c
jne 0x432622
add ebx, 6
cmp dword [esp + 0x101c], ebx
jbe 0x432622
push 4
push 0x464338
push esi
call fcn.00454b14
mov eax, 0x464330
mov ecx, esi
add esp, 0xc
sub ecx, eax
lea edx, [ecx + 8]
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4324f0
sub esi, edi
mov eax, edi
lea edx, [esi + 0xe]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x432506
mov al, 1
jmp 0x432624
lea edx, [esp + 0xc]
push edx
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x432622
cmp eax, 0x7ff
ja 0x432622
movzx eax, word [edi]
push eax
call fcn.00430d20
test al, al
je 0x432599
add ebx, 6
cmp dword [esp + 0x101c], ebx
jbe 0x432622
push 4
push 0x464338
push esi
call fcn.00454b14
push 2
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 8]
push edx
call fcn.00454b14
add esp, 0x18
sub esi, edi
mov eax, edi
lea edx, [esi + 0xc]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x432583
mov al, 1
jmp 0x432624
push 0x800
lea eax, [esp + 0x10]
push eax
call fcn.00430d50
lea eax, [esp + 0xc]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4325b0
sub eax, edx
sar eax, 1
lea ecx, [eax + ebx + 4]
mov ebx, dword [esp + 0x101c]
cmp ebx, ecx
jbe 0x432622
push 4
push 0x464338
push esi
call fcn.00454b14
lea eax, [esp + 0x18]
mov edx, esi
mov ecx, eax
sub edx, ecx
add esp, 0xc
add edx, 8
jmp 0x4325f0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4325f0
cmp word [edi], 0x2e
jne 0x432616
movzx edx, word [edi + 2]
push edx
call fcn.00430d20
test al, al
je 0x432616
add edi, 4
push ebx
push edi
push esi
call fcn.00445b50
mov al, 1
jmp 0x432624
xor al, al
pop ebx
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.0045334a
add esp, 0x1004
ret 0xc
Function at 0x435dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, ebp
cmp ebp, 0x8000
jb 0x435df5
mov eax, 0x8000
mov edi, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esi + 0xc]
push edi
push eax
call fcn.004543f0
mov eax, 1
add esp, 0xc
xor bl, bl
cmp ebp, eax
jbe 0x435e1b
xor bl, byte [eax + edi]
inc eax
cmp eax, ebp
jb 0x435e13
push 8
mov ecx, esi
call fcn.00424e60
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
cmp bl, byte [edi]
pop ebx
jne 0x435e5c
push ebp
push edi
push 0xffffffffffffffff
call fcn.00418320
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x46a8f4], eax
jne 0x435e53
cmp dword [ecx + 0x46a8f0], ebp
je 0x435ecb
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x435e43
push 1
mov ecx, esi
call fcn.00435d40
mov eax, dword [esi + 0x14]
lea ecx, [eax + 1]
mov dword [esi + 0x14], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + edx*8]
lea ecx, [eax + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, 3
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
lea edx, [eax + 0x1c]
xor ecx, ecx
mov dword [eax], 0x16
mov dword [eax + 0x24], edx
cmp dword [esi + 0x14], ecx
jle 0x435ec5
xor edx, edx
lea esp, [esp]
mov eax, dword [esi]
add eax, edx
cmp dword [eax + 0x14], 0
jne 0x435eb0
lea edi, [eax + 0xc]
mov dword [eax + 0x14], edi
cmp dword [eax + 0x24], 0
jne 0x435ebc
lea edi, [eax + 0x1c]
mov dword [eax + 0x24], edi
inc ecx
add edx, 0x28
cmp ecx, dword [esi + 0x14]
jl 0x435ea0
pop edi
pop esi
pop ebp
ret 0xc
lea ecx, [edx + edx*2]
mov edi, dword [ecx*4 + 0x46a8f8]
test edi, edi
je 0x435e5c
push 1
mov ecx, esi
call fcn.00435d40
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
lea edx, [eax + 1]
mov dword [esi + 0x14], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
lea ecx, [eax + 0xc]
mov dword [ecx], edi
pop edi
mov dword [eax + 0x14], ecx
mov ecx, 3
lea edx, [eax + 0x1c]
pop esi
mov dword [eax], 0x28
mov dword [eax + 0x24], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
pop ebp
ret 0xc
Function at 0x4402d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2010
call fcn.00453360
mov eax, dword [0x46aee0]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
mov ebx, dword [esp + 0x2020]
push esi
mov esi, dword [esp + 0x201c]
push edi
mov edi, dword [esp + 0x2024]
cmp edi, esi
je 0x44030c
push ebx
push esi
push edi
call fcn.00445b10
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4403dd
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440332
sub eax, edx
sar eax, 1
mov ecx, 0x7ff
sub ecx, eax
add ecx, ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x101c]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x46450c
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4403d2
push 0x800
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1020]
push edx
mov word [esp + 0x24], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x800
lea eax, [esp + 0x1c]
push eax
call fcn.00430d50
push 0x800
push esi
call fcn.004311b0
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00445b50
lea edx, [esp + 0x18]
push edx
call fcn.00422cb0
test al, al
je 0x4403d2
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00445b10
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2018]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045334a
add esp, 0x2010
ret 0xc

Function at 0x4404c0
Capabilities:
Check os version

Disassembly:
mov eax, 0x1118
call fcn.00453360
mov eax, dword [0x46aee0]
xor eax, esp
mov dword [esp + 0x1114], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x4404fb
mov eax, dword [0x47e194]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x47e190]
mov dword [0x47e194], ecx
mov byte [esi], 0
mov eax, dword [esp + 0x1124]
lea edx, [esp + 0x118]
test eax, eax
je 0x440521
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x440510
jmp 0x44052f
push 0x800
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.rarlng.dll
lea eax, [esp + 0x120]
push eax
call fcn.00431380
push 0x800
lea ecx, [esp + 0x11c]
push ecx
mov edx, ecx
push edx
call fcn.004402d0
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x44059b
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x440587
jne 0x44059b
cmp dword [esp + 0xc], 1
jbe 0x44059b
push 2
push 0
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4405a9
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x47e194], eax
setne al
mov byte [esi], al
test al, al
mov eax, dword [esp + 0x1120]
pop esi
mov dword [0x47e190], eax
jne 0x4405cb
mov dword [0x47e194], eax
mov ecx, dword [esp + 0x1114]
xor ecx, esp
call fcn.0045334a
add esp, 0x1118
ret 8
Function at 0x440830
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x46aee0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
push edi
mov ebp, ecx
mov edi, 1
cmp dword [ebp], edi
jle 0x44096a
push ebx
push esi
lea esi, [ebp + 0x24]
lea ecx, [ebp + 0x28]
jmp 0x440860
xor eax, eax
jmp 0x440870
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x481200]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x481600]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x481a00]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x481e00]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x481200]
xor dl, byte [eax + ebx*4 + 0x481600]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x481a00]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x481e00]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x481200]
xor dl, byte [eax + ebx*4 + 0x481600]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x481a00]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x481e00]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x18], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x481200]
xor dl, byte [eax + ebx*4 + 0x481600]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x481a00]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x481e00]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x1b], dl
jl 0x440870
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
inc edi
add ecx, 0x10
add esi, 0x10
cmp edi, dword [ebp]
jl 0x440860
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop edi
pop ebp
xor ecx, esp
call fcn.0045334a
add esp, 0x14
ret
Function at 0x4414e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x46aee0]
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 0x441519
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0045334a
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.00440980
add esi, 0x10
add ebp, 0xffffffff
je 0x44159e
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.00440980
add esi, 0x10
sub ebp, 1
jne 0x441560
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.0045334a
add esp, 0x18
ret 0xc
Function at 0x4415e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x46aee0]
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 0x4416d5
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x4416d5
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 0x4416a5
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.00440d30
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 0x441637
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.0045334a
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0045334a
add esp, 0x2c
ret 0xc
Function at 0x442620
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 4], 0
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
jne 0x442641
push edi
push 0
push ebp
call fcn.004538e0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push ebp
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004421c0
test al, al
jne 0x442700
test ebx, ebx
jne 0x4426c0
cmp dword [esi + 0x24], edi
je 0x442694
mov edx, dword [esi + 0x20]
push edx
call fcn.00453d40
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045333f
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
xor eax, eax
test edi, edi
jbe 0x4426c0
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
movzx edx, word [eax + ecx]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x20]
mov edx, dword [ecx + edx*4]
mov dword [ebx + eax*4], edx
add eax, 2
cmp eax, edi
jb 0x4426a0
mov ebx, dword [esp + 0x18]
nop
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
imul eax, ebx
add eax, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4]
xor eax, eax
test edi, edi
jbe 0x442700
lea esp, [esp]
mov edx, dword [esi + 0x20]
mov edx, dword [edx + eax*4]
mov ebx, dword [esi]
add edx, ecx
mov dx, word [ebx + edx*4]
xor word [eax + ebp], dx
add eax, 2
cmp eax, edi
jb 0x4426e0
lea esp, [esp]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x442890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1004
call fcn.00453360
mov eax, dword [0x46aee0]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
mov ebx, dword [esp + 0x100c]
cmp byte [ebx], 0
push ebp
mov ebp, ecx
je 0x442964
push esi
push edi
lea esi, [ebp + 0x101e]
push esi
call fcn.004311b0
mov edi, eax
cmp edi, esi
jbe 0x4428f5
xor eax, eax
push esi
mov word [edi - 2], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [edi - 2], cx
cmp eax, 0xffffffff
je 0x4428f5
test eax, 0x400
je 0x4428f5
mov byte [ebx], 0
push str.System_Volume_Information_
push esi
call fcn.004564c2
add esp, 8
test eax, eax
jne 0x442924
cmp byte [ebx], al
je 0x442962
mov ecx, dword [ebp + 0x4024]
test ecx, ecx
je 0x442929
push 1
push 1
push eax
push esi
call fcn.004148f0
test al, al
je 0x442929
mov byte [ebx], 0
jmp 0x442962
cmp byte [ebx], 0
je 0x442962
push 0x800
lea edx, [esp + 0x14]
push edx
push esi
call fcn.00432730
lea eax, [esp + 0x10]
push eax
push 0xe60
call fcn.00440400
push eax
push 0
call fcn.00418100
add esp, 0xc
mov ecx, 0x47e198
call fcn.0041cc80
pop edi
pop esi
mov ecx, dword [esp + 0x1008]
pop ebp
pop ebx
xor ecx, esp
call fcn.0045334a
add esp, 0x1004
ret 4