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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
mov ebx, 0x20006
push ebx
push esi
push esi
push esi
push str.SoftwareMicrosoftMedia_Player
push 0x80000001
call edi
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x10137a8
cmp dword [ebp + 8], esi
je 0x101375c
push esi
lea eax, [ebp - 8]
push eax
push esi
push ebx
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0xc]
call edi
mov dword [ebp - 4], eax
jmp 0x1013762
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10137a3
cmp dword [ebp + 0x14], esi
je 0x101378a
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1013796
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp + 8], esi
mov dword [ebp - 4], eax
je 0x10137a3
push dword [ebp - 8]
call edi
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x10137b7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 8]
push eax
mov edi, 0x20019
push edi
push 0
push str.SoftwareMicrosoftMedia_Player
push 0x80000001
call esi
mov ebx, eax
test ebx, ebx
jne 0x101383d
cmp dword [ebp + 8], eax
je 0x10137fd
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call esi
mov ebx, eax
jmp 0x1013803
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
test ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1013838
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 8], 0
mov ebx, eax
je 0x1013838
push dword [ebp - 4]
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
Function at 0x10149fd
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10019c0
call fcn.01014c00
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1014a3a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1014a3a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1014a52
cmp eax, 0x20b
je 0x1014a3f
mov dword [ebp - 0x1c], ebx
jmp 0x1014a66
cmp dword [ecx + 0x84], 0xe
jbe 0x1014a3a
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1014a60
cmp dword [ecx + 0x74], 0xe
jbe 0x1014a3a
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x101ef70], 0xffffffff
or dword [0x101ef74], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1019058]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1019054]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x101ef78], eax
call fcn.01014bf6
cmp dword [0x1018694], ebx
jne 0x1014ac1
push fcn.01014bf6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01014bdf
push 0x1017010
push 0x101700c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1019050]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x101904c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1017008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1014b57
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1014b2b
cmp al, 0x22
jne 0x1014b1d
cmp byte [esi], 0x22
jne 0x1014b34
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1014b3e
cmp al, 0x20
jbe 0x1014b30
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1014b62
movzx eax, word [ebp - 0x50]
jmp 0x1014b65
cmp byte [esi], 0x20
jbe 0x1014b34
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1014b57
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1014b82
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1014bb7
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01014c3b
ret
Function at 0x1014c69
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10019f8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1014cc1
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1001a34
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1014cb4
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1014cc3
xor eax, eax
pop esi
leave
ret 4
Function at 0x4063fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406422
mov eax, dword [0x40a8c8]
cmp eax, 0xffffffff
je 0x406419
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8c8], 0xffffffff
jmp 0x406495
cmp dword [0x424a80], ebx
je 0x406495
cmp byte [0x424680], bl
je 0x406461
cmp dword [0x40a8c8], 0xffffffff
jne 0x40646a
push 4
push 0x40000000
push 0x424680
call fcn.00405dd9
cmp eax, 0xffffffff
mov dword [0x40a8c8], eax
je 0x406495
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8c8], 0xffffffff
je 0x406495
push esi
mov esi, 0x4252a0
push 0x40ab10
push esi
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp + 8]
push ebx
push eax
push esi
call sub.KERNEL32.dll_lstrlenA
push eax
push esi
push dword [0x40a8c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40663d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x424284], 0
push esi
jne 0x406674
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40664e
mov dword [ecx*4 + 0x424280], eax
inc ecx
cmp ecx, 0x100
jl 0x406649
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4066a5
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x424280]
xor eax, esi
inc ecx
dec edx
jne 0x406687
pop edi
not eax
pop esi
ret 0xc
Function at 0x4019d0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x401b01
push esi
push 0
push 0
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x401a78
push 0x4209
push 0x2b4
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 0
push 0x402
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5b976c]
push dword [esp + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
push 0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
push dword [esp + 0x24]
push 0
push 1
push eax
call fcn.00401b20
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x401aa0
push eax
push eax
push dword [esp + 0x14]
mov ecx, ebx
call fcn.004013f0
test al, al
jne 0x401af9
push ebp
push edi
call fcn.004d5610
mov esi, 1
xor edi, edi
mov ebp, eax
rol esi, 0
test ebp, esi
je 0x401aef
lea eax, [edi + 0x41]
push eax
push str._c:_
lea eax, [esp + 0x2d4]
push 0xa
push eax
call fcn.004027c0
add esp, 0x10
lea eax, [esp + 0x2cc]
mov ecx, ebx
push 1
push 0xffffffffffffffff
push 2
push 0
push 0xffffffffffffffff
push 0
push 0
push eax
call fcn.00401b20
inc edi
rol esi, 1
cmp edi, 0x20
jl 0x401ab3
pop edi
pop ebp
mov ecx, ebx
call fcn.00401f20
pop esi
mov ecx, dword [esp + 0x2d4]
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x2d4
ret
Function at 0x401b20
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2ec]
push esi
push edi
mov edi, dword [esp + 0x304]
push 0x1008
mov dword [esp + 0x14], ecx
call fcn.00502d4e
mov ecx, dword [esp + 0x300]
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x2f8]
push 0x800
push ebp
mov dword [ebx], eax
mov dword [ebx + 4], ecx
call fcn.0049caf0
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.0049ce90
cmp byte [esp + 0x310], 0
mov esi, dword [esp + 0x300]
jne 0x401bd4
cmp esi, 0xffffffff
je 0x401b9b
test edi, edi
jne 0x401bd4
xor eax, eax
cmp dword [esp + 0x2f8], 2
sete al
lea eax, [eax*2 + 0x4201]
push eax
push 0x2b4
lea eax, [esp + 0x40]
push eax
push 0
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp esi, 0xffffffff
jne 0x401bcc
mov esi, dword [esp + 0x3c]
test edi, edi
jne 0x401bd4
lea edi, [esp + 0x44]
xor eax, eax
mov dword [esp + 0x14], 0x37
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x401c0e
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x30c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x308]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push 0
push 0x40b
mov dword [esp + 0x40], ebx
push dword [eax]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x2e0
ret 0x20
Function at 0x401e08
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
mov eax, 0x1004
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, ecx
lea eax, [esp + 4]
push 0x800
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 4]
push eax
call fcn.0044e290
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 0x158
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x401e98
push 0
push eax
push 0x14e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004017a0
cmp byte [0x558b34], 0
mov ecx, esi
je 0x401e7d
call fcn.00402570
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00502f8e
add esp, 0x1004
ret
call fcn.00402720
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00502f8e
add esp, 0x1004
ret
cmp byte [0x558b34], 0
je 0x401eaf
lea eax, [esp + 4]
push eax
call fcn.00484bf0
test al, al
je 0x401ef2
lea eax, [esp + 4]
push eax
call fcn.0049cbf0
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401ef2
test al, 0x10
jne 0x401ef2
lea eax, [esp + 4]
mov ecx, 0x57de98
push eax
call fcn.004483e0
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00502f8e
add esp, 0x1004
ret
push 1
lea eax, [esp + 8]
mov ecx, 0x57de98
push eax
call fcn.00444fa0
mov ecx, dword [esp + 0x1004]
pop esi
xor ecx, esp
call fcn.00502f8e
add esp, 0x1004
ret
Function at 0x40c590
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x814]
xor eax, eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x400
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
push eax
call fcn.0049c630
mov ebx, eax
test ebx, ebx
je 0x40c625
test esi, esi
jne 0x40c5dc
mov esi, 1
jmp 0x40c607
movzx eax, word [esp + 0xc]
mov ecx, 0x5645a8
push eax
call fcn.00466870
test al, al
jne 0x40c607
cmp esi, 1
jne 0x40c606
movzx eax, word [esp + 0xc]
mov word [edi], ax
movzx eax, word [esp + 0xe]
mov word [edi + 2], ax
inc esi
push 0x400
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0049c630
mov ebx, eax
test ebx, ebx
jne 0x40c5d1
cmp esi, 2
jne 0x40c625
mov word [edi], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x804
ret 4
Function at 0x40ed20
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x3020
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x301c], eax
push ebp
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
test ebp, ebp
je 0x40ee6f
push ebx
push 0x10000
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x40ed89
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop ebp
mov ecx, dword [esp + 0x301c]
xor ecx, esp
call fcn.00502f8e
add esp, 0x3020
ret
cmp byte [ebx], 0x49
push esi
mov esi, ebx
jne 0x40ee01
movzx ecx, byte [ebx + 2]
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
cmp ecx, 0x1a
jne 0x40ee01
push edi
lea esi, [ebx + 3]
mov ecx, 6
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push 0x400
lea eax, [esp + 0x1030]
push eax
lea eax, [ebx + 0x1d]
movsw word es:[edi], word [esi]
push eax
call fcn.0040ee90
push 0x400
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.0040ee90
mov esi, eax
pop edi
test esi, esi
je 0x40ee01
push 0
push 0
lea eax, [esp + 0x14]
push eax
call fcn.00441830
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x102c]
push eax
call fcn.0040f3f0
cmp byte [esi], 0x54
jne 0x40ee5f
push 0x800
lea eax, [esp + 0x202c]
push eax
lea eax, [esi + 1]
push eax
call fcn.0040ee90
push 0x800
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.0040ee90
push 0x800
lea ecx, [esp + 0x102c]
push ecx
push eax
call fcn.0040ee90
test eax, eax
je 0x40ee5f
push 0
lea eax, [esp + 0x102c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2034]
push eax
call fcn.00440b00
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [esp + 0x3020]
pop ebp
xor ecx, esp
call fcn.00502f8e
add esp, 0x3020
ret
Function at 0x410440
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x98
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x551e3c], 0
je 0x41047d
xor eax, eax
cmp dword [0x551e30], eax
setne al
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00502f8e
add esp, 0x98
ret
push esi
push 0x90
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00505530
add esp, 0xc
mov dword [esp + 4], 0x94
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [esp + 0x14], 2
push str.USER32
sete al
mov dword [0x551e40], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x41057b
push 0x525448
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x551e20], eax
test eax, eax
je 0x41057b
push str.MonitorFromWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x551e24], eax
test eax, eax
je 0x41057b
push str.MonitorFromRect
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x551e28], eax
test eax, eax
je 0x41057b
push str.MonitorFromPoint
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x551e2c], eax
test eax, eax
je 0x41057b
push str.EnumDisplayMonitors
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x551e34], eax
test eax, eax
je 0x41057b
push str.EnumDisplayDevicesW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x551e38], eax
test eax, eax
je 0x41057b
cmp dword [0x551e40], 0
je 0x41055f
push str.GetMonitorInfoW
jmp 0x410564
push str.GetMonitorInfoA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x551e30], eax
test eax, eax
je 0x41057b
mov eax, 1
jmp 0x4105c3
mov dword [0x551e20], 0
xor eax, eax
mov dword [0x551e24], 0
mov dword [0x551e28], 0
mov dword [0x551e2c], 0
mov dword [0x551e30], 0
mov dword [0x551e34], 0
mov dword [0x551e38], 0
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
mov dword [0x551e3c], 1
call fcn.00502f8e
add esp, 0x98
ret
Function at 0x4114d0
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b241
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5513d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x559c20], 0
jne 0x411692
push str.WinRAR_DragDrop
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411548
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.00496b20
push eax
call fcn.004db310
add esp, 4
jmp 0x411692
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push 8
mov byte [0x551e46], al
call fcn.00502d4e
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x411583
mov dword [edi], 0x52557c
mov dword [edi + 4], 1
jmp 0x411585
xor edi, edi
mov dword [ebp - 4], 0xffffffff
push 0xd750
call fcn.00502d4e
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4115ba
push 0
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.004107d0
mov esi, eax
jmp 0x4115bc
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push 3
push edi
push esi
mov dword [0x551e48], esi
mov byte [0x551e45], 0
mov byte [0x551e44], 1
mov byte [0x551e47], 0
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x551e44], 0
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x14], eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x523720]
call esi
mov ecx, dword [edi]
push edi
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x523720]
call esi
cmp byte [0x551e46], 0
je 0x411640
cmp byte [0x558b34], 0
je 0x411640
cmp dword [ebp - 0x14], 0x40100
jne 0x411640
call fcn.004e30d0
mov ecx, 0x57de98
call fcn.0044b6b0
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
cmp eax, 0x40100
je 0x411692
cmp eax, 0x40101
je 0x411692
cmp byte [0x551e47], 0
jne 0x411692
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x411692
push 0x53c
call fcn.00496b20
push eax
call fcn.004db310
add esp, 4
mov ecx, 0x58c304
call fcn.0046df00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502f8e
mov esp, ebp
pop ebp
ret 8
Function at 0x4123b0
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov eax, 0x3008
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x3004], eax
push esi
mov esi, dword [esp + 0x3010]
call fcn.00477ef0
cmp eax, 0x600
jb 0x41259e
push esi
call fcn.004d5760
test al, al
jne 0x41259e
push 0x800
lea eax, [esp + 0xc]
mov ecx, 0x57de98
push eax
push esi
call fcn.00447a80
push 0x800
lea eax, [esp + 0x100c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004846e0
lea eax, [esp + 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x41259e
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x412466
mov eax, dword [esp + 4]
and eax, 0x80008
cmp eax, 8
jne 0x41259e
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412495
test al, 0x10
jne 0x412495
lea eax, [esp + 8]
push eax
call fcn.00412200
and eax, 6
cmp al, 6
jne 0x412506
lea eax, [esp + 8]
push eax
call fcn.004852e0
push ebx
lea eax, [esp + 0xc]
xor bl, bl
push eax
call fcn.00474160
test al, al
jne 0x41253b
mov bl, 1
lea esp, [esp]
push 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2014]
push eax
call fcn.0049ce90
lea eax, [esp + 0xc]
push eax
call fcn.004852e0
lea eax, [esp + 0x200c]
lea ecx, [esp + 0xc]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x412520
test dx, dx
je 0x412502
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x412520
add ecx, 4
add eax, 4
test dx, dx
jne 0x4124e0
xor eax, eax
jmp 0x412525
mov al, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.00502f8e
add esp, 0x3008
ret 8
sbb eax, eax
or eax, 1
test eax, eax
je 0x41253b
lea eax, [esp + 0xc]
push eax
call fcn.00474160
test al, al
je 0x4124b0
lea eax, [esp + 0xc]
push eax
call fcn.00412200
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x412580
test bl, bl
je 0x412561
cmp byte [esp + 0x3018], 0
je 0x412565
test cl, cl
je 0x412580
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.00502f8e
add esp, 0x3008
ret 8
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.00502f8e
add esp, 0x3008
ret 8
mov ecx, dword [esp + 0x3008]
xor al, al
pop esi
xor ecx, esp
call fcn.00502f8e
add esp, 0x3008
ret 8
Function at 0x4137f0
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov eax, 0x2050
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x204c], eax
push esi
push 0
mov esi, ecx
push 9
push 0x110a
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41391e
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x113e
push dword [esi]
mov dword [esp + 0x34], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41391e
mov eax, dword [esp + 0x48]
test eax, eax
je 0x41391e
lea ecx, [esp + 0x4c]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x41391e
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
lea eax, [esp + 0x50]
push 0x800
shr ebx, 0xf
push eax
lea eax, [esp + 0x1058]
not bl
push eax
and bl, 1
call fcn.0049ce90
lea ecx, [esp + 0x1050]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4138a3
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1002
jae 0x413934
xor eax, eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x18], eax
mov word [esp + ecx + 0x1050], ax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
movzx eax, bl
neg eax
sbb eax, eax
and eax, 0x40
mov word [esp + 0x18], ax
lea eax, [esp + 0x1050]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
movzx eax, byte [esi + 8]
mov ecx, esi
push eax
call fcn.004155d0
pop ebx
mov ecx, dword [esp + 0x2050]
pop esi
xor ecx, esp
call fcn.00502f8e
add esp, 0x2050
ret
call fcn.00502eb2
int3