joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444f32
Capabilities:
Read .ini file

Disassembly:
add esp, 0xfffffb38
cmp byte [0x4af730], 0
jne 0x445007
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.0040ba60
push eax
call fcn.00494f58
add esp, 8
push esp
push 0x64
lea edx, [esp + 0x408]
push edx
push 0x4a4d11
push str.regname
push str.registration
call sub.KERNEL32.DLL_GetPrivateProfileStringA
push esp
push 0x64
lea ecx, [esp + 0x46c]
push ecx
push 0x4a4d11
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 0x445007
cmp byte [esp + 0x464], 0
je 0x445007
test eax, eax
jne 0x445007
push esp
push 0x4a4fd8
push str.informed
push str.registration
call sub.KERNEL32.DLL_WritePrivateProfileStringA
push 0
push 0x44a258
push dword [0x4c2440]
push str.REREG
push dword [0x4af754]
call sub.USER32.DLL_DialogBoxParamA
add esp, 0x4c8
ret

Function at 0x4481b8
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 0x448488
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
mov eax, ebx
call fcn.0046ea5c
test al, al
jne 0x4484a0
xor eax, eax
jmp 0x4484db
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
push ebx
call fcn.00497b1c
pop ecx
push ebx
lea edx, [esp + 4]
push edx
call fcn.00494f58
add esp, 8
push 0x5c
lea ecx, [esp + 4]
push ecx
call fcn.0049503d
add esp, 8
mov ebx, eax
test eax, eax
je 0x4484d5
mov byte [ebx], 0
push esp
call sub.KERNEL32.DLL_RemoveDirectoryA
add esp, 0x400
pop ebx
ret
Function at 0x448540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
test esi, esi
je 0x448642
push esi
call fcn.00494f88
pop ecx
mov dword [esp], eax
test eax, eax
je 0x448642
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x448573
xor eax, eax
jmp 0x448647
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 0x4485b6
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x4485b6
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.00494d68
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 0x4485f7
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x4485f7
mov edx, dword [esp]
inc edx
push edx
push esi
push ebp
call fcn.00494d68
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.0040ffc8
test eax, eax
je 0x44863d
mov ecx, edi
add ecx, ecx
push ecx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x44863d
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov ebp, eax
test eax, eax
je 0x44863d
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 0x44908c
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.0041202c
push eax
lea edx, [esp + 8]
push edx
call fcn.00497eb8
add esp, 0xc
jmp 0x449105
push 0x400
push esi
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
je 0x4490e3
push esi
push ebx
call fcn.00494f0c
add esp, 8
test eax, eax
je 0x4490e3
mov eax, esi
xor edx, edx
call fcn.0046ed24
test al, al
jne 0x449112
push 0x15
mov eax, 0x66
call fcn.0041202c
push eax
lea edx, [esp + 8]
push edx
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
je 0x44912c
xor edx, edx
mov eax, ebx
call fcn.0046ed24
test al, al
je 0x4490b8
mov eax, 0x4c2454
call fcn.00469244
test al, al
je 0x44912c
mov eax, 0x4c2454
xor edx, edx
call fcn.00463974
add esp, 0x864
pop esi
pop ebx
ret

Function at 0x449138
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 0x4a4d8d
lea edx, [esp + 8]
push edx
call fcn.00497eb8
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 0x4491a2
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 0x4a4d11
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.00494f88
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 0x449231
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 0x44a3e0
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.0040ffc8
test eax, eax
je 0x44a405
mov eax, ebp
call fcn.0043e541
jmp 0x44a51f
xor ebx, ebx
xor esi, esi
mov eax, 0x4c2454
xor ecx, ecx
xor edx, edx
call fcn.00468df8
jmp 0x44a466
lea edx, [esp + 0xc30]
mov eax, esp
call fcn.0040a9a4
lea ecx, [esp + 0xc30]
push ecx
call fcn.00494f88
pop ecx
mov edi, eax
inc edi
lea eax, [edi + esi + 1]
push eax
push ebx
call fcn.00493d08
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x44a51f
lea edx, [esp + 0xc30]
push edx
lea ecx, [esi + ebx]
push ecx
call fcn.00494f58
add esp, 8
add esi, edi
mov edx, esp
mov eax, 0x4c2454
xor ecx, ecx
call fcn.00468df8
test al, al
jne 0x44a419
test esi, esi
jne 0x44a4a1
push 0x30
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x14c
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
jmp 0x44a51f
mov byte [ebx + esi], 0
push 0x1e
push 0
lea edx, [esp + 0x1038]
push edx
call fcn.00494dd8
add esp, 0xc
mov ecx, dword [0x4c2440]
mov dword [esp + 0x1030], ecx
mov dword [esp + 0x1034], 3
test ebp, ebp
je 0x44a4df
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 0x44a506
push ebx
call fcn.00493cf8
pop ecx
mov eax, 0x4c297c
call fcn.00469a50
mov edx, 0x4a4d11
mov eax, 0x4c2454
call fcn.00463974
add esp, 0x1050
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44daf8
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
cmp byte [ebp + 8], 0
je 0x44db60
push ebx
push 0x400
mov edx, 0x4a4e9d
mov eax, 0x4a5907
mov ecx, edi
call fcn.0046c1a4
cmp byte [edi], 0
jne 0x44db38
push ebx
push edi
call fcn.00494f58
add esp, 8
jmp 0x44db63
push 0x400
lea eax, [ebp - 0x400]
push eax
push edi
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov byte [ebp - 1], 0
lea edx, [ebp - 0x400]
push edx
push edi
call fcn.00494f58
add esp, 8
jmp 0x44db63
mov byte [edi], 0
mov al, byte [edi]
test al, al
setne bl
and ebx, 1
test al, al
jne 0x44db7c
push edi
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov eax, edi
call fcn.0040bf64
cmp byte [ebp + 0x10], 0
jne 0x44db91
test bl, bl
je 0x44dc36
mov edx, 0x4a5912
mov eax, 0x4a5907
mov ecx, 1
call fcn.0046c37c
test eax, eax
je 0x44dc36
mov eax, esi
call fcn.0040ba60
push eax
push edi
call fcn.00494e7c
add esp, 8
mov eax, edi
call fcn.0040be4c
mov esi, eax
test esi, esi
je 0x44dc36
cmp edi, esi
jae 0x44dc36
mov byte [esi], 0
mov eax, edi
call fcn.0040be4c
mov ebx, eax
test ebx, ebx
je 0x44dc22
cmp edi, ebx
jae 0x44dc22
cmp byte [ebp + 0xc], 0
je 0x44dc0f
cmp byte [esi + 1], 0
je 0x44dc0f
xor eax, eax
mov al, byte [esi + 2]
push eax
call fcn.00498cf0
pop ecx
test eax, eax
jne 0x44dc0f
xor edx, edx
mov dl, byte [esi - 1]
push edx
call fcn.00498cf0
pop ecx
test eax, eax
jne 0x44dc1f
mov edx, 0x4a51de
mov eax, ebx
call fcn.0040ee00
test eax, eax
jne 0x44dc22
mov byte [ebx], 0
dec esi
jmp 0x44dc29
mov byte [esi], 0
dec esi
cmp edi, esi
jae 0x44dc36
xor ecx, ecx
mov cl, byte [esi]
cmp ecx, 0x2e
je 0x44dc25
xor edx, edx
mov eax, edi
call fcn.0040c310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44ead8
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 [0x4c4de8], 0
jne 0x44ed2d
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.SHELL32.DLL_DragQueryFileA
mov edi, eax
cmp edi, 1
jne 0x44ec8e
mov word [esp + 0x408], 0
push 0x400
lea eax, [esp + 0xc]
push eax
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.0040ffc8
test eax, eax
je 0x44eb49
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 [0x4c4de0], 0
je 0x44eb75
cmp eax, dword [0x4c2454]
je 0x44eba1
cmp eax, dword [0x4c2980]
je 0x44eba1
lea eax, [esp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 0x10
jne 0x44eba1
push 1
lea ecx, [esp + 0x40c]
lea edx, [esp + 0xc]
mov eax, 0x4c2454
call fcn.00466b2c
dec eax
je 0x44ed2d
push 7
push str.rarreg.
lea eax, [esp + 0x10]
call fcn.0040ba60
push eax
call fcn.00495188
add esp, 0xc
test eax, eax
jne 0x44ec8e
push 0x400
lea edx, [esp + 0xc0c]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x4a59c3
lea eax, [esp + 0xc0c]
call fcn.0040ba60
push eax
call fcn.00494f58
add esp, 8
push 0
lea edx, [esp + 0xc0c]
push edx
lea ecx, [esp + 0x10]
push ecx
call sub.KERNEL32.DLL_CopyFileA
push dword [0x4c2440]
call sub.USER32.DLL_SetForegroundWindow
push 1
push dword [0x4c2440]
call sub.USER32.DLL_FlashWindow
mov al, 1
call fcn.0040e580
mov byte [0x4af730], al
push 0
push dword [0x4c2440]
call sub.USER32.DLL_FlashWindow
cmp dword [0x4c4de0], 0
je 0x44ec4a
mov eax, 0x4c2454
call fcn.00465248
jmp 0x44ec59
mov edx, 0x4a4d11
mov eax, 0x4c2454
call fcn.00463974
cmp byte [0x4af730], 0
je 0x44ed2d
push 0x30
mov eax, 0x368
call fcn.0041202c
push eax
mov eax, 0x367
call fcn.0041202c
push eax
push dword [0x4c2440]
call sub.USER32.DLL_MessageBoxA
jmp 0x44ed2d
xor eax, eax
call fcn.00457348
cmp dword [0x4c4de0], 0
je 0x44eca8
mov dword [0x4b9084], 1
mov eax, dword [0x4bbab4]
call fcn.0040f74c
xor ebx, ebx
cmp edi, ebx
jle 0x44ed12
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.0040ffc8
test eax, eax
je 0x44ecf5
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 [0x4bbab4]
call fcn.0040f784
inc ebx
cmp edi, ebx
jg 0x44ecb8
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.00458104
add esp, 0x1c08
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44f358
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 0x44f374
mov edx, eax
add edx, dword [ebx + 0x40]
cmp esi, edx
jl 0x44f37b
xor eax, eax
jmp 0x44f461
mov edx, esi
sub edx, eax
push edx
push 0x4a4f24
lea ecx, [esp + 8]
push ecx
call fcn.00497eb8
add esp, 0xc
push 0x4a4d11
push 0x400
lea ecx, [esp + 0x3c]
lea edx, [esp + 8]
mov eax, ebx
call fcn.0046c1a4
lea eax, [esp + 0x34]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x44f3ed
test al, 0x10
je 0x44f3ed
lea eax, [esp + 0x34]
xor edx, edx
call fcn.0046ed24
mov eax, 0x4c2454
call fcn.00469244
test al, al
je 0x44f45c
lea edx, [esp + 0x34]
mov eax, 0x4c2454
xor ecx, ecx
call fcn.0046728c
jmp 0x44f45c
lea edx, [esp + 0x34]
mov eax, 0x4c2454
xor ecx, ecx
call fcn.0046711c
test al, al
je 0x44f45c
sub esi, dword [ebx + 0x3c]
push esi
push 0x4a59ce
lea edx, [esp + 8]
push edx
call fcn.00497eb8
add esp, 0xc
push 0x4a4d11
push 0x400
lea ecx, [esp + 0x43c]
lea edx, [esp + 8]
mov eax, ebx
call fcn.0046c1a4
cmp byte [esp + 0x434], 0
je 0x44f45c
lea edx, [esp + 0x434]
mov eax, 0x4c319c
xor ecx, ecx
call fcn.0046254c
mov eax, 0x4c2454
xor edx, edx
call fcn.00464754
mov eax, 1
add esp, 0x834
pop esi
pop ebx
ret
Function at 0x44f568
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebx
push esi
add esp, 0xfffff2b0
mov byte [esp], al
mov dword [0x4c4df8], 1
test dl, dl
je 0x44f6fc
lea eax, [esp + 0x10]
mov edx, 0x400
call fcn.0046ec68
lea eax, [esp + 0x10]
call fcn.0040bf64
lea edx, [esp + 0x10]
push edx
push str._sRar_
lea ecx, [esp + 0x418]
push ecx
call fcn.00497eb8
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 0x44f6e5
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.00494f58
add esp, 8
lea ecx, [esp + 0x83c]
push ecx
lea eax, [esp + 0x954]
push eax
call fcn.00494e7c
add esp, 8
test byte [esp + 0x810], 0x10
je 0x44f6b4
push 6
push str.Rar_DI
lea edx, [esp + 0x844]
push edx
call fcn.00494fe4
add esp, 0xc
test eax, eax
jne 0x44f659
call fcn.0040ffc8
cmp eax, 4
jne 0x44f65d
xor ecx, ecx
jmp 0x44f662
mov ecx, 1
mov byte [esp + 0xc], cl
lea eax, [esp + 0x950]
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
test eax, eax
jne 0x44f6cf
test bl, bl
je 0x44f681
cmp byte [esp], 0
je 0x44f688
cmp byte [esp + 0xc], 0
je 0x44f6cf
lea eax, [esp + 0x950]
call fcn.0046ea5c
test al, al
je 0x44f6cf
lea eax, [esp + 0x950]
xor edx, edx
call fcn.0040a930
lea eax, [esp + 0x950]
call fcn.0046e23c
jmp 0x44f6cf
lea eax, [esp + 0x950]
xor edx, edx
call fcn.0040a930
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 0x44f6f6
cmp dword [0x4c4df8], 1
je 0x44f5e5
push esi
call sub.KERNEL32.DLL_FindClose
cmp byte [esp], 0
jne 0x44f735
cmp byte [0x4af730], 0
je 0x44f735
push 0
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
mov al, 1
call fcn.0044f748
mov ebx, eax
mov byte [0x4af730], bl
test bl, bl
jne 0x44f735
mov eax, 0x4a5995
call fcn.00450a3c
xor edx, edx
mov dword [0x4c4df8], edx
add esp, 0xd50
pop esi
pop ebx
ret
Function at 0x452a12
Capabilities:
Get memory capacity

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

Function at 0x453860
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff200
mov esi, edx
mov ebx, eax
mov eax, esi
lea ebp, [esp + 0x400]
call fcn.0040ba60
mov edi, eax
cmp byte [0x4b106c], 0
je 0x45389a
mov eax, 0x4b0f6c
mov ecx, 0x3a
mov edx, edi
call fcn.004106c8
jmp 0x4538a5
push 0x3a
push edi
call fcn.00495020
add esp, 8
test eax, eax
je 0x4538e3
cmp byte [0x4a64ac], 0
jne 0x4538e3
push 0x31
mov eax, 0x65
call fcn.0041202c
push eax
mov eax, 0x528
call fcn.0041202c
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
dec eax
jne 0x4538dc
mov byte [0x4a64ac], 1
jmp 0x4538e3
xor eax, eax
jmp 0x4539b1
mov edi, esi
cmp byte [0x4b106c], 0
je 0x453901
mov eax, 0x4b0f6c
mov ecx, 0x5c
mov edx, edi
call fcn.0041070c
jmp 0x45390c
push 0x5c
push edi
call fcn.00495038
add esp, 8
mov edi, eax
test edi, edi
je 0x453920
cmp esi, edi
je 0x453920
xor eax, eax
mov al, byte [edi - 1]
cmp eax, 0x3a
jne 0x453927
mov al, 1
jmp 0x4539b1
push esi
lea edx, [esp + 4]
push edx
call fcn.00494f58
add esp, 8
sub edi, esi
mov byte [esp + edi], 0
push 0x400
push ebp
lea ecx, [esp + 8]
push ecx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov byte [ebp + 0x3ff], 0
jmp 0x4539a4
mov eax, 0x14d
call fcn.0041202c
push eax
push ebp
push str.__s__n_s
lea edx, [esp + 0x80c]
push edx
call fcn.00497eb8
add esp, 0x10
mov eax, 0x65
push 0x34
call fcn.0041202c
push eax
lea edx, [esp + 0x808]
push edx
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
je 0x453999
xor eax, eax
jmp 0x4539b1
mov eax, ebp
xor ecx, ecx
xor edx, edx
call fcn.0040a0bc
push ebp
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x453954
mov al, 1
add esp, 0xe00
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x456751
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 [0x4bbab4]
cmp dword [eax + 0x30], 0
jbe 0x4567cb
push 0x400
push 0
lea edx, [esp + 8]
xor ecx, ecx
call fcn.0040f868
mov edx, dword [0x4bbab4]
cmp dword [edx + 0x30], 1
jne 0x4567b3
mov eax, esp
xor edx, edx
call fcn.0040a504
test al, al
je 0x4567ac
mov eax, esp
xor edx, edx
call fcn.0040a938
call fcn.0040a67c
test al, al
je 0x4567ac
xor ebx, ebx
jmp 0x4567ba
mov ebx, 1
jmp 0x4567ba
mov eax, esp
call fcn.0040c004
mov eax, esp
call fcn.0040ba60
push eax
push esi
call fcn.00494f58
add esp, 8
cmp byte [esi], 0
jne 0x456846
lea edx, [esp + 0x400]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [esp + 0x400]
call fcn.0040ba60
push eax
push esi
call fcn.00494f58
add esp, 8
cmp byte [esi], 0
jne 0x456833
push 0x400
push 0
lea edx, [esp + 0x808]
xor ecx, ecx
mov eax, dword [0x4bbab4]
call fcn.0040f868
test al, al
je 0x456833
lea eax, [esp + 0x800]
call fcn.0040ba60
push eax
push esi
call fcn.00494f58
add esp, 8
mov bl, 1
cmp byte [esi], 0
jne 0x456846
push str.archive
push esi
call fcn.00494f58
add esp, 8
test bl, bl
je 0x456867
mov eax, esi
call fcn.0040be4c
mov ebx, eax
mov eax, esi
call fcn.0040ba60
cmp ebx, eax
je 0x456867
xor edx, edx
mov eax, esi
call fcn.0040bd90
add esp, 0xc00
pop esi
pop ebx
ret
Function at 0x458ce8
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 0x458d31
push edi
push ebx
call fcn.00494f58
add esp, 8
push ebx
call fcn.00494f88
pop ecx
inc eax
add ebx, eax
push edi
push ebx
call fcn.00494f58
add esp, 8
push ebx
call fcn.00494f88
pop ecx
inc eax
add ebx, eax
mov eax, 0x426
call fcn.0041202c
push eax
push ebx
call fcn.00494f58
add esp, 8
push ebx
call fcn.00494f88
pop ecx
inc eax
add ebx, eax
push 0x4a6b7c
push ebx
call fcn.00494f58
add esp, 8
push ebx
call fcn.00494f88
pop ecx
inc eax
add ebx, eax
mov byte [ebx], 0
push 0x4c
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.00494dd8
mov dword [ebp - 0x54], 0x4c
mov ecx, dword [ebp - 4]
mov eax, dword [0x4af754]
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.0040ba60
cmp esi, eax
jne 0x458dcd
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 0x458dfd
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x458dfd
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
Function at 0x458e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff328
push ebx
push esi
lea esi, [ebp - 0x80c]
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [esi], 0
xor ebx, ebx
lea ecx, [ebp - 0x88c]
mov eax, 0x4c319c
mov edx, ebx
call fcn.00462ad4
test al, al
je 0x458e78
test ebx, ebx
je 0x458e57
push 0x4a6b7e
push esi
call fcn.00494e7c
add esp, 8
push 0x4a6b80
push esi
call fcn.00494e7c
add esp, 8
lea eax, [ebp - 0x88c]
push eax
push esi
call fcn.00494e7c
add esp, 8
inc ebx
jmp 0x458e2f
mov eax, 0x426
call fcn.0041202c
push eax
push esi
mov eax, 0x425
call fcn.0041202c
push eax
push esi
mov eax, 0x424
call fcn.0041202c
push eax
push str._s_t_s_t_s_t_s_.exe_t_s_t._t
lea edx, [ebp - 0x40c]
push edx
call fcn.00497eb8
add esp, 0x1c
cmp byte [ebp - 9], 0
je 0x458ef1
mov eax, dword [ebp - 8]
call fcn.0040be4c
mov ebx, eax
test ebx, ebx
je 0x458ef1
inc ebx
push ebx
call fcn.00494f88
pop ecx
cmp eax, 0x14
jge 0x458ef1
mov eax, 0x426
call fcn.0041202c
push eax
push ebx
push ebx
push str._s_t._s_t_s_t._t
lea edx, [ebp - 0x40c]
push edx
call fcn.00497eb8
add esp, 0x14
xor eax, eax
jmp 0x458f09
and edx, 0xff
cmp edx, 9
jne 0x458f08
mov byte [ebp + eax - 0x40c], 0
inc eax
mov dl, byte [ebp + eax - 0x40c]
test dl, dl
jne 0x458ef5
push 0x4c
push 0
lea eax, [ebp - 0x8d8]
push eax
call fcn.00494dd8
mov dword [ebp - 0x8d8], 0x4c
mov ecx, dword [ebp - 4]
mov eax, dword [0x4af754]
mov dword [ebp - 0x8d4], ecx
mov dword [ebp - 0x8d0], eax
lea edx, [ebp - 0x40c]
add esp, 0xc
mov dword [ebp - 0x8cc], edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x8bc], ecx
mov dword [ebp - 0x8b8], 0x400
cmp byte [ebp + 8], 0
je 0x458f71
mov eax, 0x48d
jmp 0x458f76
mov eax, 0x140
call fcn.0041202c
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 8]
call fcn.0040ba60
cmp eax, dword [ebp - 8]
jne 0x458fab
lea edx, [ebp - 0xcd8]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0xcd8]
mov dword [ebp - 0x8ac], ecx
mov dword [ebp - 0x8a4], 0x1080c
mov dword [ebp - 0x89c], 0x4a6bad
lea eax, [ebp - 0x8d8]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x458ff1
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x458ff1
mov eax, dword [ebp - 8]
mov byte [eax], 0
lea edx, [ebp - 0x8d8]
push edx
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4