joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45af30
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x408
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x410]
push esi
mov esi, dword [esp + 0x410]
push edi
mov edi, dword [esp + 0x41c]
cmp esi, 0x80000001
jne 0x45afa6
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x45af96
test cx, cx
mov ecx, 0x4ba854
jne 0x45af7b
mov ecx, 0x4bad38
push eax
push ecx
lea eax, [esp + 0x14]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.004a29f0
add esp, 0x10
jmp 0x45afb6
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0x14]
push ecx
jmp 0x45afb1
push 0x200
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0046aa40
lea eax, [esp + 8]
push eax
push 0x20006
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45afed
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 8]
test eax, eax
je 0x45afed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
xor ecx, esp
call fcn.004a48d3
add esp, 0x408
ret 0xc

Function at 0x45b2b0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push eax
lea edi, [esp + 0x14]
call fcn.0045b120
mov edi, eax
test edi, edi
je 0x45b308
mov edx, dword [esp + 0x18]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b2d3
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
ret 0x10

Function at 0x45b3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push eax
call fcn.0045b1f0
mov esi, eax
mov dword [esp + 0x10], 4
test esi, esi
je 0x45b414
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push esi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x45b414
cmp dword [esp + 0x10], 0
jne 0x45b41d
mov eax, dword [esp + 0x18]
pop esi
pop ecx
ret 0x10
mov eax, dword [esp + 0xc]
pop esi
pop ecx
ret 0x10
Function at 0x45b430
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push eax
call fcn.0045b1f0
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ebp
test esi, esi
je 0x45b483
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x45b483
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x45b4ab
mov eax, dword [esp + 0x20]
push ebp
test eax, eax
je 0x45b49e
push eax
push ebx
call fcn.004a51b0
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
push 0
push ebx
call fcn.004a5130
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x45b860
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push esi
push edi
push ecx
lea edi, [esp + 0x10]
mov esi, 0x80000001
mov dword [esp + 0x18], eax
call fcn.0045b120
mov esi, eax
test esi, esi
je 0x45b8aa
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
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 0x45b8c0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
lea edi, [esp + 0x10]
mov esi, 0x80000001
call fcn.0045b120
mov esi, eax
test esi, esi
je 0x45b905
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 3
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
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 0x45b990
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
mov esi, 0x80000001
call fcn.0045b1f0
mov edi, eax
test edi, edi
jne 0x45b9ac
pop edi
pop esi
ret 8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
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 0x45e440
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x8c04
call fcn.004a5100
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x8c00], eax
mov ecx, dword [esp + 0x8c0c]
lea eax, [esp + 0x8c10]
push eax
push ecx
lea edx, [esp + 8]
push 0x1400
push edx
call fcn.004a80ec
xor eax, eax
mov word [esp + 0x280e], ax
mov eax, dword [esp + 0x8c18]
add esp, 0x10
sub eax, 0
je 0x45e4f9
sub eax, 1
je 0x45e4d7
sub eax, 1
jne 0x45e53d
push 0x1400
lea ecx, [esp + 0x2804]
push ecx
lea edx, [esp + 8]
push edx
call fcn.00451b40
lea eax, [esp + 0x2800]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e4c0
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x280c]
push eax
jmp 0x45e535
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e4e0
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x45e534
push 0x5000
lea edx, [esp + 0x3c04]
push edx
lea eax, [esp + 8]
push eax
call fcn.00473120
lea eax, [esp + 0x3c00]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e520
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x3c0c]
push ecx
call fcn.004a6bc4
add esp, 0x10
mov ecx, dword [esp + 0x8c00]
xor ecx, esp
call fcn.004a48d3
add esp, 0x8c04
ret

Function at 0x45e560
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x834
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x830], eax
cmp byte [0x4e9b89], 0
je 0x45e5ac
lea eax, [esp]
push eax
call fcn.00489e30
test al, al
je 0x45e5f2
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x45e5f2
lea edx, [esp]
jmp 0x45e5de
lea eax, [esp]
push eax
mov ecx, 0x4f0478
call fcn.004407a0
test al, al
je 0x45e5f2
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x45e5f2
lea edx, [esp]
push edx
push 0x557
call fcn.004611c0
push eax
call fcn.00493250
add esp, 8
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.004a48d3
add esp, 0x834
ret
Function at 0x460cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x418
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push ebx
mov ebx, dword [esp + 0x424]
push ebp
push esi
push edi
push 5
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x4d76b0]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x4d76b0]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x4d76b0]
push esi
push edx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.004a49ac
mov edi, eax
add esp, 4
test edi, edi
jne 0x460d69
mov dword [ebx], eax
jmp 0x460ea9
push esi
push ebp
push edi
call fcn.004a51b0
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
add esp, 0xc
and eax, 0xffff0000
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
cmp eax, 0xffff0000
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
sete bl
call fcn.00460740
mov ebp, dword [esp + 0x1c]
test al, al
je 0x460df0
mov ecx, edi
test bl, bl
je 0x460db6
lea ecx, [edi + 8]
movsx edx, word [ecx + 0xe]
imul edx, ebp
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx edx, word [ecx + 0x10]
imul edx, dword [esp + 0x10]
mov word [ecx + 0xe], ax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [ecx + 0x10], ax
xor ecx, ecx
test bl, bl
setne cl
mov eax, 0xffff
lea ecx, [ecx*4 + 9]
cmp word [edi + ecx*2], ax
lea edx, [edi + ecx*2]
jne 0x460e13
mov eax, 2
jmp 0x460e30
mov eax, edx
lea esi, [eax + 2]
jmp 0x460e20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460e20
sub eax, esi
sar eax, 1
inc eax
lea edx, [edx + eax*2]
mov ecx, 0xffff
cmp word [edx], cx
jne 0x460e44
mov eax, 2
jmp 0x460e60
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460e50
sub eax, esi
sar eax, 1
inc eax
mov ecx, dword [esp + 0x14]
push ecx
push 1
push 0x200
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [edx + eax*2]
push edx
call fcn.00460570
lea eax, [esp + 0x24]
push eax
call fcn.004a6a11
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
cmp ebp, 0x64
jne 0x460ea7
cmp dword [esp + 0x10], ebp
jne 0x460ea7
push edi
call fcn.004a4a6f
add esp, 4
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a48d3
add esp, 0x418
ret 8
Function at 0x460f90
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x1010
call fcn.004a5100
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x101c]
push ebp
mov ebp, dword [esp + 0x1024]
push esi
mov esi, dword [esp + 0x1020]
cmp ebx, esi
je 0x460fcc
push ebp
push esi
push ebx
call fcn.0046aa40
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 0x4610c9
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460ff2
sub eax, edx
sar eax, 1
mov ecx, 0x3ff
sub ecx, eax
add ecx, ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x81c]
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_RegQueryValueExW]
test eax, eax
jne 0x4610be
push 0x400
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x820]
push edx
mov word [esp + 0x24], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x18]
push eax
call fcn.004516d0
push esi
call fcn.00451c30
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461070
push edi
lea edi, [esp + 0x1c]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x461085
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0
call fcn.00431770
pop edi
test al, al
je 0x4610be
push ebp
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.0046aa40
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1018]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a48d3
add esp, 0x1010
ret 0xc
Function at 0x461280
Capabilities:
Check os version

Disassembly:
sub esp, 0x918
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x914], eax
push edi
mov edi, ecx
cmp byte [edi], 0
je 0x4612b7
mov eax, dword [0x4d76b0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x4d76ac]
mov dword [0x4d76b0], ecx
mov byte [edi], 0
mov eax, dword [esp + 0x924]
lea edx, [esp + 0x118]
test eax, eax
je 0x4612e1
sub edx, eax
jmp 0x4612d0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4612d0
jmp 0x4612ef
push 0x400
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea eax, [esp + 0x11c]
push eax
mov esi, str.rarlng.dll
call fcn.00451c30
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x461302
push 0x400
lea ecx, [esp + 0x120]
push ecx
mov edx, ecx
push edx
call fcn.00460f90
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x18], 2
pop esi
jne 0x461369
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x461355
jne 0x461369
cmp dword [esp + 0xc], 1
jbe 0x461369
push 2
push 0
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x461377
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x4d76b0], eax
setne al
mov byte [edi], al
test al, al
mov eax, dword [esp + 0x920]
pop edi
mov dword [0x4d76ac], eax
jne 0x461399
mov dword [0x4d76b0], eax
mov ecx, dword [esp + 0x914]
xor ecx, esp
call fcn.004a48d3
add esp, 0x918
ret 8
Function at 0x4613b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x4cc3b0]
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 0x46150d
cmp eax, 4
jge 0x461426
mov edi, edi
cmp ecx, 4
jge 0x461429
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 0x4613f0
cmp ecx, 4
jne 0x46142e
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x4613e0
cmp edi, 0xa
jg 0x46150d
mov edx, 0x5081a8
movzx esi, byte [esp + 0x1d]
mov al, byte [esp + 0x10]
xor al, byte [esi + 0x5082c8]
movzx esi, byte [esp + 0x1e]
movzx ebx, byte [esi + 0x5082c8]
movzx esi, byte [esp + 0x1f]
xor byte [esp + 0x11], bl
movzx ebx, byte [esi + 0x5082c8]
movzx esi, byte [esp + 0x1c]
xor byte [esp + 0x12], bl
movzx ebx, byte [esi + 0x5082c8]
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 0x461490
xor eax, eax
cmp edi, 0xa
jg 0x46150d
cmp eax, 4
jge 0x4614f7
nop
cmp ecx, 4
jge 0x4614fa
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 0x4614c0
cmp ecx, 4
jne 0x4614ff
inc edi
xor ecx, ecx
cmp eax, 4
jl 0x4614b5
cmp edi, 0xa
jle 0x461441
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a48d3
add esp, 0x24
ret 4
Function at 0x461530
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cc3b0]
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 0x461560
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x5051a8]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x5055a8]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x5059a8]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x505da8]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0xc], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x5051a8]
xor dl, byte [eax + ebx*4 + 0x5055a8]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x5059a8]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x505da8]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x5051a8]
xor dl, byte [eax + ebx*4 + 0x5055a8]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x5059a8]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x505da8]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x5051a8]
xor dl, byte [eax + ebx*4 + 0x5055a8]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x5059a8]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x505da8]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x17], dl
jl 0x461560
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 0x461550
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a48d3
add esp, 0x14
ret
Function at 0x462810
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x4cc3b0]
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 0x462849
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004a48d3
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.00461670
add esi, 0x10
add ebp, 0xffffffff
je 0x4628ce
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.00461670
add esi, 0x10
sub ebp, 1
jne 0x462890
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.004a48d3
add esp, 0x18
ret 0xc
Function at 0x462910
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4cc3b0]
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 0x462a05
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x462a05
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 0x4629d5
lea edx, [esp + 0x28]
push edx
push esi
mov ecx, ebx
call fcn.00461d80
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 0x462967
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.004a48d3
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004a48d3
add esp, 0x2c
ret 0xc
Function at 0x464b60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
push 0x4baa34
push eax
call fcn.00485300
mov ebx, eax
test ebx, ebx
je 0x464d3f
push ebx
push 1
lea ecx, [esp + 0x18]
push 0x16
push ecx
call fcn.004a65f2
add esp, 0x10
cmp word [esp + 0x10], 0
jne 0x464d36
cmp word [esp + 0x12], 1
jne 0x464d36
push ebp
push esi
push edi
push 0
push 0
push ebx
call fcn.004a689e
movzx edx, word [esp + 0x2c]
dec edx
shl edx, 4
add edx, 0x16
push edx
call fcn.004a49ac
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.004a49ac
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.004a65f2
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 0x464cdb
lea eax, [edi + 0x12]
lea ebp, [esi + 0xe]
mov dword [esp + 0x14], eax
jmp 0x464c44
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.004a49ac
mov esi, eax
add esp, 4
test esi, esi
je 0x464d21
mov edx, dword [ebp + 4]
push 0
push edx
push ebx
call fcn.004a689e
push ebx
push 1
push edi
push esi
call fcn.004a65f2
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_UpdateResourceW]
push esi
mov edi, eax
call fcn.004a4a6f
add esp, 4
test edi, edi
je 0x464d21
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 0x464c40
mov edi, dword [esp + 0x18]
push ebx
call fcn.004a6995
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_UpdateResourceW]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x24
ret 8
push ebx
call fcn.004a6995
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret 8
push ebx
call fcn.004a6995
add esp, 4
xor al, al
pop ebx
add esp, 0x24
ret 8