joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db700
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x414]
lea eax, [esp + 0xc]
push 0x200
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [0x5ddda0], 0
mov ebx, 0x200
je 0x4db790
push ebx
push 0x545884
lea eax, [esp + 0x14]
push eax
call fcn.0049dbe0
lea esi, [esp + 0xc]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4db757
push 0x5ddda0
sub esi, ecx
push 0x5aa
sar esi, 1
call fcn.00497960
push eax
mov eax, ebx
sub eax, esi
push 0x550e1c
push eax
lea eax, [esp + 0x1c]
lea eax, [eax + esi*2]
push eax
call fcn.00402930
add esp, 0x14
cmp byte [0x5ddd51], 0
je 0x4db7e8
push 0x200
push 0x545884
lea eax, [esp + 0x14]
push eax
call fcn.0049dbe0
lea esi, [esp + 0xc]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4db7b4
push dword [esp + 0x418]
sub esi, ecx
push 0x2fd
sar esi, 1
call fcn.00497960
push eax
sub ebx, esi
lea eax, [esp + 0x14]
lea eax, [eax + esi*2]
push ebx
push eax
call fcn.00402930
add esp, 0x10
push 0x80
lea eax, [esp + 0x10]
push eax
call fcn.0044e550
push 0x80
lea eax, [esp + 0x10]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.0049dc20
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x404
ret 8

Function at 0x4dbf80
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1404
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x1400], eax
mov eax, dword [esp + 0x1408]
push esi
mov esi, dword [esp + 0x1410]
push edi
push eax
push dword [0x57dfa8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [esp + 8]
push 0xa00
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
mov ecx, esi
mov edi, edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4dbff6
test ax, ax
je 0x4dbff2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4dbff6
add ecx, 4
add edx, 4
test ax, ax
jne 0x4dbfd0
xor eax, eax
jmp 0x4dbffb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4dc007
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x1408]
pop edi
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x1404
ret 8
Function at 0x4dc020
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d6ec
mov eax, dword fs:[0]
push eax
sub esp, 0x7bc
mov eax, dword [0x5755c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x57dfa8], 0
je 0x4dc24a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x619bb0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5df314]
cmp eax, dword [ecx + 4]
jle 0x4dc0b0
push 0x5df314
call fcn.00508154
add esp, 4
cmp dword [0x5df314], 0xffffffff
jne 0x4dc0b0
mov dword [ebp - 4], 0
mov dword [0x5df310], 0
mov dword [ebp - 4], 0xffffffff
push 0x5df314
call fcn.00508115
add esp, 4
push 0x64
mov ecx, 0x5df310
call fcn.0044e1d0
test al, al
jne 0x4dc0cc
mov byte [0x5ddd50], 1
jmp 0x4dc24a
push 0x200
lea eax, [ebp - 0x410]
mov byte [0x5ddd50], 0
push eax
push dword [0x57dfa8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x5da74c]
cmp eax, 0xa
je 0x4dc1d0
cmp eax, 9
je 0x4dc1d0
mov edx, 0x5dc750
lea ecx, [ebp - 0x410]
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x4dc136
test si, si
je 0x4dc132
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4dc136
add ecx, 4
add edx, 4
test si, si
jne 0x4dc110
xor ecx, ecx
jmp 0x4dc13b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x4dc1d0
push 0x5dc750
push dword [0x57dfa8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x5da74c]
cmp eax, 3
jne 0x4dc1e9
cmp dword [0x5da748], 0
je 0x4dc1d5
push 0x3b8
lea eax, [ebp - 0x7c8]
push 0
push eax
call fcn.00520500
mov eax, dword [0x57dfa8]
add esp, 0xc
mov dword [ebp - 0x7c4], eax
lea eax, [ebp - 0x7c8]
mov dword [ebp - 0x7c8], 0x3b8
mov dword [ebp - 0x7c0], 0x7b
push dword [0x5dde04]
mov dword [ebp - 0x7bc], 4
push eax
call fcn.004db700
lea eax, [ebp - 0x7c8]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [0x5da74c]
cmp eax, 3
jne 0x4dc1e9
push 0x5dd850
push 0x9d
call fcn.004dbf80
mov eax, dword [0x5da74c]
test eax, eax
je 0x4dc1fc
cmp eax, 1
je 0x4dc1fc
cmp eax, 2
je 0x4dc1fc
cmp eax, 0xa
jne 0x4dc23e
push 0x5dd850
push 0x9d
call fcn.004dbf80
push 0x5da750
call fcn.00486220
push eax
push 0x9c
push dword [0x57dfa8]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x9c
push dword [0x57dfa8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0044e720
push dword [0x57dfa8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507712
mov esp, ebp
pop ebp
ret
Function at 0x4e07d0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2008
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x2004], eax
cmp byte [esp + 0x2024], 0
push ebx
mov ebx, dword [esp + 0x201c]
push ebp
mov ebp, dword [esp + 0x2018]
push esi
mov esi, dword [esp + 0x2020]
push edi
mov edi, dword [esp + 0x201c]
je 0x4e086d
push 0x800
push esi
push edi
push str.DefFolder
push str.Extraction
call fcn.004af2c0
cmp word [edi], 0
jne 0x4e0838
push ebp
push esi
push edi
call fcn.0049dc20
jmp 0x4e086d
push 0x800
lea eax, [esp + 0x1018]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4e0868
cmp eax, 0x800
jae 0x4e0868
push ebp
lea eax, [esp + 0x1018]
push eax
push edi
call fcn.0049dc20
jmp 0x4e086d
xor eax, eax
mov word [edi], ax
movzx eax, word [edi]
mov ecx, eax
mov dword [esp + 0x10], ecx
test ax, ax
jne 0x4e0887
push ebp
push edi
mov ecx, 0x5a9378
call fcn.00447620
push ebp
push edi
call fcn.00484610
push 0x800
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.0049dc20
xor ebx, ebx
cmp word [esp + 0x14], bx
je 0x4e08e3
xor eax, eax
lea esi, [esp + 0x14]
lea ecx, [ecx]
cmp word [esi], 0x25
jne 0x4e08d3
lea ecx, [esp + 0x16]
add eax, ecx
push 0x25
push eax
call fcn.0051f04b
add esp, 8
test eax, eax
je 0x4e08d3
mov ecx, 0x5f
mov word [esi], cx
inc ebx
lea esi, [esp + 0x14]
lea eax, [ebx + ebx]
add esi, eax
cmp word [esi], 0
jne 0x4e08b0
lea eax, [esp + 0x14]
push eax
call fcn.00485580
mov esi, eax
test esi, esi
je 0x4e097e
lea eax, [esp + 0x14]
cmp esi, eax
jbe 0x4e097e
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x14]
push eax
call fcn.00485580
mov ebx, eax
test ebx, ebx
je 0x4e095d
lea eax, [esp + 0x14]
cmp ebx, eax
jbe 0x4e095d
cmp byte [esp + 0x2030], 0
je 0x4e0949
cmp word [esi + 2], 0
je 0x4e0949
movzx eax, word [esi + 4]
push eax
call fcn.0049d7e0
test al, al
jne 0x4e0949
movzx eax, word [esi - 2]
push eax
call fcn.0049d7e0
test al, al
jne 0x4e0958
push str..tar
push ebx
call fcn.004a1330
test eax, eax
jne 0x4e095d
xor eax, eax
mov word [ebx], ax
sub esi, 2
lea eax, [esp + 0x14]
cmp esi, eax
jbe 0x4e097e
cmp word [esi], 0x2e
jne 0x4e097e
xor eax, eax
mov word [esi], ax
sub esi, 2
lea eax, [esp + 0x14]
cmp esi, eax
ja 0x4e0968
push 0x800
lea eax, [esp + 0x18]
push eax
call fcn.00486220
push eax
push 0x5e3b80
call fcn.0049dc20
push 0x5e3b80
call fcn.004d7480
push 0
push 0x5e3b80
call fcn.00485f50
cmp byte [esp + 0x202c], 0
jne 0x4e09c0
cmp word [esp + 0x10], 0
je 0x4e09e7
push 1
push str.AppendName
push str.Extraction
call fcn.004af130
test eax, eax
je 0x4e09e7
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.00486220
push eax
push edi
call fcn.0049dbe0
push edi
call fcn.004d7480
push 0
push edi
call fcn.00485f50
mov ecx, dword [esp + 0x2014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x2008
ret 0x1c
Function at 0x4e0a10
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1008
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
lea ecx, [esp]
push 0x800
push ecx
push eax
mov ecx, 0x5a9378
call fcn.00448100
push 0x802
lea eax, [esp + 4]
push eax
call fcn.00484610
push 0x802
push 0x542024
lea eax, [esp + 8]
push eax
call fcn.0049dbe0
push 1
push 0x541b9c
push 0
lea eax, [esp + 0xc]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.00507712
add esp, 0x1008
ret 4

Function at 0x4e19a0
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
mov eax, 0x325c
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x3258], eax
cmp byte [esp + 0x3264], 0
push ebx
mov bh, byte [esp + 0x3264]
mov dword [0x57dfbc], 1
je 0x4e1b0e
push edi
push 0
push 0x800
lea eax, [esp + 0x1268]
push eax
call fcn.004d6b80
push 0x800
lea eax, [esp + 0x1264]
push eax
call fcn.00484610
lea eax, [esp + 0x1260]
push eax
push str._sRar_
lea eax, [esp + 0x2268]
push 0x800
push eax
call fcn.00402930
add esp, 0x10
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4e1b06
push esi
jmp 0x4e1a50
cmp dword [0x57dfbc], 1
jne 0x4e1b05
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1264]
sub esi, dword [esp + 0x1c]
push 0x800
push eax
lea eax, [esp + 0x26c]
push eax
call fcn.0049dc20
push 0x800
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x26c]
push eax
call fcn.0049dbe0
test byte [esp + 0x14], 0x10
je 0x4e1ae4
push 6
lea eax, [esp + 0x44]
push str.Rar_DI
push eax
call fcn.0052595a
add esp, 0xc
test eax, eax
lea eax, [esp + 0x264]
sete bl
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4e1af1
cmp esi, 8
jb 0x4e1ad1
test bh, bh
je 0x4e1ad5
test bl, bl
je 0x4e1af1
lea eax, [esp + 0x264]
push eax
call fcn.004d6350
jmp 0x4e1af1
lea eax, [esp + 0x264]
push eax
call fcn.004d6280
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e1a50
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
test bh, bh
pop ebx
jne 0x4e1b3d
call fcn.004667a0
test al, al
je 0x4e1b3d
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 1
call fcn.004ed8c0
mov byte [esp], al
push dword [esp]
call fcn.00466950
mov ecx, dword [esp + 0x3258]
xor ecx, esp
mov dword [0x57dfbc], 0
call fcn.00507712
add esp, 0x325c
ret 8
Function at 0x4e4fe0
Capabilities:
Delete file

Disassembly:
mov eax, 0x1120
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x111c], eax
cmp byte [0x5aa3ba], 0
jne 0x4e524e
cmp byte [esp + 0x1124], 0
jne 0x4e502b
call fcn.004e5270
mov ecx, dword [esp + 0x111c]
xor ecx, esp
call fcn.00507712
add esp, 0x1120
ret 4
push ebp
push edi
xor edi, edi
mov ecx, 0x5a9378
push edi
xor ebp, ebp
mov dword [esp + 0x10c0], edi
mov dword [esp + 0x10c4], edi
mov dword [esp + 0x10c8], edi
mov dword [esp + 0x10cc], edi
mov dword [esp + 0x10d0], edi
mov dword [esp + 0x10d4], edi
call fcn.00447a70
lea eax, [esp + 0x2c]
mov ecx, 0x5a9378
push eax
call fcn.00447a70
test al, al
je 0x4e50aa
lea esp, [esp]
lea eax, [esp + 0xb]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004e9860
test al, al
lea eax, [esp + 0x2c]
jne 0x4e51ce
push eax
mov ecx, 0x5a9378
call fcn.00447a70
test al, al
jne 0x4e5080
push ebx
push esi
push 0
mov ecx, 0x5a9378
call fcn.00447a70
lea eax, [esp + 0x34]
mov ecx, 0x5a9378
push eax
call fcn.00447a70
test al, al
je 0x4e5221
nop
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e50d7
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + edi]
lea eax, [ebx*2 + 4]
push eax
push ebp
call fcn.00524ab2
mov esi, eax
add esp, 8
test esi, esi
je 0x4e5241
lea ecx, [esp + 0x34]
mov ebp, esi
lea edx, [edi + edi]
mov eax, ecx
sub edx, eax
add edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4e5113
lea eax, [esp + 0x34]
mov ecx, 0x5a9378
push eax
lea edi, [ebx + 1]
call fcn.00447a70
test al, al
jne 0x4e50d0
test edi, edi
je 0x4e5221
xor eax, eax
mov word [esi + edi*2], ax
inc dword [0x57cf80]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov eax, dword [0x57cf9c]
mov dword [esp + 0x14], eax
mov eax, 0x40
mov word [esp + 0x24], ax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
push esi
sete bl
dec dword [0x57cf80]
call fcn.00524aa2
add esp, 4
test bl, bl
je 0x4e524a
cmp dword [esp + 0x26], 0
jne 0x4e524a
mov ecx, 0x57f024
call fcn.004bcfe0
push 0x541b9c
mov ecx, 0x5a9378
call fcn.0044b220
jmp 0x4e524a
push 0x64
push eax
call fcn.0044e630
push eax
push 0x204
call fcn.00497960
push eax
call fcn.004dcc30
add esp, 8
push 0x205
call fcn.00497960
push eax
call fcn.004dced0
movzx eax, byte [esp + 0xf]
add esp, 4
neg eax
sbb eax, eax
and eax, 0xffffff87
add eax, 0xce
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x5b77e4
call fcn.0046e910
jmp 0x4e524c
push 0x30
push 0x65
call fcn.00497960
push eax
push 0x14c
call fcn.00497960
push eax
push dword [0x57cf9c]
call fcn.004d8380
push ebp
call fcn.00524aa2
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x111c]
xor ecx, esp
call fcn.00507712
add esp, 0x1120
ret 4
Function at 0x4e66b0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2d0
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x2cc], eax
push ebx
push esi
mov esi, dword [esp + 0x2dc]
push edi
mov eax, dword [esi + 0x2c]
add eax, 0x41
push eax
push str._c:_
lea eax, [esp + 0x2cc]
push 0xa
push eax
call fcn.00402930
add esp, 0x10
lea eax, [esp + 0x10]
push 0x301
push 0x2b4
push eax
push 0
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test byte [esi + 0x10], 1
je 0x4e673b
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xe
mov edi, eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ebx, eax
jmp 0x4e6743
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
push ebp
push 0
push 0
push 0x541b9c
lea ebp, [esi + 0x1c]
push ebp
push 2
push dword [esi + 0x20]
push dword [ebp]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 3
push 0
push 0
push eax
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esi + 0x20]
push dword [ebp]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x104
lea eax, [esp + 0x24]
push eax
call fcn.004d7de0
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e67b4
sub ecx, edx
lea eax, [esp + 0x20]
sar ecx, 1
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x20]
add ecx, 7
add eax, 2
push eax
mov eax, dword [ebp]
add eax, ecx
push eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_TextOutW]
test byte [esi + 0x10], 1
pop ebp
je 0x4e6801
push edi
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push ebx
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x2d0
ret 4

Function at 0x4e68d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
push edi
sete byte [esp + 0xc]
mov edi, esi
test esi, esi
jne 0x4e68fe
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e6955
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4e6919
cmp dword [0x57cf9c], 0
je 0x4e6919
push dword [esp + 0xc]
push esi
call fcn.004e6960
test al, al
je 0x4e6919
mov bl, 1
jmp 0x4e691b
xor bl, bl
test edi, edi
jne 0x4e6927
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4e692e
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
test bl, bl
je 0x4e6955
cmp byte [esp + 0x18], 0
je 0x4e6940
mov byte [0x591b3a], 1
push 0
push 0
push 0x800e
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x4e6960
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x100c
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x57cf80], 0
push ebx
mov ebx, dword [esp + 0x1014]
je 0x4e69a3
xor al, al
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.00507712
add esp, 0x100c
ret 8
push edi
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov edi, eax
cmp edi, 1
jne 0x4e6a60
xor eax, eax
push 0x800
mov word [esp + 0x14], ax
lea eax, [esp + 0x14]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp byte [0x57dfb4], 0
je 0x4e6a12
cmp byte [esp + 0x101c], 0
jne 0x4e6a37
cmp eax, dword [0x5a93a8]
je 0x4e6a37
cmp eax, dword [0x57f02c]
je 0x4e6a37
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4e6a37
push 1
lea eax, [esp + 0x14]
mov ecx, 0x5a9378
push eax
call fcn.004487b0
cmp eax, 1
je 0x4e6a5c
push 7
push 0x55586c
lea eax, [esp + 0x18]
push eax
call fcn.00486220
push eax
call fcn.004a1380
test eax, eax
jne 0x4e6a60
lea eax, [esp + 0x10]
push eax
call fcn.004e9610
xor al, al
jmp 0x4e6aa9
push esi
push 0
call fcn.004d2030
mov ecx, 0x599eec
call fcn.0049def0
xor esi, esi
test edi, edi
je 0x4e6aa6
jmp 0x4e6a80
push 0x800
lea eax, [esp + 0x18]
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea eax, [esp + 0x14]
mov ecx, 0x599eec
push eax
call fcn.0049dd10
inc esi
cmp esi, edi
jb 0x4e6a80
mov al, 1
pop esi
mov ecx, dword [esp + 0x1010]
pop edi
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x100c
ret 8
Function at 0x4e9610
Capabilities:
Copy file

Disassembly:
mov eax, 0x2008
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x2004], eax
push esi
mov esi, dword [esp + 0x2010]
call fcn.004667a0
test al, al
je 0x4e966e
cmp byte [0x591b20], 0
jne 0x4e966e
push 0x24
push 0x5f0
call fcn.00497960
push eax
push 0x5f1
call fcn.00497960
push eax
push dword [0x57cf9c]
call fcn.004d8380
cmp eax, 6
jne 0x4e97c9
push ebx
push 0x800
lea eax, [esp + 0x1010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.rarreg.key
lea eax, [esp + 0x1014]
push eax
call fcn.00486320
push 0
lea eax, [esp + 0x1010]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
test eax, eax
lea eax, [esp + 0x10]
push 0x800
push eax
setne bl
call fcn.004856f0
push 0x800
lea eax, [esp + 0x10]
push eax
call fcn.00484610
push 0x800
push str.rarreg.key
lea eax, [esp + 0x14]
push eax
call fcn.0049dbe0
test bl, bl
lea eax, [esp + 0xc]
pop ebx
je 0x4e96f6
push eax
call fcn.00474cc0
jmp 0x4e9717
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x800
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1010]
push eax
call fcn.0049dc20
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_FlashWindow]
push 1
lea eax, [esp + 0x100c]
push eax
call fcn.004665e0
mov byte [esp + 4], al
push dword [esp + 4]
call fcn.00466950
push 0
push dword [0x57cf9c]
call dword [sym.imp.USER32.dll_FlashWindow]
mov ecx, 0x5a9378
call fcn.0044bdc0
call fcn.004667a0
test al, al
je 0x4e97a9
push 0x40
push 0x368
call fcn.00497960
push eax
push 0x367
call fcn.00497960
push eax
push dword [0x57cf9c]
call fcn.004d8380
pop esi
mov ecx, dword [esp + 0x2004]
xor ecx, esp
call fcn.00507712
add esp, 0x2008
ret 4
lea eax, [esp + 0x1008]
push eax
call fcn.00474cc0
push 0x366
call fcn.00497960
push eax
call fcn.004dcc30
add esp, 4
mov ecx, dword [esp + 0x2008]
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x2008
ret 4
Function at 0x4e9860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
push ebx
mov byte [edi], 0
call fcn.00486220
push 3
mov esi, eax
push 0x554694
push esi
call fcn.004a1380
test eax, eax
je 0x4e9898
push 3
push 0x55469c
push esi
call fcn.004a1380
test eax, eax
jne 0x4e98bb
movzx eax, word [esi + 6]
push eax
call fcn.00529d9e
add esp, 4
test eax, eax
je 0x4e98bb
movzx eax, word [esi + 8]
cmp eax, 0x2e
je 0x4e9936
test ax, ax
je 0x4e9936
push 3
push 0x5546a4
push esi
call fcn.004a1380
test eax, eax
je 0x4e98ff
push 3
push 0x5546ac
push esi
call fcn.004a1380
test eax, eax
je 0x4e98ff
push 3
push 0x5546b4
push esi
call fcn.004a1380
test eax, eax
je 0x4e98ff
push 3
push 0x5502b4
push esi
call fcn.004a1380
test eax, eax
jne 0x4e990d
movzx eax, word [esi + 6]
cmp eax, 0x2e
je 0x4e9936
test ax, ax
je 0x4e9936
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4e992e
push ebx
call fcn.004750c0
test al, al
je 0x4e992e
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
mov al, 1
mov byte [edi], al
pop edi
pop esi
pop ebx
ret 8
Function at 0x4eb9d0
Capabilities:
Copy file

Disassembly:
mov eax, 0x3024
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x3020], eax
cmp byte [0x57dfb4], 0
je 0x4ebbc7
push ebx
push 0x800
lea eax, [esp + 0x2028]
mov ecx, 0x5a6670
push eax
call fcn.004065d0
push 1
push 0x542334
push 0x541f74
call fcn.004af130
test eax, eax
setne bl
test bl, bl
je 0x4eba45
push 0x800
push 0x541b9c
lea eax, [esp + 0x2c]
push eax
push str.SaveArcFolder
push str.InterfaceMisc
call fcn.004af2c0
cmp word [esp + 0x24], 0
jne 0x4eba5c
push 0x800
lea eax, [esp + 0x28]
push eax
call fcn.00441650
push 0x800
lea eax, [esp + 0x1028]
push eax
lea eax, [esp + 0x202c]
push eax
call fcn.00486220
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00485ce0
push 1
push 0
lea eax, [esp + 0x102c]
push eax
push 0x5af
call fcn.00497960
push eax
push dword [0x57cf9c]
call fcn.00409d70
test al, al
je 0x4ebbc6
push 0x800
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x102c]
push eax
call fcn.004855a0
test bl, bl
je 0x4ebada
lea eax, [esp + 0x24]
push eax
push str.SaveArcFolder
push str.InterfaceMisc
call fcn.004afd20
lea ecx, [esp + 0x2024]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ebae4
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x7ff
jb 0x4ebb01
mov ecx, 0x7ff
add ecx, ecx
cmp ecx, 0x1000
jae 0x4ebbdc
xor eax, eax
mov word [esp + ecx + 0x2024], ax
lea ecx, [esp + 0x1024]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ebb23
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x7ff
jb 0x4ebb40
mov ecx, 0x7ff
add ecx, ecx
cmp ecx, 0x1000
jae 0x4ebbdc
xor eax, eax
mov dword [esp + 8], 2
mov word [esp + ecx + 0x1024], ax
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x2024]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1024]
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4ebbc6
cmp dword [esp + 0x16], 0
jne 0x4ebbc6
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0x5b0
call fcn.00497960
push eax
call fcn.004dcc30
add esp, 0xc
mov ecx, 0x5b77e4
call fcn.0046e910
pop ebx
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.00507712
add esp, 0x3024
ret
call fcn.00507636
int3