joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e761
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x43e76a
mov eax, dword [ebp - 4]
add esp, 0xfffffb1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc30], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, 0x49c960
call fcn.0048dbf8
lea edx, [ebp - 0x1034]
mov eax, str.Rar_DIXXXXXX
call fcn.00467cd4
test al, al
jne 0x43e7bf
xor eax, eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
jmp 0x43e94a
lea ecx, [ebp - 0x1434]
push ecx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x1034]
push eax
call fcn.0048f15c
pop ecx
call fcn.004524d0
mov ecx, 0x4b2ac4
mov edx, 0x4b26c4
mov eax, 0x4ba564
call fcn.0045d0fc
mov edx, dword [0x4ba76c]
mov dword [0x4b127c], edx
call fcn.00452fa4
mov dword [0x4b08ac], 2
mov ecx, dword [ebp - 0xc30]
mov edx, ebx
mov eax, dword [0x4b32c4]
call fcn.0040efd4
mov eax, 0x4ba564
xor ecx, ecx
xor edx, edx
call fcn.00458638
xor ebx, ebx
mov word [ebp - 0xc1c], 8
lea eax, [ebp - 0xc08]
call fcn.00411d3c
inc dword [ebp - 0xc10]
mov edx, 0x49cb51
mov word [ebp - 0xc1c], 0x14
lea eax, [ebp - 0xc08]
call fcn.00411ddc
lea eax, [ebp - 0x18d4]
call fcn.00412df4
lea eax, [ebp - 0x18a8]
call fcn.00412df4
lea eax, [ebp - 0x187c]
call fcn.00412df4
jmp 0x43e8de
cmp byte [ebp - 0x18d8], 0
jne 0x43e8de
call fcn.0040f818
test eax, eax
je 0x43e8c4
cmp word [ebp - 0x20e8], 0
je 0x43e8c4
test esi, esi
je 0x43e8c4
lea edx, [ebp - 0xc34]
push edx
push esi
push 0x400
lea ecx, [ebp - 0x20e8]
push ecx
call sub.KERNEL32.DLL_GetFullPathNameW
jmp 0x43e8cd
test esi, esi
je 0x43e8cd
mov word [esi], 0
lea eax, [ebp - 0x24e8]
mov edx, edi
call fcn.0040a568
mov bl, 1
jmp 0x43e8f5
lea edx, [ebp - 0x24e8]
lea eax, [ebp - 0xc08]
xor ecx, ecx
call fcn.00411e50
test al, al
jne 0x43e889
lea eax, [ebp - 0x1434]
push eax
call fcn.0048f15c
pop ecx
test bl, bl
jne 0x43e912
lea edx, [ebp - 0x1034]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
mov byte [0x4b9db8], 0
mov eax, 0x4b9d8c
call fcn.0044546c
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 0xc08]
dec dword [ebp - 0xc10]
call fcn.00411dac
pop eax
mov edx, dword [ebp - 0xc2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4411b7
Capabilities:
Read .ini file

Disassembly:
add esp, 0xfffffb38
cmp byte [0x4a6f94], 0
jne 0x44128c
push 0x400
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rar.ini
lea eax, [esp + 4]
call fcn.0040b578
push eax
call fcn.0048d758
add esp, 8
push esp
push 0x64
lea edx, [esp + 0x408]
push edx
push 0x49c9d5
push str.regname
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x64
lea ecx, [esp + 0x46c]
push ecx
push 0x49c9d5
push str.regcode
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0
push str.informed
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileIntA
cmp byte [esp + 0x400], 0
je 0x44128c
cmp byte [esp + 0x464], 0
je 0x44128c
test eax, eax
jne 0x44128c
push esp
push 0x49cc74
push str.informed
push str.registration
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x446080
push dword [0x4b9820]
push str.REREG
push dword [0x4a6fb8]
call sub.USER32.DLL_DialogBoxParamA
add esp, 0x4c8
ret

Function at 0x443fcc
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x444294
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
mov eax, ebx
call fcn.00467ef4
test al, al
jne 0x4442ac
xor eax, eax
jmp 0x4442e7
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
push ebx
call fcn.0049038c
pop ecx
push ebx
lea edx, [esp + 4]
push edx
call fcn.0048d758
add esp, 8
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.0048d8ad
add esp, 8
mov ebx, eax
test eax, eax
je 0x4442e1
mov byte [ebx], 0
push esp
call sub.KERNEL32.DLL_RemoveDirectoryA
add esp, 0x400
pop ebx
ret
Function at 0x44434c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
test esi, esi
je 0x44444e
push esi
call fcn.0048d788
pop ecx
mov dword [esp], eax
test eax, eax
je 0x44444e
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x44437f
xor eax, eax
jmp 0x444453
call sub.USER32.DLL_EmptyClipboard
mov edi, dword [esp]
inc edi
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x4443c2
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x4443c2
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.0048d568
add esp, 0xc
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 1
call sub.USER32.DLL_SetClipboardData
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x444403
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x444403
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.0048d568
add esp, 0xc
push ebp
push ebp
call sub.USER32.DLL_CharToOemA
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 7
call sub.USER32.DLL_SetClipboardData
call fcn.0040f818
test eax, eax
je 0x444449
mov ecx, edi
add ecx, ecx
push ecx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x444449
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x444449
push edi
push ebp
push 0xffffffffffffffff
push esi
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 0xd
call sub.USER32.DLL_SetClipboardData
call sub.USER32.DLL_CloseClipboard
mov eax, 1
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x444e6c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffff79c
mov ebx, eax
lea esi, [esp + 0x464]
push ebx
mov eax, 0x6c
call fcn.004116e0
push eax
lea edx, [esp + 8]
push edx
call fcn.00490628
add esp, 0xc
jmp 0x444ee5
push 0x400
push esi
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
je 0x444ec3
push esi
push ebx
call fcn.0048d70c
add esp, 8
test eax, eax
je 0x444ec3
mov eax, esi
xor edx, edx
call fcn.0046817c
test al, al
jne 0x444ef2
push 0x15
mov eax, 0x66
call fcn.004116e0
push eax
lea edx, [esp + 8]
push edx
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
je 0x444f0c
xor edx, edx
mov eax, ebx
call fcn.0046817c
test al, al
je 0x444e98
mov eax, 0x4b9834
call fcn.004639fc
test al, al
je 0x444f0c
mov eax, 0x4b9834
xor edx, edx
call fcn.0045e1dc
add esp, 0x864
pop esi
pop ebx
ret

Function at 0x444f70
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
add esp, 0xfffffe94
mov eax, dword [ebx + 0x2c]
add eax, 0x41
push eax
push 0x49ca45
lea edx, [esp + 8]
push edx
call fcn.00490628
add esp, 0xc
push 0x301
push 0x160
lea ecx, [esp + 0x14]
push ecx
push 0
lea eax, [esp + 0x10]
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
test byte [ebx + 0x10], 1
je 0x444fda
push 0xd
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
mov edi, eax
push 0xe
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
mov ebp, eax
push 0
push 0
push 0x49c9d5
lea eax, [ebx + 0x1c]
push eax
push 2
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.GDI32.DLL_ExtTextOutA
push 0x31
call sub.USER32.DLL_GetSystemMetrics
mov esi, eax
push 0x32
call sub.USER32.DLL_GetSystemMetrics
push 3
push 0
push 0
push eax
push esi
push dword [esp + 0x20]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.USER32.DLL_DrawIconEx
push dword [esp + 0xc]
call sub.USER32.DLL_DestroyIcon
lea eax, [esp + 0x18]
push eax
call fcn.0048d788
pop ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, dword [ebx + 0x20]
add ecx, 2
push ecx
add esi, dword [ebx + 0x1c]
add esi, 7
push esi
push dword [ebx + 0x18]
call sub.GDI32.DLL_TextOutA
test byte [ebx + 0x10], 1
je 0x445069
push edi
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
push ebp
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
add esp, 0x16c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x446208
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xffffffb0
mov ebp, eax
call fcn.0040f818
test eax, eax
je 0x44622d
mov eax, ebp
call fcn.0043a97b
jmp 0x44633d
xor ebx, ebx
xor esi, esi
mov eax, 0x4b9834
xor ecx, ecx
xor edx, edx
call fcn.004635f8
jmp 0x44628e
lea edx, [esp + 0xc30]
mov eax, esp
call fcn.0040a568
lea ecx, [esp + 0xc30]
push ecx
call fcn.0048d788
pop ecx
mov edi, eax
inc edi
lea eax, [edi + esi + 1]
push eax
push ebx
call fcn.0048c508
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x44633d
lea edx, [esp + 0xc30]
push edx
lea ecx, [esi + ebx]
push ecx
call fcn.0048d758
add esp, 8
add esi, edi
mov edx, esp
mov eax, 0x4b9834
xor ecx, ecx
call fcn.004635f8
test al, al
jne 0x446241
test esi, esi
jne 0x4462c9
push 0x30
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x14c
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
jmp 0x44633d
mov byte [ebx + esi], 0
push 0x1e
push 0
lea edx, [esp + 0x1038]
push edx
call fcn.0048d5d8
add esp, 0xc
mov ecx, dword [0x4b9820]
mov dword [esp + 0x1030], ecx
mov dword [esp + 0x1034], 3
test ebp, ebp
je 0x446307
mov word [esp + 0x1040], 0x40
mov dword [esp + 0x1038], ebx
lea eax, [esp + 0x1030]
push eax
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
sete dl
and edx, 1
test ebx, ebx
je 0x44632e
push ebx
call fcn.0048c4f8
pop ecx
mov edx, 0x49c9d5
mov eax, 0x4b9834
call fcn.0045e1dc
add esp, 0x1050
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44982c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
cmp byte [ebp + 8], 0
je 0x449866
push ebx
push 0x400
mov edx, 0x49cb3a
mov eax, 0x49d540
mov ecx, edi
call fcn.004657f4
cmp byte [edi], 0
jne 0x449869
push ebx
push edi
call fcn.0048d758
add esp, 8
jmp 0x449869
mov byte [edi], 0
mov al, byte [edi]
test al, al
setne bl
and ebx, 1
test al, al
jne 0x449882
push edi
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, edi
call fcn.0040ba60
cmp byte [ebp + 0x10], 0
jne 0x449897
test bl, bl
je 0x44993c
mov edx, 0x49d54b
mov eax, 0x49d540
mov ecx, 1
call fcn.004659b8
test eax, eax
je 0x44993c
mov eax, esi
call fcn.0040b578
push eax
push edi
call fcn.0048d67c
add esp, 8
mov eax, edi
call fcn.0040b948
mov esi, eax
test esi, esi
je 0x44993c
cmp edi, esi
jae 0x44993c
mov byte [esi], 0
mov eax, edi
call fcn.0040b948
mov ebx, eax
test ebx, ebx
je 0x449928
cmp edi, ebx
jae 0x449928
cmp byte [ebp + 0xc], 0
je 0x449915
cmp byte [esi + 1], 0
je 0x449915
xor eax, eax
mov al, byte [esi + 2]
push eax
call fcn.00491460
pop ecx
test eax, eax
jne 0x449915
xor edx, edx
mov dl, byte [esi - 1]
push edx
call fcn.00491460
pop ecx
test eax, eax
jne 0x449925
mov edx, 0x49ce94
mov eax, ebx
call fcn.0040e61c
test eax, eax
jne 0x449928
mov byte [ebx], 0
dec esi
jmp 0x44992f
mov byte [esi], 0
dec esi
cmp edi, esi
jae 0x44993c
xor ecx, ecx
mov cl, byte [esi]
cmp ecx, 0x2e
je 0x44992b
xor edx, edx
mov eax, edi
call fcn.0040bda0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x44a818
Capabilities:
Copy file
Get file attributes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
mov esi, eax
push eax
add esp, 0xfffff3f8
cmp dword [0x4bc1b0], 0
jne 0x44aa72
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.SHELL32.DLL_DragQueryFileA
mov edi, eax
cmp edi, 1
jne 0x44a9d3
mov word [esp + 0x408], 0
push 0x400
lea eax, [esp + 0xc]
push eax
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0040f818
test eax, eax
je 0x44a889
push 0x400
lea edx, [esp + 0x40c]
push edx
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileW
push esp
call sub.USER32.DLL_GetCursorPos
push dword [esp + 4]
push dword [esp + 4]
call sub.USER32.DLL_WindowFromPoint
cmp dword [0x4bc1a8], 0
je 0x44a8ad
cmp eax, dword [0x4b9834]
je 0x44a8d9
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 0x10
jne 0x44a8d9
push 1
lea ecx, [esp + 0x40c]
lea edx, [esp + 0xc]
mov eax, 0x4b9834
call fcn.00461338
dec eax
je 0x44aa72
cmp byte [0x4a6f94], 0
jne 0x44a9d3
push 7
push str.rarreg.
lea eax, [esp + 0x10]
call fcn.0040b578
push eax
call fcn.0048d9f8
add esp, 0xc
test eax, eax
jne 0x44a9d3
push 0x400
lea edx, [esp + 0xc0c]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x49d5fc
lea eax, [esp + 0xc0c]
call fcn.0040b578
push eax
call fcn.0048d758
add esp, 8
push 0
lea edx, [esp + 0xc0c]
push edx
lea ecx, [esp + 0x10]
push ecx
call sub.KERNEL32.DLL_CopyFileA
push dword [0x4b9820]
call sub.USER32.DLL_SetForegroundWindow
push 1
push dword [0x4b9820]
call sub.USER32.DLL_FlashWindow
mov al, 1
call fcn.0040de2c
mov byte [0x4a6f94], al
push 0
push dword [0x4b9820]
call sub.USER32.DLL_FlashWindow
cmp dword [0x4bc1a8], 0
je 0x44a98f
mov eax, 0x4b9834
call fcn.0045fa58
jmp 0x44a99e
mov edx, 0x49c9d5
mov eax, 0x4b9834
call fcn.0045e1dc
cmp byte [0x4a6f94], 0
je 0x44aa72
push 0x30
mov eax, 0x368
call fcn.004116e0
push eax
mov eax, 0x367
call fcn.004116e0
push eax
push dword [0x4b9820]
call sub.USER32.DLL_MessageBoxA
jmp 0x44aa72
xor eax, eax
call fcn.004529e0
cmp dword [0x4bc1a8], 0
je 0x44a9ed
mov dword [0x4b08ac], 1
mov eax, dword [0x4b32c4]
call fcn.0040ef9c
xor ebx, ebx
cmp edi, ebx
jle 0x44aa57
mov word [esp + 0x1408], 0
push 0x400
lea eax, [esp + 0x100c]
push eax
mov ebp, ebx
push ebp
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0040f818
test eax, eax
je 0x44aa3a
push 0x400
lea eax, [esp + 0x140c]
push eax
push ebp
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [esp + 0x1408]
lea edx, [esp + 0x1008]
mov eax, dword [0x4b32c4]
call fcn.0040efd4
inc ebx
cmp edi, ebx
jg 0x44a9fd
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov cl, 1
mov edx, eax
xor eax, eax
call fcn.00453400
add esp, 0x1c08
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44b0a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
push esi
add esp, 0xfffff7cc
mov esi, edx
mov eax, dword [ebx + 0x3c]
cmp esi, eax
jl 0x44b0bc
mov edx, eax
add edx, dword [ebx + 0x40]
cmp esi, edx
jl 0x44b0c3
xor eax, eax
jmp 0x44b1a1
mov edx, esi
sub edx, eax
push edx
push 0x49cbc0
lea ecx, [esp + 8]
push ecx
call fcn.00490628
add esp, 0xc
push 0x49c9d5
push 0x400
lea ecx, [esp + 0x3c]
lea edx, [esp + 8]
mov eax, ebx
call fcn.004657f4
lea eax, [esp + 0x34]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44b131
test al, 0x10
je 0x44b131
lea eax, [esp + 0x34]
xor edx, edx
call fcn.0046817c
mov eax, 0x4b9834
call fcn.004639fc
test al, al
je 0x44b19c
lea edx, [esp + 0x34]
mov eax, 0x4b9834
xor ecx, ecx
call fcn.00461a90
jmp 0x44b19c
lea edx, [esp + 0x34]
mov eax, 0x4b9834
xor ecx, ecx
call fcn.00461920
sub esi, dword [ebx + 0x3c]
push esi
push 0x49d607
lea edx, [esp + 8]
push edx
call fcn.00490628
add esp, 0xc
push 0x49c9d5
push 0x400
lea ecx, [esp + 0x43c]
lea edx, [esp + 8]
mov eax, ebx
call fcn.004657f4
cmp byte [esp + 0x434], 0
je 0x44b19c
lea edx, [esp + 0x434]
mov eax, 0x4ba564
xor ecx, ecx
call fcn.0045cfe4
mov eax, 0x4b9834
xor edx, edx
call fcn.0045ef84
mov eax, 1
add esp, 0x834
pop esi
pop ebx
ret
Function at 0x44b2a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebx
push esi
add esp, 0xfffff2b0
mov dword [0x4bc1bc], 1
mov byte [esp], al
push 0
push str.WinRarWindow
call sub.USER32.DLL_FindWindowA
test eax, eax
sete al
and eax, 1
test al, al
je 0x44b448
lea eax, [esp + 0x10]
mov edx, 0x400
call fcn.00468100
lea eax, [esp + 0x10]
call fcn.0040ba60
lea edx, [esp + 0x10]
push edx
push str._sRar_
lea ecx, [esp + 0x418]
push ecx
call fcn.00490628
add esp, 0xc
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetSystemTimeAsFileTime
lea edx, [esp + 0x810]
push edx
lea ecx, [esp + 0x414]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov esi, eax
cmp eax, 0xffffffff
sete al
and eax, 1
jmp 0x44b431
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
sub edx, dword [esp + 0x818]
push eax
cmp edx, 8
lea edx, [esp + 0x954]
setae bl
and ebx, 1
push edx
call fcn.0048d758
add esp, 8
lea ecx, [esp + 0x83c]
push ecx
lea eax, [esp + 0x954]
push eax
call fcn.0048d67c
add esp, 8
test byte [esp + 0x810], 0x10
je 0x44b400
push 6
push str.Rar_DI
lea edx, [esp + 0x844]
push edx
call fcn.0048d854
add esp, 0xc
test eax, eax
jne 0x44b3a5
call fcn.0040f818
cmp eax, 4
jne 0x44b3a9
xor ecx, ecx
jmp 0x44b3ae
mov ecx, 1
mov byte [esp + 0xc], cl
lea eax, [esp + 0x950]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
test eax, eax
jne 0x44b41b
test bl, bl
je 0x44b3cd
cmp byte [esp], 0
je 0x44b3d4
cmp byte [esp + 0xc], 0
je 0x44b41b
lea eax, [esp + 0x950]
call fcn.00467ef4
test al, al
je 0x44b41b
lea eax, [esp + 0x950]
xor edx, edx
call fcn.0040a4f4
lea eax, [esp + 0x950]
call fcn.00467754
jmp 0x44b41b
lea eax, [esp + 0x950]
xor edx, edx
call fcn.0040a4f4
lea ecx, [esp + 0x950]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [esp + 0x810]
push eax
push esi
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
sete al
and eax, 1
test eax, eax
jne 0x44b442
cmp dword [0x4bc1bc], 1
je 0x44b331
push esi
call sub.KERNEL32.DLL_FindClose
cmp byte [esp], 0
jne 0x44b481
cmp byte [0x4a6f94], 0
je 0x44b481
push 0
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
mov al, 1
call fcn.0044b494
mov ebx, eax
mov byte [0x4a6f94], bl
test bl, bl
jne 0x44b481
mov eax, 0x49d5ce
call fcn.0044c5e0
xor edx, edx
mov dword [0x4bc1bc], edx
add esp, 0xd50
pop esi
pop ebx
ret
Function at 0x44e589
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
cmp dword [0x49dfdc], 0
jne 0x44e5cb
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov dword [0x49dfdc], 0x400000
mov eax, dword [esp + 8]
cmp eax, 0x8000000
ja 0x44e5ba
mov dword [0x49dfdc], 0x200000
cmp eax, 0x4000000
ja 0x44e5cb
mov dword [0x49dfdc], 0x100000
mov eax, dword [0x49dfdc]
add esp, 0x20
ret

Function at 0x44f3b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff600
mov esi, edx
mov ebx, eax
mov ebp, esp
mov eax, esi
call fcn.0040b578
mov edi, eax
cmp byte [0x4a88d0], 0
je 0x44f3e9
mov eax, 0x4a87d0
mov ecx, 0x3a
mov edx, edi
call fcn.0040fdac
jmp 0x44f3f4
push 0x3a
push edi
call fcn.0048d890
add esp, 8
test eax, eax
je 0x44f432
cmp byte [0x49e020], 0
jne 0x44f432
push 0x31
mov eax, 0x65
call fcn.004116e0
push eax
mov eax, 0x528
call fcn.004116e0
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
dec eax
jne 0x44f42b
mov byte [0x49e020], 1
jmp 0x44f432
xor eax, eax
jmp 0x44f4e3
mov edi, esi
cmp byte [0x4a88d0], 0
je 0x44f450
mov eax, 0x4a87d0
mov ecx, 0x5c
mov edx, edi
call fcn.0040fdf0
jmp 0x44f45b
push 0x5c
push edi
call fcn.0048d8a8
add esp, 8
mov edi, eax
test edi, edi
je 0x44f46f
cmp esi, edi
je 0x44f46f
xor eax, eax
mov al, byte [edi - 1]
cmp eax, 0x3a
jne 0x44f473
mov al, 1
jmp 0x44f4e3
push esi
push ebp
call fcn.0048d758
add esp, 8
sub edi, esi
mov byte [ebp + edi], 0
jmp 0x44f4d6
mov eax, 0x14d
call fcn.004116e0
push eax
push ebp
push str.__s__n_s
lea edx, [esp + 0x40c]
push edx
call fcn.00490628
add esp, 0x10
mov eax, 0x65
push 0x34
call fcn.004116e0
push eax
lea edx, [esp + 0x408]
push edx
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
je 0x44f4cb
xor eax, eax
jmp 0x44f4e3
mov eax, ebp
xor ecx, ecx
xor edx, edx
call fcn.00409c94
push ebp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44f486
mov al, 1
add esp, 0xa00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x451ed7
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffff400
mov esi, edx
xor ebx, ebx
mov byte [esi], 0
mov eax, dword [0x4b32c4]
cmp dword [eax + 0x30], 0
jbe 0x451f51
push 0x400
push 0
lea edx, [esp + 8]
xor ecx, ecx
call fcn.0040f0b8
mov edx, dword [0x4b32c4]
cmp dword [edx + 0x30], 1
jne 0x451f39
mov eax, esp
xor edx, edx
call fcn.0040a0c8
test al, al
je 0x451f32
mov eax, esp
xor edx, edx
call fcn.0040a4fc
call fcn.0040a240
test al, al
je 0x451f32
xor ebx, ebx
jmp 0x451f40
mov ebx, 1
jmp 0x451f40
mov eax, esp
call fcn.0040bb00
mov eax, esp
call fcn.0040b578
push eax
push esi
call fcn.0048d758
add esp, 8
cmp byte [esi], 0
jne 0x451fcc
lea edx, [esp + 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x400]
call fcn.0040b578
push eax
push esi
call fcn.0048d758
add esp, 8
cmp byte [esi], 0
jne 0x451fb9
push 0x400
push 0
lea edx, [esp + 0x808]
xor ecx, ecx
mov eax, dword [0x4b32c4]
call fcn.0040f0b8
test al, al
je 0x451fb9
lea eax, [esp + 0x800]
call fcn.0040b578
push eax
push esi
call fcn.0048d758
add esp, 8
mov bl, 1
cmp byte [esi], 0
jne 0x451fcc
push str.archive
push esi
call fcn.0048d758
add esp, 8
test bl, bl
je 0x451fed
mov eax, esi
call fcn.0040b948
mov ebx, eax
mov eax, esi
call fcn.0040b578
cmp ebx, eax
je 0x451fed
xor edx, edx
mov eax, esi
call fcn.0040b88c
add esp, 0xc00
pop esi
pop ebx
ret
Function at 0x453fcc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x254]
test edi, edi
je 0x454015
push edi
push ebx
call fcn.0048d758
add esp, 8
push ebx
call fcn.0048d788
pop ecx
inc eax
add ebx, eax
push edi
push ebx
call fcn.0048d758
add esp, 8
push ebx
call fcn.0048d788
pop ecx
inc eax
add ebx, eax
mov eax, 0x426
call fcn.004116e0
push eax
push ebx
call fcn.0048d758
add esp, 8
push ebx
call fcn.0048d788
pop ecx
inc eax
add ebx, eax
push 0x49e660
push ebx
call fcn.0048d758
add esp, 8
push ebx
call fcn.0048d788
pop ecx
inc eax
add ebx, eax
mov byte [ebx], 0
push 0x4c
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.0048d5d8
mov dword [ebp - 0x54], 0x4c
mov ecx, dword [ebp - 4]
mov eax, dword [0x4a6fb8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x254]
mov eax, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0x400
mov ecx, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x24], ecx
call fcn.0040b578
cmp esi, eax
jne 0x4540b1
lea edx, [ebp - 0x654]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x1080c
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x4540e1
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x4540e1
mov byte [esi], 0
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4