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

Disassembly:
mov eax, 0x2004
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x2000], 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.004d91b0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 0x158
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x4043ac
push 0
push eax
push 0x14e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
test eax, eax
je 0x40436b
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x40436b
push edi
push 0
push eax
push 0x150
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40436a
test edi, edi
je 0x40436a
mov eax, dword [edi]
cmp eax, 5
ja case.0x4042d2.2
jmp dword [eax*4 + 0x404430]
push 0x800
lea eax, [esp + 0x100c]
push eax
call fcn.004575a0
test al, al
je case.0x4042d2.2
push 1
lea eax, [esp + 0x100c]
mov ecx, 0x5c6810
push eax
call fcn.0045b110
jmp case.0x4042d2.2
push 1
lea eax, [edi + 8]
mov ecx, 0x5c6810
push eax
call fcn.0045b110
jmp case.0x4042d2.2
mov ecx, 0x5c6810
call fcn.0045b820
test al, al
je case.0x4042d2.2
push dword [edi + 4]
mov ecx, 0x5c6810
call fcn.00462450
push 0
mov ecx, 0x5c6810
call fcn.00460c30
push dword [0x5c6838]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [0x58d6c8], 0
jne 0x40436a
mov ecx, esi
mov dword [0x58d6c8], 1
call fcn.00404450
dec dword [0x58d6c8]
pop edi
cmp byte [0x5943f4], 0
mov ecx, esi
je 0x404391
call fcn.004049d0
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret
call fcn.00404c30
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret
cmp byte [0x5943f4], 0
je 0x4043c3
lea eax, [esp + 4]
push eax
call fcn.004a2e20
test al, al
je 0x404406
lea eax, [esp + 4]
push eax
call fcn.004bd840
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404406
test al, 0x10
jne 0x404406
lea eax, [esp + 4]
mov ecx, 0x5c6810
push eax
call fcn.0045e550
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret
push 1
lea eax, [esp + 8]
mov ecx, 0x5c6810
push eax
call fcn.0045b110
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x2004
ret
Function at 0x40ef50
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x58cb30]
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.004bd250
mov ebx, eax
test ebx, ebx
je 0x40efe5
test esi, esi
jne 0x40ef9c
mov esi, 1
jmp 0x40efc7
movzx eax, word [esp + 0xc]
mov ecx, 0x5a4ed8
push eax
call fcn.00480230
test al, al
jne 0x40efc7
cmp esi, 1
jne 0x40efc6
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.004bd250
mov ebx, eax
test ebx, ebx
jne 0x40ef91
cmp esi, 2
jne 0x40efe5
mov word [edi], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x804
ret 4
Function at 0x410240
Capabilities:
Copy file

Disassembly:
mov eax, 0x3020
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x301c], eax
push ebx
mov ebx, dword [esp + 0x3028]
push ebp
push esi
push edi
call fcn.00495bc0
test al, al
je 0x4103fe
call fcn.004fe740
test al, al
je 0x4103fe
push 0x800
lea eax, [esp + 0x2030]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx eax, word [ebx]
mov esi, 0x20
mov ebp, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], str.RarExtLogo.altform_unplated_targetsize_32.png
xor edi, edi
mov dword [esp + 0x18], str.RarExtLogo.altform_unplated_targetsize_48.png
mov dword [esp + 0x1c], str.RarExtLogo.altform_unplated_targetsize_64.png
mov dword [esp + 0x20], str.RarExtLogo_Default.altform_unplated_targetsize_32.png
mov dword [esp + 0x24], str.RarExtLogo_Default.altform_unplated_targetsize_48.png
mov dword [esp + 0x28], str.RarExtLogo_Default.altform_unplated_targetsize_64.png
push 0x800
lea eax, [esp + 0x2030]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005396c7
push 0x800
lea eax, [esp + 0x203c]
push eax
lea eax, [esp + 0x1040]
push eax
call fcn.005396c7
add esp, 0x18
lea eax, [esp + 0x2c]
push 0x800
push dword [esp + edi + 0x18]
push eax
call fcn.004a3880
push 0x800
push dword [esp + edi + 0x24]
lea eax, [esp + 0x1034]
push eax
call fcn.004a3880
cmp word [esp + 0x10], 0
jne 0x410389
lea eax, [esp + 0x102c]
push eax
call fcn.00491350
test al, al
je 0x4103fe
lea eax, [esp + 0x2c]
push eax
call fcn.00491350
test al, al
je 0x41036c
lea eax, [esp + 0x2c]
push eax
call fcn.00490db0
test al, al
je 0x410430
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x410430
test bp, bp
je 0x4103ef
lea eax, [esp + 0x102c]
push eax
call fcn.00491350
test al, al
jne 0x4103b8
push 0
lea eax, [esp + 0x1030]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x410430
lea eax, [esp + 0x2c]
push eax
call fcn.00491350
test al, al
je 0x4103d4
lea eax, [esp + 0x2c]
push eax
call fcn.00490db0
test al, al
je 0x410430
push esi
push esi
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.00410e20
lea eax, [esp + 0x2c]
push eax
call fcn.00491350
test al, al
je 0x41041b
add esi, 0x10
add edi, 4
cmp esi, 0x50
jb 0x4102d2
mov al, 1
mov ecx, dword [esp + 0x302c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x3020
ret 4
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor al, al
jmp 0x410400
Function at 0x412020
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x5024
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x5020], 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 0x412272
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
je 0x41226a
mov al, byte [ebx]
movzx ecx, byte [ebx + 2]
mov byte [esp + 0xb], al
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
cmp ecx, 0x1c
jne 0x412263
push esi
push edi
lea esi, [ebx + 3]
mov ecx, 7
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x1f]
test edi, edi
je 0x412261
movzx esi, byte [edi + 1]
movzx eax, byte [edi]
shl esi, 8
add esi, eax
cmp esi, 0x800
jae 0x412261
add esi, esi
lea eax, [edi + 2]
push esi
push eax
lea eax, [esp + 0x2038]
push eax
call fcn.00531d40
xor eax, eax
add edi, 2
add esp, 0xc
mov word [esp + 0x302e], ax
add edi, esi
je 0x412261
movzx esi, byte [edi + 1]
movzx eax, byte [edi]
shl esi, 8
add esi, eax
cmp esi, 0x800
jae 0x412261
add esi, esi
lea eax, [edi + 2]
push esi
push eax
lea eax, [esp + 0x1038]
push eax
call fcn.00531d40
xor eax, eax
add edi, 2
add esp, 0xc
mov word [esp + 0x202e], ax
add edi, esi
je 0x412261
movzx esi, byte [edi + 1]
movzx eax, byte [edi]
shl esi, 8
add esi, eax
cmp esi, 0x800
jae 0x412261
add esi, esi
lea eax, [edi + 2]
push esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00531d40
xor eax, eax
add edi, 2
add esp, 0xc
mov word [esp + 0x102e], ax
add edi, esi
je 0x412261
movzx esi, byte [edi + 1]
movzx eax, byte [edi]
shl esi, 8
add esi, eax
cmp esi, 0x800
jae 0x412261
add esi, esi
lea eax, [edi + 2]
push esi
push eax
lea eax, [esp + 0x4038]
push eax
call fcn.00531d40
xor eax, eax
add edi, 2
add esp, 0xc
mov word [esp + 0x502e], ax
add edi, esi
je 0x412261
movzx esi, byte [edi + 1]
movzx eax, byte [edi]
shl esi, 8
add esi, eax
cmp esi, 0x800
jae 0x412261
add esi, esi
lea eax, [edi + 2]
push esi
push eax
lea eax, [esp + 0x3038]
push eax
call fcn.00531d40
xor eax, eax
add esp, 0xc
mov word [esp + 0x402e], ax
lea eax, [esi + 2]
add eax, edi
je 0x412261
mov al, byte [esp + 0x13]
cmp al, 1
je 0x412222
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call fcn.00457da0
lea eax, [esp + 0x1030]
push eax
lea eax, [esp + 0x2034]
push eax
call fcn.004127a0
mov al, byte [esp + 0x13]
cmp word [esp + 0x30], 0
jne 0x41222e
cmp al, 1
jne 0x412261
push 0
lea eax, [esp + 0x3034]
push eax
lea eax, [esp + 0x4038]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00456f40
mov al, byte [esp + 0x13]
cmp al, 1
jne 0x412261
lea eax, [esp + 0x30]
push eax
call fcn.00410240
pop edi
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [esp + 0x5024]
pop ebp
xor ecx, esp
call fcn.00530218
add esp, 0x5024
ret
Function at 0x414560
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bf76
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58cb30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5933d8], 0
jne 0x414755
push str.WinRAR_DragDrop
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4145e4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.004b7300
push eax
call fcn.005037c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push 8
mov byte [0x58d76e], al
call fcn.0052ffdd
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x41461f
mov dword [ebx], 0x5599a0
mov dword [ebx + 4], 1
jmp 0x414621
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
push 0x10658
call fcn.0052ffdd
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x414656
push 0
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.00413800
mov esi, eax
jmp 0x414658
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push 3
push ebx
push esi
mov dword [0x58d770], esi
mov byte [0x58d76d], 0
mov byte [0x58d76c], 1
mov byte [0x58d76f], 0
call dword [sym.imp.ole32.dll_DoDragDrop]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [0x58d76c], 0
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x14], eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov ecx, dword [ebx]
push ebx
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55770c]
call esi
cmp byte [0x58d76e], 0
je 0x414707
cmp byte [0x5943f4], 0
je 0x414707
cmp dword [ebp - 0x10], 0x40100
jne 0x414707
call fcn.0050c280
mov ecx, 0x5c6810
call fcn.00461830
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
cmp eax, 0x40100
je 0x414755
cmp eax, 0x40101
je 0x414755
cmp byte [0x58d76f], 0
jne 0x414755
cmp dword [ebp - 0x14], 0x3f0
je 0x414755
push 0x53c
call fcn.004b7300
push eax
call fcn.005037c0
add esp, 4
mov ecx, 0x5d381c
call fcn.004885d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x415680
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov eax, 0x3008
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x3004], eax
push esi
mov esi, dword [esp + 0x3010]
call fcn.00495f30
cmp eax, 0x600
jb 0x41586b
push esi
call fcn.004fd490
test al, al
jne 0x41586b
push 0x800
lea eax, [esp + 0xc]
mov ecx, 0x5c6810
push eax
push esi
call fcn.0045dd10
push 0x800
lea eax, [esp + 0x100c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004a2840
lea eax, [esp + 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x41586b
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 0x415736
mov eax, dword [esp + 4]
and eax, 0x80008
cmp eax, 8
jne 0x41586b
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415765
test al, 0x10
jne 0x415765
lea eax, [esp + 8]
push eax
call fcn.004154a0
and eax, 6
cmp al, 6
jne 0x4157d6
lea eax, [esp + 8]
push eax
call fcn.004a37e0
push ebx
lea eax, [esp + 0xc]
xor bl, bl
push eax
call fcn.00491350
test al, al
jne 0x41580b
mov bl, 1
lea esp, [esp]
push 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2014]
push eax
call fcn.004bdae0
lea eax, [esp + 0xc]
push eax
call fcn.004a37e0
lea eax, [esp + 0x200c]
lea ecx, [esp + 0xc]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4157f0
test dx, dx
je 0x4157d2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4157f0
add ecx, 4
add eax, 4
test dx, dx
jne 0x4157b0
xor eax, eax
jmp 0x4157f5
mov al, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.00530218
add esp, 0x3008
ret 8
sbb eax, eax
or eax, 1
test eax, eax
je 0x41580b
lea eax, [esp + 0xc]
push eax
call fcn.00491350
test al, al
je 0x415780
lea eax, [esp + 0xc]
push eax
call fcn.004154a0
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x415850
test bl, bl
je 0x415831
cmp byte [esp + 0x3018], 0
je 0x415835
test cl, cl
je 0x415850
pop ebx
xor al, al
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.00530218
add esp, 0x3008
ret 8
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.00530218
add esp, 0x3008
ret 8
mov ecx, dword [esp + 0x3008]
xor al, al
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x3008
ret 8
Function at 0x416ff0
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x2050
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x204c], eax
push edi
push 0
mov edi, ecx
push 9
push 0x110a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x417114
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x113e
push dword [edi]
mov dword [esp + 0x34], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x417114
mov eax, dword [esp + 0x48]
test eax, eax
je 0x417114
lea ecx, [esp + 0x4c]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x417114
push esi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx esi, ax
lea eax, [esp + 0x50]
push 0x800
push eax
lea eax, [esp + 0x1058]
shr esi, 0xf
push eax
call fcn.004bdae0
lea ecx, [esp + 0x1050]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4170a0
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1002
jae 0x41712a
xor eax, eax
mov dword [esp + 0xc], 3
mov word [esp + ecx + 0x1050], ax
not esi
mov dword [esp + 8], eax
and esi, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
lea eax, [esp + 0x1050]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
shl esi, 6
push eax
mov word [esp + 0x1c], si
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.004190b0
pop esi
mov ecx, dword [esp + 0x2050]
pop edi
xor ecx, esp
call fcn.00530218
add esp, 0x2050
ret
call fcn.0053013d
int3
Function at 0x417b40
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [esp + 0x2c0]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x2c8]
push 0x4009
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0xc]
push 0x400b
push 0x2b4
mov dword [edi + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2bc]
mov dword [edi + 0x1c], eax
pop edi
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x2b8
ret 8
Function at 0x418c90
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.00530230
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x12b4], eax
mov eax, dword [esp + 0x12bc]
push esi
mov esi, ecx
push 0x4001
push 0x2b4
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x558b90
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x418d06
push eax
push 0x800
lea eax, [esp + 0x2c0]
push eax
call fcn.004fd1a0
push 0x4001
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x2c8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 0
push 0x1109
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x12b8]
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x12b8
ret 4

Function at 0x41a7f0
Capabilities:
Get file size

Disassembly:
push ecx
cmp byte [ecx + 0x10], 0
push esi
je 0x41a843
mov esi, dword [esp + 0xc]
push ebx
xor ebx, ebx
mov dword [esi], 0
mov dword [esi + 4], 0
cmp dword [ecx + 0x18], ebx
jbe 0x41a83b
push ebp
push edi
xor edx, edx
xor ebp, ebp
xor edi, edi
lea esp, [esp]
mov eax, dword [ecx + 0x14]
add edx, dword [eax + edi + 8]
adc ebp, dword [eax + edi + 0xc]
inc ebx
mov dword [esi], edx
lea edi, [edi + 0x10]
mov dword [esi + 4], ebp
cmp ebx, dword [ecx + 0x18]
jb 0x41a820
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
pop ecx
ret 4
lea eax, [esp + 4]
push eax
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a869
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41a869
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ecx
ret 4
Function at 0x41c213
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x41c2f4
mov ecx, dword [esi + 0x18]
push ebx
push ebp
push edi
xor edi, edi
test ecx, ecx
je 0x41c23e
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
cmp edx, dword [eax]
je 0x41c24a
inc edi
add eax, 0x10
cmp edi, ecx
jb 0x41c232
pop edi
pop ebp
pop ebx
xor al, al
pop esi
add esp, 0x18
ret 0xc
cmp edi, ecx
jae 0x41c23e
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov ebx, dword [esp + 0x30]
mov ebp, edi
mov dword [esp + 0x14], ecx
mov ecx, edi
shl ecx, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
jmp 0x41c270
test ebx, ebx
je 0x41c2de
mov eax, dword [esi + 0x14]
mov eax, dword [ecx + eax]
mov dword [esi + 8], eax
mov byte [esi + 0x10], 0
cmp ebp, edi
jbe 0x41c29b
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push 0
push 0
push 0
call fcn.0041c640
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push ebx
push edx
mov ecx, esi
call fcn.0041c210
mov byte [esi + 0x10], 1
test al, al
je 0x41c23e
mov eax, dword [esp + 0x18]
inc ebp
mov edx, dword [esp + 0x10]
sub ebx, eax
mov ecx, dword [esp + 0x1c]
add edx, eax
add dword [esp + 0x14], eax
add ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
cmp ebp, dword [esi + 0x18]
jb 0x41c270
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
mov dword [eax], ecx
mov al, 1
pop esi
add esp, 0x18
ret 0xc
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop esi
setne al
add esp, 0x18
ret 0xc

Function at 0x4224f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.004a3770
push edi
push dword [esp + 0x1c]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.004bda80
push esi
call fcn.00491350
test al, al
je 0x422531
pop edi
mov al, 1
pop esi
add esp, 0xc
ret 0xc
xor eax, eax
mov word [esi], ax
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42257d
lea eax, [edi + edi]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004a3770
push edi
push dword [esp + 0x1c]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.004bda80
push esi
call fcn.00491350
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x422dd0
Capabilities:
Check if file exists

Disassembly:
mov dword [ecx + 0x1048], 0
mov dword [ecx + 0x1044], 0
jmp fcn.0048f900
Function at 0x42b430
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42b474
push esi
mov esi, dword [esp + 0x10]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, esi
shrd esi, edx, 8
movzx ecx, al
shr edx, 8
xor esi, dword [ecx*8 + 0x592bb8]
xor edx, dword [ecx*8 + 0x592bbc]
sub edi, 1
jne 0x42b447
mov eax, esi
pop esi
pop edi
pop ebx
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop ebx
ret 0x10