joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4559c0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x104
mov eax, dword [0x4c0390]
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.00455930
test al, al
je 0x455a02
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.0049e0c6
add esp, 0x104
ret 8

Function at 0x455a20
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x108
mov eax, dword [0x4c0390]
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.00455930
test al, al
je 0x455a95
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 0x455a95
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 0x455a95
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x108
ret 0xc

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

Disassembly:
sub esp, 0x2dc
mov eax, dword [0x4c0390]
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 0x455ba6
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 0x455ba6
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 0x455b83
lea esp, [esp]
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0xf0]
push 0x4b38cc
push eax
call fcn.0049e0d5
add esp, 0x10
lea ecx, [esp + 0xe8]
push ecx
push ebp
call fcn.00455ab0
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 0x455b30
mov eax, dword [esp + 0x14]
pop esi
pop ebx
test eax, eax
je 0x455b94
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x455ba6
inc dword [0x4edd8c]
mov ecx, dword [esp + 0x2e0]
pop edi
pop ebp
xor ecx, esp
call fcn.0049e0c6
add esp, 0x2dc
ret 8
Function at 0x455dd0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xac
mov eax, dword [0x4c0390]
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.0043c9b0
test eax, eax
je 0x455e5f
lea edi, [esp + 0x14]
mov ecx, ebp
call fcn.00455c60
mov esi, eax
test esi, esi
je 0x455e9c
mov edx, dword [esp + 0x10]
push 0x1000000
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0046d330
push ebx
call fcn.0046d610
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 0x455ea0
push ebx
call fcn.0046d610
lea edx, [eax + eax + 2]
push edx
call fcn.0049ec14
add esp, 4
push 0x1000000
mov edi, eax
push edi
push ebx
call fcn.0046d2f0
mov eax, dword [esp + 0x10]
push edi
push eax
push ebp
push esi
call fcn.00455d70
push edi
mov esi, eax
call fcn.0049ea65
add esp, 4
mov eax, esi
jmp 0x455ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0xac
ret 0x10

Function at 0x455ec0
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.00455c60
mov esi, eax
test esi, esi
je 0x455f03
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 0x455f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
call fcn.00455cf0
mov ebx, dword [esp + 0x18]
mov esi, eax
test esi, esi
je 0x455f5f
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 0x455f5f
cmp dword [esp + 0x20], 0
je 0x455f5f
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 0x455f67
pop esi
xor al, al
pop ebx
ret 0x18
Function at 0x455f80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xac
mov eax, dword [0x4c0390]
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.0043c9b0
test eax, eax
je 0x456023
mov ecx, ebx
call fcn.00455cf0
push 0x1000000
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov esi, eax
call fcn.0046d330
test esi, esi
je 0x45601f
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 0x45601f
cmp dword [esp + 0xd4], ebx
jbe 0x45601f
mov al, 1
jmp 0x45607f
xor bl, bl
jmp 0x456072
mov edx, dword [esp + 0xd4]
inc edx
push edx
call fcn.0049ec14
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.00455f10
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x10]
push ecx
push edx
push edi
mov bl, al
call fcn.0046d330
push edi
call fcn.0049ea65
add esp, 4
test bl, bl
jne 0x45607d
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push eax
push edi
call fcn.0046d630
mov al, bl
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0xac
ret 0x18

Function at 0x4560a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
call fcn.00455cf0
mov ebx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], 4
test esi, esi
je 0x4560f7
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 0x4560f7
cmp dword [esp + 0x10], 0
je 0x4560f7
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 0x456140
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.00455cf0
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ebp
test esi, esi
je 0x456192
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 0x456192
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4561ba
mov eax, dword [esp + 0x20]
push ebp
test eax, eax
je 0x4561ad
push eax
push ebx
call fcn.0049e700
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
push 0
push ebx
call fcn.0049e680
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x4562a0
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.00455c60
mov esi, eax
test esi, esi
je 0x4562e9
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 0x456300
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
lea edi, [esp + 0xc]
mov esi, 0x80000001
call fcn.00455c60
mov esi, eax
test esi, esi
je 0x456344
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 0x456350
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov esi, 0x80000001
call fcn.00455cf0
mov edi, eax
test edi, edi
jne 0x45636b
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 0x45b7b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x810
mov eax, dword [0x4c0390]
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 0x45b7e8
push ebp
push esi
push ebx
call fcn.00464e60
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 0x45b8d0
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b810
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 0x45b8c5
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.0044d9b0
push esi
call fcn.0044d530
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b880
push edi
lea edi, [esp + 0x1c]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x45b890
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.0042f890
pop edi
test al, al
je 0x45b8c5
push ebp
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.00464e60
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.0049e0c6
add esp, 0x810
ret 0xc
Function at 0x45b9a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x498
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x494], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x45b9d7
mov eax, dword [0x4c9360]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x4c935c]
mov dword [0x4c9360], ecx
mov byte [esi], 0
mov eax, dword [esp + 0x4a4]
lea edx, [esp + 0x98]
test eax, eax
je 0x45b9fc
sub edx, eax
jmp 0x45b9f0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45b9f0
jmp 0x45ba0a
push 0x400
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x98]
push eax
call fcn.0044d530
mov ecx, dword [str.rarlng.dll]
mov dword [eax], ecx
mov edx, dword [0x4b3b94]
mov dword [eax + 4], edx
mov cx, word [0x4b3b98]
mov word [eax + 8], cx
mov dl, byte [0x4b3b9a]
mov byte [eax + 0xa], dl
push 0x400
lea eax, [esp + 0x9c]
push eax
mov ecx, eax
push ecx
call fcn.0045b7b0
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x45ba91
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x45ba7d
jne 0x45ba91
cmp dword [esp + 0xc], 1
jbe 0x45ba91
push 2
push 0
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x45ba9f
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4c9360], eax
setne al
mov byte [esi], al
pop esi
test al, al
jne 0x45bad8
mov eax, dword [esp + 0x49c]
mov dword [0x4c9360], eax
mov dword [0x4c935c], eax
mov ecx, dword [esp + 0x494]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x498
ret 8
mov ecx, dword [esp + 0x494]
mov edx, dword [esp + 0x49c]
xor ecx, esp
mov dword [0x4c935c], edx
call fcn.0049e0c6
add esp, 0x498
ret 8
Function at 0x45bb00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x4c0390]
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 0x45bc5d
cmp eax, 4
jge 0x45bb76
mov edi, edi
cmp ecx, 4
jge 0x45bb79
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 0x45bb40
cmp ecx, 4
jne 0x45bb7e
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x45bb30
cmp edi, 0xa
jg 0x45bc5d
mov edx, 0x4f1db0
movzx esi, byte [esp + 0x1d]
mov al, byte [esp + 0x10]
xor al, byte [esi + 0x4f1ed0]
movzx esi, byte [esp + 0x1e]
movzx ebx, byte [esi + 0x4f1ed0]
movzx esi, byte [esp + 0x1f]
xor byte [esp + 0x11], bl
movzx ebx, byte [esi + 0x4f1ed0]
movzx esi, byte [esp + 0x1c]
xor byte [esp + 0x12], bl
movzx ebx, byte [esi + 0x4f1ed0]
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 0x45bbe0
xor eax, eax
cmp edi, 0xa
jg 0x45bc5d
cmp eax, 4
jge 0x45bc47
nop
cmp ecx, 4
jge 0x45bc4a
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 0x45bc10
cmp ecx, 4
jne 0x45bc4f
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x45bc05
cmp edi, 0xa
jle 0x45bb91
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x24
ret 4
Function at 0x45bc80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c0390]
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 0x45bcb0
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x4eedb0]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x4ef1b0]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x4ef5b0]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x4ef9b0]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0xc], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x4eedb0]
xor dl, byte [eax + ebx*4 + 0x4ef1b0]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x4ef5b0]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x4ef9b0]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x4eedb0]
xor dl, byte [eax + ebx*4 + 0x4ef1b0]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x4ef5b0]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x4ef9b0]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x4eedb0]
xor dl, byte [eax + ebx*4 + 0x4ef1b0]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x4ef5b0]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x4ef9b0]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x17], dl
jl 0x45bcb0
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 0x45bca0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x14
ret
Function at 0x45cf50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4c0390]
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 0x45cf89
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0049e0c6
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.0045bdc0
add esi, 0x10
add ebp, 0xffffffff
je 0x45d00e
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.0045bdc0
add esi, 0x10
sub ebp, 1
jne 0x45cfd0
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.0049e0c6
add esp, 0x18
ret 0xc
Function at 0x45d050
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4c0390]
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 0x45d145
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x45d145
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 0x45d115
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.0045c4c0
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 0x45d0a7
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.0049e0c6
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049e0c6
add esp, 0x2c
ret 0xc
Function at 0x45f170
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
push 0x4b1948
push eax
call fcn.0049f968
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x45f34f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.0049fc19
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x45f346
cmp word [esp + 0x12], 1
jne 0x45f346
push ebp
push esi
push edi
push 0
push 0
push ebx
call fcn.0049fec5
movzx edx, word [esp + 0x2c]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.0049e19f
mov esi, eax
movzx eax, word [esp + 0x30]
dec eax
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx + ecx + 0x14]
push edx
call fcn.0049e19f
mov edi, eax
movzx eax, word [esp + 0x34]
dec eax
push ebx
shl eax, 4
push 1
add eax, 0x16
push eax
push esi
mov dword [esp + 0x3c], edi
call fcn.0049fc19
mov ecx, dword [esi]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
xor eax, eax
add esp, 0x24
mov dword [edi + 0x10], edx
mov dword [esp + 0x10], 0
cmp ax, word [esp + 0x20]
jae 0x45f2eb
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x14], eax
jmp 0x45f254
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [eax - 8], edx
mov ecx, dword [ebp]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x10]
inc ecx
mov word [eax], cx
mov edi, dword [ebp]
push edi
call fcn.0049e19f
mov esi, eax
add esp, 4
test esi, esi
je 0x45f331
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.0049fec5
push ebx
push 1
push edi
push esi
call fcn.0049fc19
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
add esp, 0x1c
push edi
push esi
inc eax
push 0x400
movzx eax, ax
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push esi
mov edi, eax
call fcn.0049de1d
add esp, 4
test edi, edi
je 0x45f331
mov eax, dword [esp + 0x10]
movzx edx, word [esp + 0x20]
add dword [esp + 0x14], 0xe
inc eax
add ebp, 0x10
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x45f250
mov edi, dword [esp + 0x18]
push ebx
call fcn.0049f646
movzx eax, word [esp + 0x24]
dec eax
add esp, 4
lea ecx, [eax*8]
sub ecx, eax
movzx eax, word [esp + 0x3c]
lea edx, [ecx + ecx + 0x14]
mov ecx, dword [esp + 0x38]
push edx
push edi
push 0x400
push eax
push 0xe
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x24
ret 8
push ebx
call fcn.0049f646
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 8
push ebx
call fcn.0049f646
add esp, 4
xor al, al
pop ebx
add esp, 0x24
ret 8