joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407820
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x804
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
push 0x400
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.00446b30
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x4078c8
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407550
cmp byte [0x4e9b89], 0
mov ecx, esi
je 0x4078ac
call fcn.004071a0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x804
ret
call fcn.00406dc0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x804
ret
cmp byte [0x4e9b89], 0
je 0x407905
lea eax, [esp + 8]
push eax
call fcn.00452e60
test al, al
jne 0x407905
lea ecx, [esp + 8]
push ecx
mov ecx, 0x4f04a8
call fcn.004446b0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x804
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40793f
test al, 0x10
jne 0x40793f
lea eax, [esp + 8]
push eax
mov ecx, 0x4f04a8
call fcn.00444c60
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x804
ret
lea ecx, [esp + 8]
push ecx
call fcn.0048d420
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004a4bb3
add esp, 0x804
ret
Function at 0x407960
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x4cc3b0]
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 0x407a74
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x4079d1
cmp eax, 0xfffffcda
jne 0x4079b7
cmp dword [edi + 0x21c], 2
jne 0x4079b7
mov ecx, 0x4f0498
call fcn.00407820
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004a4bb3
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 0x4079ea
mov ebp, dword [ecx + 4]
jmp 0x4079ed
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 0x407a29
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 0x407a29
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x407a50
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.004a4bb3
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.004a4bb3
add esp, 0x2bc
ret 0x10
Function at 0x409730
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x304
mov eax, dword [0x4cc3b0]
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 0x409750
xor ecx, ecx
mov dword [ecx + 0x4ce458], eax
test eax, eax
je 0x40979c
movzx eax, byte [esp + eax + 0xc]
movzx eax, byte [esp + eax + 0x125]
jmp 0x40979e
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x409783
xor edx, edx
test dl, dl
je 0x4097c2
movzx ecx, dl
movzx eax, byte [esp + ecx + 0xc]
lea ecx, [esp + 0x20b]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x4097c4
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 0x4097fb
movzx eax, bl
movzx eax, byte [esp + eax + 0xc]
movzx ecx, byte [esp + eax + 0x10d]
movzx esi, byte [esp + eax + 0x125]
jmp 0x4097ff
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 + 0x4cf480], ecx
mov dword [edx*4 + 0x4cf880], esi
mov esi, ecx
rol esi, 0x10
ror ecx, 8
mov dword [edx*4 + 0x4d0080], ecx
mov ecx, eax
rol ecx, 8
mov dword [edx*4 + 0x4ce880], ecx
mov ecx, eax
mov dword [edx*4 + 0x4ce480], eax
rol ecx, 0x10
ror eax, 8
mov dword [edx*4 + 0x4cf080], eax
mov dword [edx*4 + 0x4cfc80], esi
movzx esi, dl
lea eax, [esi*8]
xor eax, esi
add eax, eax
add eax, eax
xor eax, esi
mov dword [edx*4 + 0x4cec80], ecx
add eax, eax
mov ecx, eax
shr ecx, 8
xor cl, al
xor cl, 5
je 0x4098e2
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 0x4098e4
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 0x4098ec
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 + 0x4cd858], esi
mov esi, eax
rol esi, 0x10
mov dword [ecx + 0x4cd458], eax
ror eax, 8
inc edx
mov dword [ecx + 0x4cdc58], esi
mov dword [ecx + 0x4ce058], eax
cmp edx, 0x100
jb 0x4097a8
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [0x4d0480], 1
call fcn.004a4bb3
add esp, 0x304
ret
Function at 0x411670
Capabilities:
Get common file path
Get disk information
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, dword [esp + 0x810]
push 0x400
push 0x4baa2e
lea eax, [esp + 0x10]
push eax
push str.TempFolder
push 0x4baa0c
mov byte [edi], 0
call fcn.0045bef0
cmp byte [esp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jne 0x4116d4
cmp byte [0x4f8034], 0
je 0x411790
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 0x411711
cmp eax, 0x400
jae 0x411711
push 0x400
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004a6510
add esp, 0xc
push 0
lea eax, [esp + 0xc]
push eax
call fcn.00431720
test al, al
jne 0x41172d
lea ecx, [esp + 8]
push ecx
push 0x400
call esi
push 1
push 0x4ba9e8
push 0x4baa0c
call fcn.0045ba60
test eax, eax
je 0x411773
cmp byte [0x4f8034], 0
jne 0x411773
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x41175d
cmp eax, 5
jne 0x41178a
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 0x411767
jmp 0x41178a
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 0x411780
push edi
call fcn.00452090
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004a4bb3
add esp, 0x804
ret 4

Function at 0x414830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b61f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4cc3b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
lea ecx, [esi + 0x1ef0]
call fcn.00401aa0
mov byte [esp + 0x14], 0
lea ecx, [esi + 0x30]
call fcn.0042dce0
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.00402940
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x415a90
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 0x415adf
push ebp
call fcn.00485300
test eax, eax
je 0x415ad4
cmp eax, 0x20
je 0x415ad4
push ebp
push eax
push 0x20
push 0x5c8
call fcn.004612e0
push eax
call fcn.00493500
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 0x4bad08
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 0x415cd6
cmp dword [esi + 0x9e4], 0
je 0x415cd6
push 0x148
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004a5410
add esp, 0xc
mov dword [esp + 0xc], 0x148
mov dword [esp + 0x10], 0x410e80
mov dword [esp + 0x14], 0x410ff0
mov dword [esp + 0x18], 0x411000
mov dword [esp + 0x44], 0x411010
mov dword [esp + 0x20], 0x411020
mov dword [esp + 0x2c], 0x4111b0
mov dword [esp + 0x30], 0x4111d0
mov dword [esp + 0x38], 0x4111e0
mov dword [esp + 0x3c], 0x4135f0
mov dword [esp + 0x34], 0x413900
mov dword [esp + 0x48], 0x4112d0
mov dword [esp + 0x4c], 0x4112e0
mov dword [esp + 0x24], 0x4112f0
mov dword [esp + 0x54], 0x411350
mov dword [esp + 0x28], 0x4113d0
mov dword [esp + 0x40], 0x411470
mov dword [esp + 0x58], 0x4114b0
mov dword [esp + 0x5c], 0x4114c0
mov dword [esp + 0x1c], 0x415500
mov dword [esp + 0x50], 0x4114d0
call fcn.0043ee10
push 0x1d8
lea edi, [esi + 0x808]
push 0
push edi
mov dword [esp + 0xe4], eax
call fcn.004a5410
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], 0x40101
call edx
test al, al
je 0x415ca5
cmp dword [esi + 0x80c], 1
jne 0x415ca5
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.00451bd0
push eax
push 0x42e
call fcn.004612e0
push eax
call fcn.00493500
add esp, 8
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x148
ret
Function at 0x418cc0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b66ab
mov eax, dword fs:[0]
push eax
mov eax, 0x1654
call fcn.004a53e0
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x1650], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc3b0]
xor eax, esp
push eax
lea eax, [esp + 0x1664]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1674]
cmp byte [esi + 0x8ec5], 0
mov edi, dword [esp + 0x167c]
mov eax, dword [esi + 0x13d8]
je 0x418ea5
cmp byte [eax + 0x3969], 0
jne 0x418ea5
cmp byte [esi + 0x8ec0], 0
jne 0x418ea5
push esi
lea ecx, [esp + 0x14]
call fcn.00463380
mov dword [esp + 0x166c], 0
movzx eax, word [esi + 0x67d4]
push 0
push 1
cdq
push 0
push edx
push eax
call fcn.004a5a10
mov ecx, dword [esi + 0x67d8]
xor ebx, ebx
add eax, ecx
adc edx, ebx
push edx
push eax
mov ecx, esi
call fcn.00430ca0
mov ecx, esi
call fcn.0040f860
mov ebx, dword [esp + 0x1678]
test bl, bl
je 0x418db8
mov eax, dword [0x4e9b84]
push 0x200
lea edx, [esp + 0x1264]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x34a
call fcn.004612e0
push eax
call fcn.00486000
call fcn.00486700
push 0x1238
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.004a5410
mov eax, dword [esi + 0x67a4]
add esp, 0xc
sub eax, 0x76
je 0x418e1b
sub eax, 3
je 0x418e0d
sub eax, 1
jne 0x418e30
push 0x4ba998
lea ecx, [esi + 0x74f0]
call fcn.0040b5e0
test al, al
je 0x418e03
lea edx, [esp + 0x28]
push edx
push ebx
push esi
call fcn.004184e0
jmp 0x418e30
mov byte [esp + 0x125e], 1
jmp 0x418e30
lea eax, [esp + 0x28]
push eax
push ebx
push esi
call fcn.00417d20
jmp 0x418e30
test byte [esi + 0x67d0], 0x20
je 0x418e91
lea ecx, [esp + 0x28]
push ecx
push ebx
push esi
call fcn.00418190
test bl, bl
je 0x418e46
lea edx, [esp + 0x1260]
push edx
call fcn.00486000
call fcn.00486700
test edi, edi
je 0x418e5d
push 0x1238
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.004a5490
add esp, 0xc
cmp byte [esp + 0x125e], 0
je 0x418e91
test bl, bl
je 0x418e91
push 0x2a9
call fcn.004612e0
push eax
add esi, 0x418
push esi
call fcn.00493af0
add esp, 8
push 1
mov ecx, 0x4d76b4
call fcn.00428f00
mov dword [esp + 0x166c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004633b0
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.004a4bb3
add esp, 0x1660
ret 0xc
Function at 0x41f350
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x1824
call fcn.004a53e0
mov eax, dword [0x4cc3b0]
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 0x41f48a
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 0x41f3bd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x1820]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x1824
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x41f424
cmp byte [ebp + 1], 0x1a
jne 0x41f424
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.0041f300
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0041f300
mov ebx, eax
test ebx, ebx
je 0x41f420
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0043ecb0
lea edi, [esp + 0x30]
lea esi, [esp + 0x830]
call fcn.0041f200
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x41f479
lea eax, [esp + 0x1030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x400
call fcn.0041f300
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0041f300
lea edx, [esp + 0x830]
push edx
mov edi, eax
call fcn.0041f300
test eax, eax
je 0x41f479
push 0
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x103c]
push edx
call fcn.0043e820
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.004a4bb3
add esp, 0x1824
ret
Function at 0x4206a0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1c40
call fcn.004a53e0
mov eax, dword [0x4cc3b0]
xor eax, esp
mov dword [esp + 0x1c3c], eax
push esi
push edi
lea eax, [esp + 0x44]
push eax
call fcn.004523d0
lea ecx, [esp + 0x44]
push ecx
call fcn.00451670
lea edi, [esp + 0x44]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4206d5
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 0x420700
movzx ecx, word [esp + eax + 0x3c]
mov word [esp + eax + 0x83c], cx
add eax, 2
test cx, cx
jne 0x420700
push ebx
mov ebx, dword [esp + 0x1c48]
push 1
test bl, bl
je 0x4208a0
push str.ExportedSettings
push 0x4bad38
call fcn.0045b980
cmp byte [esp + 0x1c4c], 0
jne 0x420772
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.004612e0
push eax
mov eax, dword [0x4eacd4]
push eax
call fcn.00419830
test al, al
je 0x4208cc
test bl, bl
jne 0x42090a
push 0x4bad38
call fcn.0045be60
mov eax, 0x4bb848
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x1248]
push edx
mov edx, 0x500
call fcn.0049c880
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004a5410
mov ecx, dword [0x4eacd4]
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 0x420816
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 0x42082f
push str.ExportedSettings
push 0x4bad38
call fcn.0045b600
test bl, bl
je 0x420914
cmp byte [esp + 0x1c48], 0
jne 0x420846
call fcn.004203a0
xor ecx, ecx
cmp byte [esp + 0x1c48], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.004612e0
push eax
lea edx, [esp + 0x848]
push edx
mov edx, 0x500
call fcn.0049c880
add esp, 0xc
push 0
push 0x2fb
call fcn.004612e0
mov ecx, dword [0x4eacd4]
push eax
lea eax, [esp + 0x848]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x420939
lea edx, [esp + 0x44]
push edx
push str.Settings.reg
call fcn.004525a0
lea eax, [esp + 0x40]
push eax
push 0
call fcn.00431720
test al, al
jne 0x420736
cmp byte [esp + 0x1c4c], al
je 0x4208e6
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c3c]
xor ecx, esp
call fcn.004a4bb3
add esp, 0x1c40
ret 8
xor eax, eax
jmp 0x4208f0
movzx ecx, word [esp + eax + 0x840]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x4208f0
jmp 0x420740
mov eax, str._ea___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x420789
cmp byte [esp + 0x1c4c], 0
jne 0x420939
lea edx, [esp + 0x1240]
push edx
push 0x201
call fcn.004612e0
push eax
call fcn.00493500
add esp, 8
mov ecx, dword [esp + 0x1c40]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004a4bb3
add esp, 0x1c40
ret 8
Function at 0x423cb0
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4b6a66
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc3b0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x4ea434], ebx
jne 0x423e77
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 0x423d35
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.004612e0
push eax
call fcn.00493500
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 [0x4d446d], al
jne 0x423d55
mov byte [esp + 0x14], bl
cmp byte [0x4e9b89], bl
je 0x423d5a
mov byte [esp + 0x14], 1
push 8
call fcn.004a59a4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x423d81
mov dword [eax], 0x4bb954
mov dword [eax + 4], 1
mov edi, eax
jmp 0x423d83
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0x73d8
call fcn.004a59a4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x423db8
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.004235d0
mov esi, eax
jmp 0x423dba
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 [0x4d446e], bl
mov byte [0x4d446f], 1
mov byte [0x4d446c], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x4d446f], 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 [0x4d446d], bl
je 0x423e2b
cmp byte [0x4e9b89], bl
je 0x423e2b
cmp ebp, 0x40100
jne 0x423e2b
call fcn.0048e250
mov ecx, 0x4f04a8
call fcn.004443b0
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 0x423e77
cmp byte [0x4d446c], bl
jne 0x423e77
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x423e77
push 0x53c
call fcn.004612e0
push eax
call fcn.00493500
add esp, 4
mov ecx, 0x4d76b4
call fcn.00428fc0
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 0x4249d0
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 0x424a38
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x424a14
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 0x424a00
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.004a5490
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x424a88
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x424a64
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 0x424a50
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.004a5490
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 0x424aa2
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x424aa2
dec eax
sub ecx, 4
test eax, eax
ja 0x424a93
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x424ac3
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 0x424ab3
pop edi
pop esi
pop ebp
pop ebx
ret 0xc