joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416190
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x148
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 4]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x804], eax
test eax, eax
jne 0x4161df
push ebp
call fcn.0048c380
test eax, eax
je 0x4161d4
cmp eax, 0x20
je 0x4161d4
push ebp
push eax
push 0x20
push 0x5c8
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 0x10
pop esi
xor al, al
pop ebp
add esp, 0x148
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Prepare
push eax
call edi
mov dword [esi + 0x9e0], eax
mov eax, dword [esi + 0x804]
push str.Open
push eax
call edi
mov ecx, dword [esi + 0x804]
push str.Close
push ecx
mov dword [esi + 0x9e4], eax
call edi
mov edx, dword [esi + 0x804]
push str.GetNextName
push edx
mov dword [esi + 0x9e8], eax
call edi
mov dword [esi + 0x9ec], eax
mov eax, dword [esi + 0x804]
push str.GetListItem
push eax
call edi
mov ecx, dword [esi + 0x804]
push str.Extract
push ecx
mov dword [esi + 0x9f0], eax
call edi
mov edx, dword [esi + 0x804]
push str.GetComment
push edx
mov dword [esi + 0x9f4], eax
call edi
cmp dword [esi + 0x9e0], 0
mov dword [esi + 0x9f8], eax
je 0x4163e6
cmp dword [esi + 0x9e4], 0
je 0x4163e6
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004b14b0
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x4113e0
mov dword [esp + 0x14], 0x411530
mov dword [esp + 0x18], 0x411540
mov dword [esp + 0x44], 0x411550
mov dword [esp + 0x20], 0x411560
mov dword [esp + 0x2c], 0x4116f0
mov dword [esp + 0x30], 0x411710
mov dword [esp + 0x38], 0x411720
mov dword [esp + 0x3c], 0x413870
mov dword [esp + 0x34], 0x413a30
mov dword [esp + 0x48], 0x411810
mov dword [esp + 0x4c], 0x411820
mov dword [esp + 0x24], 0x411830
mov dword [esp + 0x54], 0x411890
mov dword [esp + 0x28], 0x411910
mov dword [esp + 0x40], 0x411a40
mov dword [esp + 0x58], 0x411a80
mov dword [esp + 0x5c], 0x411a90
mov dword [esp + 0x60], 0x411aa0
mov dword [esp + 0x64], 0x411ab0
mov dword [esp + 0x1c], 0x415bd0
mov dword [esp + 0x50], 0x411ac0
call fcn.00444e60
push 0x1d8
lea edi, [esi + 0x808]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004b14b0
mov edx, dword [esi + 0x9e0]
add esp, 0xc
push edi
lea ecx, [esp + 0x10]
push ecx
mov dword [edi], 0x1d8
mov dword [esi + 0x80c], 1
mov dword [esi + 0x810], 0x41400
call edx
test al, al
je 0x4163b5
cmp dword [esi + 0x80c], 1
jne 0x4163b5
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x148
ret
mov eax, dword [esi + 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebp
mov dword [esi + 0x804], 0
call fcn.00456820
push eax
push 0x42e
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 8
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x148
ret
Function at 0x419160
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c399b
mov eax, dword fs:[0]
push eax
mov eax, 0x1654
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1650], eax
push ebx
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x1664]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1674]
cmp byte [esi + 0x8ee5], 0
mov edi, dword [esp + 0x167c]
mov eax, dword [esi + 0x13e0]
je 0x419345
cmp byte [eax + 0x3971], 0
jne 0x419345
cmp byte [esi + 0x8ee0], 0
jne 0x419345
push esi
lea ecx, [esp + 0x14]
call fcn.00469260
mov dword [esp + 0x166c], 0
movzx eax, word [esi + 0x67f0]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.004b1ad0
mov ecx, dword [esi + 0x67f4]
xor ebx, ebx
add eax, ecx
adc edx, ebx
push edx
push eax
mov ecx, esi
call fcn.00434ff0
mov ecx, esi
call fcn.0040fda0
mov ebx, dword [esp + 0x1678]
test bl, bl
je 0x419258
mov eax, dword [0x51b784]
push 0x200
lea edx, [esp + 0x1264]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x34b
call fcn.004671c0
push eax
call fcn.0048d1d0
call fcn.0048d8e0
push 0x1238
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.004b14b0
mov eax, dword [esi + 0x67bc]
add esp, 0xc
sub eax, 0x76
je 0x4192bb
sub eax, 3
je 0x4192ad
sub eax, 1
jne 0x4192d0
push 0x4c79c8
lea ecx, [esi + 0x7510]
call fcn.0040b9a0
test al, al
je 0x4192a3
lea edx, [esp + 0x28]
push edx
push ebx
push esi
call fcn.00418980
jmp 0x4192d0
mov byte [esp + 0x125e], 1
jmp 0x4192d0
lea eax, [esp + 0x28]
push eax
push ebx
push esi
call fcn.00418140
jmp 0x4192d0
test byte [esi + 0x67ec], 0x20
je 0x419331
lea ecx, [esp + 0x28]
push ecx
push ebx
push esi
call fcn.004185b0
test bl, bl
je 0x4192e6
lea edx, [esp + 0x1260]
push edx
call fcn.0048d1d0
call fcn.0048d8e0
test edi, edi
je 0x4192fd
push 0x1238
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004b1530
add esp, 0xc
cmp byte [esp + 0x125e], 0
jmp 0x419331
mov dword [esp + 0x166c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00469290
mov ecx, dword [esp + 0x1664]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1650]
xor ecx, esp
call fcn.004b102c
add esp, 0x1660
ret 0xc
Function at 0x41b0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c3a7e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea ebx, [esi + 0x1cc]
mov ecx, ebx
call fcn.0045b300
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
push 0x40000
push eax
push 0x41aff0
mov ecx, ebx
mov dword [esi], eax
mov dword [esi + 0x1c8], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 1
mov dword [esi + 4], edi
call fcn.0045b320
mov ecx, ebx
call fcn.0045b2d0
push 0x194
lea eax, [esi + 0x30]
push edi
push eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c4], edi
call fcn.004b14b0
add esp, 0xc
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x41fe10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov ebx, eax
mov byte [esp + 0x17], 1
call fcn.0041d1b0
mov esi, eax
test esi, esi
je 0x41fe8d
push edi
jmp 0x41fe40
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x14]
je 0x41fe4f
mov bl, 1
jmp 0x41fe59
push edi
mov ecx, ebp
call fcn.0041fb40
mov bl, al
mov eax, dword [esp + 0x18]
push eax
call fcn.004b1201
push edi
call fcn.004b1201
add esp, 8
test bl, bl
je 0x41fe8c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, esi
mov byte [esp + 0x1b], 0
call fcn.0041d1b0
mov esi, eax
test esi, esi
jne 0x41fe40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x41fea0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, eax
mov byte [esp + 0x13], 1
call fcn.0041d1b0
mov ebx, eax
test ebx, ebx
je 0x41ff13
push esi
push edi
jmp 0x41fed0
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jne 0x41fee8
push edi
push esi
mov ecx, ebp
call fcn.0041f740
push edi
call fcn.004b1201
push esi
call fcn.004b1201
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x1b], 0
call fcn.0041d1b0
mov ebx, eax
test ebx, ebx
jne 0x41fed0
pop edi
pop esi
mov ecx, ebp
call fcn.0041d9b0
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x420bc0
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x1824
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1820], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x420cfa
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x420c2d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x1820]
xor ecx, esp
call fcn.004b102c
add esp, 0x1824
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x420c94
cmp byte [ebp + 1], 0x1a
jne 0x420c94
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x830]
movsw word es:[edi], word [esi]
push eax
lea edi, [ebp + 0x1c]
mov ebx, 0x400
call fcn.00420b70
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00420b70
mov ebx, eax
test ebx, ebx
je 0x420c90
push 0
lea edx, [esp + 0x18]
push edx
call fcn.00444d00
lea edi, [esp + 0x30]
lea esi, [esp + 0x830]
call fcn.00420a70
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x420ce9
lea eax, [esp + 0x1030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x400
call fcn.00420b70
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00420b70
lea edx, [esp + 0x830]
push edx
mov edi, eax
call fcn.00420b70
test eax, eax
je 0x420ce9
push 0
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x103c]
push edx
call fcn.004448a0
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x1824]
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x1824
ret
Function at 0x421ef0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1c40
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1c3c], eax
push esi
push edi
lea eax, [esp + 0x44]
push eax
call fcn.00457020
lea ecx, [esp + 0x44]
push ecx
call fcn.004561a0
lea edi, [esp + 0x44]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x421f25
mov ecx, 6
mov esi, str.Settings.reg
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
xor eax, eax
pop esi
jmp 0x421f50
movzx ecx, word [esp + eax + 0x3c]
mov word [esp + eax + 0x83c], cx
add eax, 2
test cx, cx
jne 0x421f50
push ebx
mov ebx, dword [esp + 0x1c48]
push 1
test bl, bl
je 0x4220f0
push str.ExportedSettings
push 0x4c79a8
call fcn.00460e00
cmp byte [esp + 0x1c4c], 0
jne 0x421fc2
xor edx, edx
test bl, bl
sete dl
push ebx
push str..reg
lea ecx, [esp + 0x48]
push ecx
add edx, 0x5b4
push edx
call fcn.004671c0
push eax
mov eax, dword [0x51c8dc]
push eax
call fcn.00419e00
test al, al
je 0x42211a
test bl, bl
jne 0x42215a
push 0x4c79a8
call fcn.004612e0
mov eax, 0x4c88e4
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x1248]
push edx
mov edx, 0x500
call fcn.00483770
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004b14b0
mov ecx, dword [0x51c8dc]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x1240]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], str.regedit
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test bl, bl
je 0x422066
mov ecx, dword [esp + 0x3c]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x1c48], 0
je 0x42207f
push str.ExportedSettings
push 0x4c79a8
call fcn.00460a60
test bl, bl
je 0x422164
cmp byte [esp + 0x1c48], 0
jne 0x422096
call fcn.00421be0
xor ecx, ecx
cmp byte [esp + 0x1c48], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.004671c0
push eax
lea edx, [esp + 0x848]
push edx
mov edx, 0x500
call fcn.00483770
add esp, 0xc
push 0
push 0x2fb
call fcn.004671c0
mov ecx, dword [0x51c8dc]
push eax
lea eax, [esp + 0x848]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x422189
lea edx, [esp + 0x44]
push edx
push str.Settings.reg
call fcn.004571f0
lea eax, [esp + 0x40]
push eax
call fcn.00435ac0
test al, al
jne 0x421f86
cmp byte [esp + 0x1c4c], al
je 0x422134
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c3c]
xor ecx, esp
call fcn.004b102c
add esp, 0x1c40
ret 8
xor eax, eax
jmp 0x422140
movzx ecx, word [esp + eax + 0x840]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x422140
jmp 0x421f90
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x421fd9
cmp byte [esp + 0x1c4c], 0
jne 0x422189
lea edx, [esp + 0x1240]
push edx
push 0x201
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 8
mov ecx, dword [esp + 0x1c40]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x1c40
ret 8
Function at 0x4221d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x4221e0
xor eax, 0xedb88320
test al, 1
je 0x4221ed
shr eax, 1
xor eax, 0xedb88320
jmp 0x4221ef
shr eax, 1
test al, 1
je 0x4221fc
shr eax, 1
xor eax, 0xedb88320
jmp 0x4221fe
shr eax, 1
test al, 1
je 0x42220b
shr eax, 1
xor eax, 0xedb88320
jmp 0x42220d
shr eax, 1
test al, 1
je 0x42221a
shr eax, 1
xor eax, 0xedb88320
jmp 0x42221c
shr eax, 1
test al, 1
je 0x422229
shr eax, 1
xor eax, 0xedb88320
jmp 0x42222b
shr eax, 1
test al, 1
je 0x422238
shr eax, 1
xor eax, 0xedb88320
jmp 0x42223a
shr eax, 1
test al, 1
je 0x422247
shr eax, 1
xor eax, 0xedb88320
jmp 0x422249
shr eax, 1
mov dword [ecx*4 + 0x4e08c0], eax
mov dword [ecx*4 + 0x4e28c0], eax
inc ecx
cmp ecx, 0x100
jb 0x4221d2
mov eax, 0x400
lea esp, [esp]
mov ecx, dword [eax + 0x4e04c0]
movzx edx, cl
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e08c0]
add eax, 4
movzx edx, cl
mov dword [eax + 0x4e08bc], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e08c0]
movzx edx, cl
mov dword [eax + 0x4e0cbc], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e08c0]
movzx edx, cl
mov dword [eax + 0x4e10bc], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e08c0]
movzx edx, cl
mov dword [eax + 0x4e14bc], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e08c0]
movzx edx, cl
mov dword [eax + 0x4e18bc], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e08c0]
mov dword [eax + 0x4e1cbc], ecx
movzx edx, cl
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e08c0]
mov dword [eax + 0x4e20bc], ecx
cmp eax, 0x800
jbe 0x422270
ret

Function at 0x422310
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4e28c4], 0
jne 0x42231e
call fcn.004221d0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x42234d
test cl, 7
je 0x42234d
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4e08c0]
dec esi
inc ecx
test esi, esi
ja 0x422330
cmp esi, 8
jb 0x4223c8
mov edi, esi
shr edi, 3
push ebx
xor eax, dword [ecx]
sub esi, 8
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + 0x4e18c0]
xor edx, dword [ebx*4 + 0x4e1cc0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x4e20c0]
movzx ebx, byte [ecx + 6]
xor edx, dword [ebx*4 + 0x4e0cc0]
movzx ebx, byte [ecx + 5]
xor edx, dword [ebx*4 + 0x4e10c0]
movzx ebx, byte [ecx + 4]
xor edx, dword [ebx*4 + 0x4e14c0]
movzx ebx, byte [ecx + 7]
xor edx, dword [ebx*4 + 0x4e08c0]
movzx eax, al
xor edx, dword [eax*4 + 0x4e24c0]
add ecx, 8
sub edi, 1
mov eax, edx
jne 0x422358
pop ebx
test esi, esi
jbe 0x4223e8
lea esp, [esp]
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4e08c0]
dec esi
inc ecx
test esi, esi
ja 0x4223d0
pop edi
pop esi
ret 0xc
Function at 0x422470
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x422480
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x4e28c0]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x4e28c0]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x4e28c0]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x4e28c0]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x422480
pop esi
ret 4

Function at 0x4224d0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4224e0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00422310
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x422586
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x4e28c0]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x4e28c2]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x422530
pop edi
pop esi
ret 4

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

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x42272a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x422690
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4e28c0]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4e28c2]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x422690
pop esi
pop ebx
pop edi
ret 8
Function at 0x427970
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4c3ea6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x51c034], ebx
jne 0x427b37
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4279f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x5050bd], al
jne 0x427a15
mov byte [esp + 0x14], bl
cmp byte [0x51b789], bl
je 0x427a1a
mov byte [esp + 0x14], 1
push 8
call fcn.004b1a60
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x427a41
mov dword [eax], 0x4c89f8
mov dword [eax + 4], 1
mov edi, eax
jmp 0x427a43
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0x73f0
call fcn.004b1a60
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x427a78
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.00427270
mov esi, eax
jmp 0x427a7a
xor esi, esi
mov dword [esp + 0x2c], ebp
xor eax, eax
cmp byte [esp + 0x14], bl
lea edx, [esp + 0x20]
setne al
push edx
mov byte [0x5050be], bl
mov byte [0x5050bf], 1
mov byte [0x5050bc], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x5050bf], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov ebp, eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp byte [0x5050bd], bl
je 0x427aeb
cmp byte [0x51b789], bl
je 0x427aeb
cmp ebp, 0x40100
jne 0x427aeb
call fcn.00495440
mov ecx, 0x5220b8
call fcn.0044acf0
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0x40100
je 0x427b37
cmp byte [0x5050bc], bl
jne 0x427b37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x427b37
push 0x53c
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 4
mov ecx, 0x508304
call fcn.0042cce0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x428620
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x428688
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x428664
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x428650
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.004b1530
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x4286d8
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x4286b4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x4286a0
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.004b1530
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x4286f2
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x4286f2
dec eax
sub ecx, 4
test eax, eax
ja 0x4286e3
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x428713
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x428703
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x428720
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebp
push esi
mov esi, dword [esp + 0x5c]
cmp dword [esi], 0
je 0x42884a
mov ebp, dword [esp + 0x60]
mov eax, dword [ebp]
test eax, eax
je 0x42884a
mov ecx, ebp
lea edx, [esp + 8]
sub ecx, edx
push edi
lea ebx, [ebx]
mov edi, dword [0x5050c4]
lea edx, [ecx + eax*4]
sub eax, 1
mov edx, dword [esp + edx + 0xc]
mov edx, dword [edi + edx*4]
mov dword [esp + eax*4 + 0x10], edx
jne 0x428750
mov edi, dword [esp + 0x5c]
push ebx
push 0x90
push eax
push edi
call fcn.004b14b0
mov ebx, dword [esi]
add esp, 0xc
test ebx, ebx
je 0x4287f7
mov ebp, dword [0x5050c0]
lea esp, [esp]
mov eax, dword [esi + ebx*4]
mov ecx, dword [0x5050c4]
mov esi, dword [ecx + eax*4]
cmp esi, 0x7fff
je 0x4287ea
mov edx, dword [esp + 0x68]
mov eax, dword [edx]
test eax, eax
je 0x4287ea
lea ecx, [ebx + eax]
lea edx, [edi + ecx*4 - 4]
jmp 0x4287c0
mov ecx, dword [esp + eax*4 + 0x10]
cmp ecx, 0x7fff
je 0x4287e2
add ecx, esi
cmp ecx, 0x7fff
jb 0x4287dc
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
dec eax
sub edx, 4
test eax, eax
jne 0x4287c0
sub ebx, 1
mov esi, dword [esp + 0x64]
jne 0x428790
mov ebp, dword [esp + 0x68]
mov edx, dword [esi]
mov eax, dword [ebp]
lea ecx, [edx + eax - 1]
cmp ecx, 0x11
mov dword [edi], ecx
pop ebx
jle 0x428827
lea eax, [edi + ecx*4 - 0x38]
lea edx, [ecx - 0x11]
nop
mov ecx, dword [eax + 0x38]
xor dword [eax - 0xc], ecx
xor dword [eax], ecx
mov dword [eax + 0x38], 0
sub eax, 4
sub edx, 1
jne 0x428810
cmp dword [edi], 0x11
jbe 0x428841
mov dword [edi], 0x11
mov eax, dword [edi]
cmp dword [edi + eax*4], 0
jne 0x428841
dec eax
mov dword [edi], eax
test eax, eax
jne 0x428832
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 0xc
mov ecx, dword [esp + 0x58]
pop esi
mov dword [ecx], 0
pop ebp
add esp, 0x4c
ret 0xc