joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407bf0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x2b8], eax
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c0]
push edi
mov edi, dword [esp + 0x2d0]
cmp ecx, 0x4e
jne 0x407d04
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x407c61
cmp eax, 0xfffffcda
jne 0x407c47
cmp dword [edi + 0x21c], 2
jne 0x407c47
mov ecx, 0x521098
call fcn.00407ab0
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004affec
add esp, 0x2bc
ret 0x10
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edi + 0xc]
push ebx
push ebp
push esi
mov dword [esp + 0x10], edx
cmp eax, 4
jne 0x407c7a
mov ebp, dword [ecx + 4]
jmp 0x407c7d
lea ebp, [ecx + 8]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
and ecx, 8
mov esi, ecx
test dl, 1
je 0x407cb9
mov edx, esi
or edx, 0x200
push edx
push 0x2b4
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call ebx
test eax, eax
je 0x407cb9
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x407ce0
or esi, 0x4001
push esi
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
or dword [edi + 0xc], 0x10000000
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004affec
add esp, 0x2bc
ret 0x10
mov edx, dword [esp + 0x2cc]
push edi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x2bc]
pop edi
xor ecx, esp
call fcn.004affec
add esp, 0x2bc
ret 0x10
Function at 0x409a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
mov edi, edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [esp + ecx + 0x10c], al
mov byte [esp + ecx + 0x20b], al
mov byte [esp + eax + 0xc], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x409a80
xor ecx, ecx
mov dword [ecx + 0x4db978], eax
test eax, eax
je 0x409acc
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x409ace
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x409ab3
xor edx, edx
test dl, dl
je 0x409af2
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x409af4
xor eax, eax
lea ecx, [eax + eax]
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor ecx, eax
add ecx, ecx
xor eax, ecx
mov ebx, eax
shr ebx, 8
xor bl, al
xor bl, 0x63
je 0x409b2b
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x409b2f
xor ecx, ecx
xor esi, esi
shl ecx, 8
movzx eax, bl
or ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, esi
mov esi, ecx
rol esi, 8
mov dword [edx*4 + 0x4dc9a0], ecx
mov dword [edx*4 + 0x4dcda0], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4dd5a0], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4dbda0], ecx
mov ecx, eax
mov dword [edx*4 + 0x4db9a0], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4dc5a0], eax
mov dword [edx*4 + 0x4dd1a0], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4dc1a0], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x409c12
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
add eax, eax
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor ecx, eax
xor ecx, 5
movzx ecx, byte [esp + ecx + 0xc]
lea eax, [esp + 0x20b]
sub eax, ecx
mov bl, byte [eax]
test bl, bl
je 0x409c14
movzx ecx, bl
movzx ecx, byte [esp + ecx + 0xc]
movzx eax, byte [esp + ecx + 0x174]
movzx edi, byte [esp + ecx + 0x1fa]
movzx esi, byte [esp + ecx + 0x1d3]
movzx ecx, byte [esp + ecx + 0x1eb]
jmp 0x409c1c
xor bl, bl
xor eax, eax
xor edi, edi
xor esi, esi
xor ecx, ecx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
shl eax, 8
or eax, ecx
movzx ecx, bl
add ecx, ecx
add ecx, ecx
mov esi, eax
rol esi, 8
mov dword [ecx + 0x4dad78], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4da978], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4db178], esi
mov dword [ecx + 0x4db578], eax
cmp edx, 0x100
jb 0x409ad8
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4dd9a0], 1
call fcn.004affec
add esp, 0x304
ret
Function at 0x411b30
Capabilities:
Get common file path
Get disk information
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, dword [esp + 0x810]
push 0x400
push 0x4c6a66
lea eax, [esp + 0x10]
push eax
push str.TempFolder
push str.Paths
mov byte [edi], 0
call fcn.00460930
cmp byte [esp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jne 0x411b94
cmp byte [0x528c44], 0
je 0x411c50
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 0x400
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jle 0x411bd1
cmp eax, 0x400
jae 0x411bd1
push 0x400
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004b1690
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
call fcn.004355d0
test al, al
jne 0x411bed
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 1
push str.TempRemovableOnly
push str.Paths
call fcn.004604a0
test eax, eax
je 0x411c33
cmp byte [0x528c44], 0
jne 0x411c33
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x411c1d
cmp eax, 5
jne 0x411c4a
lea eax, [esp + 8]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x411c27
jmp 0x411c4a
lea eax, [esp + 8]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x411c40
push edi
call fcn.00456350
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004affec
add esp, 0x804
ret 4
Function at 0x416120
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 0x41616f
push ebp
call fcn.0048b550
test eax, eax
je 0x416164
cmp eax, 0x20
je 0x416164
push ebp
push eax
push 0x20
push 0x5c8
call fcn.00466860
push eax
call fcn.00499800
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 0x416376
cmp dword [esi + 0x9e4], 0
je 0x416376
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004b0470
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x411370
mov dword [esp + 0x14], 0x4114c0
mov dword [esp + 0x18], 0x4114d0
mov dword [esp + 0x44], 0x4114e0
mov dword [esp + 0x20], 0x4114f0
mov dword [esp + 0x2c], 0x411680
mov dword [esp + 0x30], 0x4116a0
mov dword [esp + 0x38], 0x4116b0
mov dword [esp + 0x3c], 0x413760
mov dword [esp + 0x34], 0x413920
mov dword [esp + 0x48], 0x4117a0
mov dword [esp + 0x4c], 0x4117b0
mov dword [esp + 0x24], 0x4117c0
mov dword [esp + 0x54], 0x411820
mov dword [esp + 0x28], 0x4118a0
mov dword [esp + 0x40], 0x411940
mov dword [esp + 0x58], 0x411980
mov dword [esp + 0x5c], 0x411990
mov dword [esp + 0x60], 0x4119a0
mov dword [esp + 0x64], 0x4119b0
mov dword [esp + 0x1c], 0x415b60
mov dword [esp + 0x50], 0x4119c0
call fcn.00444860
push 0x1d8
lea edi, [esi + 0x808]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004b0470
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], 0x41402
call edx
test al, al
je 0x416345
cmp dword [esi + 0x80c], 1
jne 0x416345
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.00455e90
push eax
push 0x42e
call fcn.00466860
push eax
call fcn.00499800
add esp, 8
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x148
ret
Function at 0x419060
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4c28ab
mov eax, dword fs:[0]
push eax
mov eax, 0x1654
call fcn.004b0000
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x1650], eax
push ebx
push esi
push edi
mov eax, dword [0x4d98f0]
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 0x419245
cmp byte [eax + 0x3971], 0
jne 0x419245
cmp byte [esi + 0x8ee0], 0
jne 0x419245
push esi
lea ecx, [esp + 0x14]
call fcn.00468900
mov dword [esp + 0x166c], 0
movzx eax, word [esi + 0x67f0]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.004b0a90
mov ecx, dword [esi + 0x67f4]
xor ebx, ebx
add eax, ecx
adc edx, ebx
push edx
push eax
mov ecx, esi
call fcn.00434b50
mov ecx, esi
call fcn.0040fd20
mov ebx, dword [esp + 0x1678]
test bl, bl
je 0x419158
mov eax, dword [0x51a774]
push 0x200
lea edx, [esp + 0x1264]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x34a
call fcn.00466860
push eax
call fcn.0048c3a0
call fcn.0048cab0
push 0x1238
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.004b0470
mov eax, dword [esi + 0x67bc]
add esp, 0xc
sub eax, 0x76
je 0x4191bb
sub eax, 3
je 0x4191ad
sub eax, 1
jne 0x4191d0
push 0x4c69c4
lea ecx, [esi + 0x7510]
call fcn.0040b9e0
test al, al
je 0x4191a3
lea edx, [esp + 0x28]
push edx
push ebx
push esi
call fcn.00418880
jmp 0x4191d0
mov byte [esp + 0x125e], 1
jmp 0x4191d0
lea eax, [esp + 0x28]
push eax
push ebx
push esi
call fcn.004180c0
jmp 0x4191d0
test byte [esi + 0x67ec], 0x20
je 0x419231
lea ecx, [esp + 0x28]
push ecx
push ebx
push esi
call fcn.00418530
test bl, bl
je 0x4191e6
lea edx, [esp + 0x1260]
push edx
call fcn.0048c3a0
call fcn.0048cab0
test edi, edi
je 0x4191fd
push 0x1238
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004b04f0
add esp, 0xc
cmp byte [esp + 0x125e], 0
jmp 0x419231
mov dword [esp + 0x166c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00468930
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.004affec
add esp, 0x1660
ret 0xc
Function at 0x41aee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c297e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d98f0]
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.0045a960
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
push 0x40000
push eax
push 0x41ae00
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.0045a980
mov ecx, ebx
call fcn.0045a930
push 0x194
lea eax, [esi + 0x30]
push edi
push eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c4], edi
call fcn.004b0470
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 0x41fc80
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.0041d030
mov esi, eax
test esi, esi
je 0x41fcfd
push edi
jmp 0x41fcb0
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x14]
je 0x41fcbf
mov bl, 1
jmp 0x41fcc9
push edi
mov ecx, ebp
call fcn.0041f9b0
mov bl, al
mov eax, dword [esp + 0x18]
push eax
call fcn.004b01c1
push edi
call fcn.004b01c1
add esp, 8
test bl, bl
je 0x41fcfc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, esi
mov byte [esp + 0x1b], 0
call fcn.0041d030
mov esi, eax
test esi, esi
jne 0x41fcb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x41fd10
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.0041d030
mov ebx, eax
test ebx, ebx
je 0x41fd83
push esi
push edi
jmp 0x41fd40
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jne 0x41fd58
push edi
push esi
mov ecx, ebp
call fcn.0041f5b0
push edi
call fcn.004b01c1
push esi
call fcn.004b01c1
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x1b], 0
call fcn.0041d030
mov ebx, eax
test ebx, ebx
jne 0x41fd40
pop edi
pop esi
mov ecx, ebp
call fcn.0041d830
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x420a30
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x1824
call fcn.004b0000
mov eax, dword [0x4d98f0]
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 0x420b6a
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 0x420a9d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x1820]
xor ecx, esp
call fcn.004affec
add esp, 0x1824
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x420b04
cmp byte [ebp + 1], 0x1a
jne 0x420b04
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.004209e0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.004209e0
mov ebx, eax
test ebx, ebx
je 0x420b00
push 0
lea edx, [esp + 0x18]
push edx
call fcn.00444700
lea edi, [esp + 0x30]
lea esi, [esp + 0x830]
call fcn.004208e0
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x420b59
lea eax, [esp + 0x1030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x400
call fcn.004209e0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.004209e0
lea edx, [esp + 0x830]
push edx
mov edi, eax
call fcn.004209e0
test eax, eax
je 0x420b59
push 0
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x103c]
push edx
call fcn.00444270
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.004affec
add esp, 0x1824
ret
Function at 0x421d60
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1c40
call fcn.004b0000
mov eax, dword [0x4d98f0]
xor eax, esp
mov dword [esp + 0x1c3c], eax
push esi
push edi
lea eax, [esp + 0x44]
push eax
call fcn.00456690
lea ecx, [esp + 0x44]
push ecx
call fcn.00455810
lea edi, [esp + 0x44]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x421d95
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 0x421dc0
movzx ecx, word [esp + eax + 0x3c]
mov word [esp + eax + 0x83c], cx
add eax, 2
test cx, cx
jne 0x421dc0
push ebx
mov ebx, dword [esp + 0x1c48]
push 1
test bl, bl
je 0x421f60
push str.ExportedSettings
push 0x4c6d80
call fcn.004603c0
cmp byte [esp + 0x1c4c], 0
jne 0x421e32
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.00466860
push eax
mov eax, dword [0x51b8cc]
push eax
call fcn.00419c10
test al, al
je 0x421f8a
test bl, bl
jne 0x421fca
push 0x4c6d80
call fcn.004608a0
mov eax, 0x4c78e4
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x1248]
push edx
mov edx, 0x500
call fcn.00407130
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004b0470
mov ecx, dword [0x51b8cc]
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 0x421ed6
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 0x421eef
push str.ExportedSettings
push 0x4c6d80
call fcn.00460020
test bl, bl
je 0x421fd4
cmp byte [esp + 0x1c48], 0
jne 0x421f06
call fcn.00421a50
xor ecx, ecx
cmp byte [esp + 0x1c48], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.00466860
push eax
lea edx, [esp + 0x848]
push edx
mov edx, 0x500
call fcn.00407130
add esp, 0xc
push 0
push 0x2fb
call fcn.00466860
mov ecx, dword [0x51b8cc]
push eax
lea eax, [esp + 0x848]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x421ff9
lea edx, [esp + 0x44]
push edx
push str.Settings.reg
call fcn.00456860
lea eax, [esp + 0x40]
push eax
call fcn.00435620
test al, al
jne 0x421df6
cmp byte [esp + 0x1c4c], al
je 0x421fa4
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c3c]
xor ecx, esp
call fcn.004affec
add esp, 0x1c40
ret 8
xor eax, eax
jmp 0x421fb0
movzx ecx, word [esp + eax + 0x840]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x421fb0
jmp 0x421e00
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x421e49
cmp byte [esp + 0x1c4c], 0
jne 0x421ff9
lea edx, [esp + 0x1240]
push edx
push 0x201
call fcn.00466860
push eax
call fcn.00499800
add esp, 8
mov ecx, dword [esp + 0x1c40]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004affec
add esp, 0x1c40
ret 8
Function at 0x422040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x422050
xor eax, 0xedb88320
test al, 1
je 0x42205d
shr eax, 1
xor eax, 0xedb88320
jmp 0x42205f
shr eax, 1
test al, 1
je 0x42206c
shr eax, 1
xor eax, 0xedb88320
jmp 0x42206e
shr eax, 1
test al, 1
je 0x42207b
shr eax, 1
xor eax, 0xedb88320
jmp 0x42207d
shr eax, 1
test al, 1
je 0x42208a
shr eax, 1
xor eax, 0xedb88320
jmp 0x42208c
shr eax, 1
test al, 1
je 0x422099
shr eax, 1
xor eax, 0xedb88320
jmp 0x42209b
shr eax, 1
test al, 1
je 0x4220a8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4220aa
shr eax, 1
test al, 1
je 0x4220b7
shr eax, 1
xor eax, 0xedb88320
jmp 0x4220b9
shr eax, 1
mov dword [ecx*4 + 0x4df8b8], eax
mov dword [ecx*4 + 0x4e18b8], eax
inc ecx
cmp ecx, 0x100
jb 0x422042
mov eax, 0x400
lea esp, [esp]
mov ecx, dword [eax + 0x4df4b8]
movzx edx, cl
shr ecx, 8
xor ecx, dword [edx*4 + 0x4df8b8]
add eax, 4
movzx edx, cl
mov dword [eax + 0x4df8b4], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4df8b8]
movzx edx, cl
mov dword [eax + 0x4dfcb4], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4df8b8]
movzx edx, cl
mov dword [eax + 0x4e00b4], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4df8b8]
movzx edx, cl
mov dword [eax + 0x4e04b4], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4df8b8]
movzx edx, cl
mov dword [eax + 0x4e08b4], ecx
shr ecx, 8
xor ecx, dword [edx*4 + 0x4df8b8]
mov dword [eax + 0x4e0cb4], ecx
movzx edx, cl
shr ecx, 8
xor ecx, dword [edx*4 + 0x4df8b8]
mov dword [eax + 0x4e10b4], ecx
cmp eax, 0x800
jbe 0x4220e0
ret

Function at 0x422180
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4e18bc], 0
jne 0x42218e
call fcn.00422040
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x4221bd
test cl, 7
je 0x4221bd
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4df8b8]
dec esi
inc ecx
test esi, esi
ja 0x4221a0
cmp esi, 8
jb 0x422238
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 + 0x4e08b8]
xor edx, dword [ebx*4 + 0x4e0cb8]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + 0x4e10b8]
movzx ebx, byte [ecx + 6]
xor edx, dword [ebx*4 + 0x4dfcb8]
movzx ebx, byte [ecx + 5]
xor edx, dword [ebx*4 + 0x4e00b8]
movzx ebx, byte [ecx + 4]
xor edx, dword [ebx*4 + 0x4e04b8]
movzx ebx, byte [ecx + 7]
xor edx, dword [ebx*4 + 0x4df8b8]
movzx eax, al
xor edx, dword [eax*4 + 0x4e14b8]
add ecx, 8
sub edi, 1
mov eax, edx
jne 0x4221c8
pop ebx
test esi, esi
jbe 0x422258
lea esp, [esp]
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4df8b8]
dec esi
inc ecx
test esi, esi
ja 0x422240
pop edi
pop esi
ret 0xc
Function at 0x4222e0
Capabilities:
Encode data using add xor sub operations

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

Function at 0x422340
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 0x422350
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00422180
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 0x4223f6
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 + 0x4e18b8]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x4e18ba]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4223a0
pop edi
pop esi
ret 4

Function at 0x4224e0
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 0x42259a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x422500
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 + 0x4e18b8]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x4e18ba]
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 0x422500
pop esi
pop ebx
pop edi
ret 8