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

Disassembly:
push 0xffffffffffffffff
push 0x4d686e
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov eax, dword [0x533b54]
test eax, eax
je 0x4a10f9
push 0x200
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [0x571048]
cmp esi, 8
je 0x4a1067
mov ecx, 0x56e748
lea eax, [esp + 0xc]
jmp 0x4a1020
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a1046
test dx, dx
je 0x4a1042
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a1046
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a1020
xor eax, eax
jmp 0x4a104b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a1067
mov edx, dword [0x533b54]
push 0x56e748
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [0x571048]
test esi, esi
je 0x4a107a
cmp esi, 1
je 0x4a107a
cmp esi, 2
je 0x4a107a
cmp esi, 8
jne 0x4a10ad
push 0x9c
mov edi, 0x56e648
xor esi, esi
call fcn.004a0cb0
push 0x56f848
call fcn.00460c50
push 0x570848
mov edi, eax
call fcn.004a0170
push 0x9b
mov esi, eax
call fcn.004a0cb0
test byte [0x571054], 1
jne 0x4a10dd
or dword [0x571054], 1
mov dword [esp + 0x418], 0
mov dword [0x571050], 0
mov dword [esp + 0x418], 0xffffffff
push 0x64
mov ecx, 0x571050
call fcn.00453700
test al, al
je 0x4a10f9
mov eax, dword [0x533b54]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.004c1c22
add esp, 0x410
ret
Function at 0x4a1500
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
push 0x200
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [edi], 0x3b8
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x40
lea edx, [esp + 0xc]
push edx
call fcn.004539d0
cmp word [0x56e198], 0
je 0x4a15b0
lea eax, [esp + 8]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a1550
mov ecx, dword [0x4d9194]
mov dx, word [0x4d9198]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a1576
sub eax, edx
push 0x56e198
sar eax, 1
push 0x5aa
mov esi, eax
call fcn.00475cc0
push eax
lea eax, [esp + esi*2 + 0x10]
push str._s:__s
mov edx, 0x200
sub edx, esi
push eax
call fcn.00407810
add esp, 0x10
cmp byte [0x56e1ff], 0
je 0x4a161e
lea eax, [esp + 8]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a15c0
mov ecx, dword [0x4d9194]
mov dx, word [0x4d9198]
mov dword [eax], ecx
mov word [eax + 4], dx
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a15e6
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x410]
push eax
push 0x2fd
call fcn.00475cc0
push eax
lea ecx, [esp + esi*2 + 0x10]
mov edx, 0x200
sub edx, esi
push ecx
call fcn.00407810
add esp, 0xc
push 0x80
lea edx, [esp + 0xc]
push edx
add edi, 0x18
push edi
call fcn.0047fbe0
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x404
ret 4
Function at 0x4a4400
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp byte [esp + 0x1020], 0
push ebx
push ebp
mov ebp, dword [esp + 0x101c]
push esi
mov esi, dword [esp + 0x101c]
push edi
mov edi, dword [esp + 0x1018]
je 0x4a449f
push 0x800
push esi
push edi
push str.DefFolder
push str.Extraction
call fcn.0046ceb0
cmp word [edi], 0
jne 0x4a4471
mov edx, edi
mov eax, esi
sub edx, esi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a4460
jmp 0x4a449f
push 0x800
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, dword [esp + 0x101c]
push edx
lea eax, [esp + 0x14]
push eax
xor ecx, ecx
push edi
mov word [esp + 0x101a], cx
call fcn.0047fbe0
movzx eax, word [edi]
test ax, ax
setne bl
test ax, ax
jne 0x4a44c0
mov ecx, dword [esp + 0x101c]
push ecx
push edi
mov ecx, 0x5404f0
call fcn.0044c5c0
mov edx, dword [esp + 0x101c]
push edx
push edi
call fcn.004607d0
cmp byte [esp + 0x1028], 0
jne 0x4a44e0
test bl, bl
je 0x4a45e2
push 1
push str.AppendName
push str.Extraction
call fcn.0046cee0
test eax, eax
je 0x4a45e2
push 0x800
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.0047fbe0
xor ebx, ebx
cmp word [esp + 0x10], bx
je 0x4a4549
xor eax, eax
lea esi, [esp + 0x10]
cmp word [esi], 0x25
jne 0x4a4539
lea ecx, [esp + eax + 0x12]
push 0x25
push ecx
call fcn.004c31c7
add esp, 8
test eax, eax
je 0x4a4539
mov edx, 0x5f
mov word [esi], dx
inc ebx
lea eax, [ebx + ebx]
cmp word [esp + eax + 0x10], 0
lea esi, [esp + eax + 0x10]
jne 0x4a4518
mov eax, dword [esp + 0x101c]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00460c50
push eax
push edi
call fcn.0047fc20
push edi
call fcn.00460e50
mov esi, eax
test esi, esi
je 0x4a45e2
cmp esi, edi
jbe 0x4a45e2
xor edx, edx
push edi
mov word [esi], dx
call fcn.00460e50
mov ebx, eax
test ebx, ebx
je 0x4a45c8
cmp ebx, edi
jbe 0x4a45c8
cmp byte [esp + 0x102c], 0
je 0x4a45b4
cmp word [esi + 2], 0
je 0x4a45b4
movzx eax, word [esi + 4]
push eax
call fcn.0047f8a0
test al, al
jne 0x4a45b4
movzx ecx, word [esi - 2]
push ecx
call fcn.0047f8a0
test al, al
jne 0x4a45c3
push str..tar
push ebx
call fcn.00487680
test eax, eax
jne 0x4a45c8
xor edx, edx
mov word [ebx], dx
sub esi, 2
cmp esi, edi
jbe 0x4a45e2
nop
cmp word [esi], 0x2e
jne 0x4a45e2
xor eax, eax
mov word [esi], ax
sub esi, 2
cmp esi, edi
ja 0x4a45d0
push 0
push edi
call fcn.00460970
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x1004
ret 0x1c
Function at 0x4a4610
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1008
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push 0x800
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, 0x5404f0
call fcn.0044c5f0
push 0x802
lea edx, [esp + 4]
push edx
call fcn.004607d0
push 0x802
push 0x4d9468
lea eax, [esp + 8]
push eax
call fcn.0047fc20
push 1
push 0x4d89fc
push 0
lea ecx, [esp + 0xc]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1008
ret 4

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

Disassembly:
push esi
push ebx
mov byte [edi], 0
call fcn.00460c50
push 3
mov esi, eax
push 0x4df124
push esi
call fcn.004876b0
test eax, eax
je 0x4a602e
push 3
push 0x4df11c
push esi
call fcn.004876b0
test eax, eax
jne 0x4a604e
movzx eax, word [esi + 6]
push eax
call fcn.004c4efe
add esp, 4
test eax, eax
je 0x4a604e
movzx eax, word [esi + 8]
cmp ax, 0x2e
je 0x4a60c2
test ax, ax
je 0x4a60c2
push 3
push 0x4df114
push esi
call fcn.004876b0
test eax, eax
je 0x4a6092
push 3
push 0x4df10c
push esi
call fcn.004876b0
test eax, eax
je 0x4a6092
push 3
push 0x4df104
push esi
call fcn.004876b0
test eax, eax
je 0x4a6092
push 3
push 0x4d9288
push esi
call fcn.004876b0
test eax, eax
jne 0x4a60a1
movzx eax, word [esi + 6]
cmp ax, 0x2e
je 0x4a60c2
test ax, ax
je 0x4a60c2
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4a60be
push ebx
call fcn.0043d340
test al, al
je 0x4a60be
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
mov al, 1
mov byte [edi], al
pop esi
ret
Function at 0x4a6110
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x35d8
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x35d4], eax
cmp dword [0x4ebfcc], 0xffffffff
mov eax, dword [esp + 0x35e8]
push ebp
mov ebp, dword [esp + 0x35e0]
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push edi
mov edi, dword [esp + 0x35ec]
mov dword [esp + 0xc], eax
jne 0x4a61b4
push 0x4001
push 0x2b4
lea ecx, [esp + 0x80]
push ecx
push 0
push 0x4d9468
call esi
mov edx, dword [esp + 0x7c]
push 0x800
lea eax, [esp + 0x25e4]
push eax
push 0
mov dword [0x5765bc], edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4001
push 0x2b4
lea ecx, [esp + 0x80]
push ecx
push 0
lea edx, [esp + 0x25f0]
push edx
call esi
mov eax, dword [esp + 0x7c]
mov dword [0x4ebfcc], eax
push ebx
push 0x800
push edi
lea ecx, [esp + 0x5ec]
push ecx
call fcn.0047fbe0
push 0x800
push 0
lea edx, [esp + 0x5ec]
push edx
call fcn.00460a40
cmp word [ebp], 0
lea eax, [esp + 0x5e4]
setne bl
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0x40000000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x330]
test bl, bl
je 0x4a6230
movzx edx, byte [esp + 0x35f4]
push 0x4011
neg edx
push 0x2b4
sbb edx, edx
push ecx
and edx, 0x10
push edx
push eax
jmp 0x4a6245
push 0x4001
push 0x2b4
push ecx
push 0
lea edx, [esp + 0x5f4]
push edx
call esi
mov eax, dword [esp + 0x334]
mov dword [esp + 0x30], eax
push 0x800
test bl, bl
je 0x4a626b
push ebp
lea ecx, [esp + 0x15ec]
push ecx
call fcn.0047fbe0
jmp 0x4a629e
lea edx, [esp + 0x5e8]
push edx
lea eax, [esp + 0x15ec]
push eax
call fcn.0047fbe0
lea ecx, [esp + 0x15e4]
push ecx
call fcn.00460f40
lea edx, [esp + 0x5e4]
push edx
call fcn.00460c50
mov dword [esp + 0x28], eax
mov eax, dword [0x533b54]
push 0x66
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x14]
push ecx
push 0
mov esi, eax
push 0x104d
push esi
call ebp
mov edi, eax
lea edx, [esp + 0x15e4]
test bl, bl
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], edx
pop ebx
je 0x4a62f4
mov eax, dword [0x4ebfcc]
mov dword [esp + 0x2c], eax
jmp 0x4a62fe
mov ecx, dword [0x5765bc]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0x104c
push esi
call ebp
mov eax, dword [esp + 0xc]
push eax
mov dword [esp + 0x50], 2
call fcn.0047fd10
lea ecx, [esp + 0x44]
push ecx
push edi
push 0x1074
push esi
mov dword [esp + 0x68], eax
call ebp
test edi, edi
jne 0x4a6350
lea edx, [esp + 0x44]
push edx
push edi
mov eax, 1
push 0x102b
push esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
call ebp
mov ecx, dword [esp + 0x35e0]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004c1c22
add esp, 0x35d8
ret 0x10
Function at 0x4a77f0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2d0], eax
push esi
mov esi, dword [esp + 0x2dc]
mov eax, dword [esi + 0x2c]
push edi
add eax, 0x41
push eax
lea ecx, [esp + 0x2c8]
push 0x4d88ec
push ecx
mov edx, 0xa
call fcn.00407810
add esp, 0xc
push 0x301
push 0x2b4
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test byte [esi + 0x10], 1
je 0x4a787f
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call edi
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xe
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
push ebx
push ebp
push 0
push 0
push 0x4d89fc
lea edi, [esi + 0x1c]
push edi
push 2
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebx
push 0x32
mov ebp, eax
call ebx
mov ecx, dword [esi + 0x20]
mov edx, dword [edi]
push 3
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
push ebp
push eax
mov eax, dword [esi + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a78e2
mov ecx, dword [edi]
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x28]
push edx
add eax, 2
push eax
mov eax, dword [esi + 0x18]
lea edx, [ecx + ebp + 7]
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutW]
test byte [esi + 0x10], 1
pop ebp
pop ebx
je 0x4a7935
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x2d4
ret 4
Function at 0x4aaaf0
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
mov eax, 0x3260
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x325c], eax
cmp byte [esp + 0x3268], 0
mov dword [0x534b70], 1
je 0x4aac69
push ebp
push 0
push 0x800
lea eax, [esp + 0x1268]
push eax
call fcn.0049f1e0
push 0x800
lea ecx, [esp + 0x1264]
push ecx
call fcn.004607d0
lea edx, [esp + 0x1260]
push edx
lea eax, [esp + 0x2264]
push str._sRar_
push eax
mov edx, 0x800
call fcn.00407810
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2264]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4aac61
push esi
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
lea ebx, [ebx]
cmp dword [0x534b70], 1
jne 0x4aac5f
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x20]
push 0x800
lea edx, [esp + 0x126c]
push edx
lea eax, [esp + 0x270]
cmp ecx, 8
push eax
setae byte [esp + 0x1b]
call fcn.0047fbe0
push 0x800
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.0047fc20
test byte [esp + 0x18], 0x10
je 0x4aac3e
push 6
lea eax, [esp + 0x48]
push str.Rar_DI
push eax
call fcn.004c4caa
add esp, 0xc
lea ecx, [esp + 0x268]
test eax, eax
push ecx
sete bl
call esi
test eax, eax
jne 0x4aac4b
cmp byte [esp + 0xf], al
je 0x4aac2b
cmp byte [esp + 0x3270], al
je 0x4aac2f
test bl, bl
je 0x4aac4b
lea edx, [esp + 0x268]
push edx
call fcn.004a0240
jmp 0x4aac4b
lea eax, [esp + 0x268]
push eax
call fcn.0049fde0
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4aaba0
pop ebx
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
cmp byte [esp + 0x3264], 0
jne 0x4aac97
cmp byte [0x4f3cc0], 0
je 0x4aac97
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 1
call fcn.004a74d0
mov byte [0x4f3cc0], al
mov ecx, dword [esp + 0x325c]
xor ecx, esp
mov dword [0x534b70], 0
call fcn.004c1c22
add esp, 0x3260
ret 8
Function at 0x4ae0e0
Capabilities:
Copy file

Disassembly:
mov eax, 0x2004
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2000], eax
cmp byte [0x4f3cc0], 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_MessageBoxW]
push esi
mov esi, dword [esp + 0x2010]
je 0x4ae142
cmp byte [0x54c1dc], 0
jne 0x4ae142
push 0x24
push 0x5f0
call fcn.00475cc0
push eax
push 0x5f1
call fcn.00475cc0
push eax
mov eax, dword [0x535cac]
push eax
call ebp
cmp eax, 6
jne 0x4ae288
push ebx
push edi
push 0x800
lea ecx, [esp + 0x1014]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.rarreg.key
lea edx, [esp + 0x1018]
push edx
call fcn.00460e20
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea eax, [esp + 0x1014]
push eax
push esi
call edi
push 1
push 0x800
lea ecx, [esp + 0x18]
test eax, eax
push ecx
setne bl
call fcn.00461040
push 0x800
lea edx, [esp + 0x14]
push edx
call fcn.004607d0
push 0x800
push str.rarreg.key
lea eax, [esp + 0x18]
push eax
call fcn.0047fc20
test bl, bl
je 0x4ae1cc
lea ecx, [esp + 0x10]
push ecx
call fcn.0043cde0
jmp 0x4ae1f5
push 0
lea edx, [esp + 0x14]
push edx
push esi
call edi
xor eax, eax
jmp 0x4ae1e0
movzx ecx, word [esp + eax + 0x10]
mov word [esp + eax + 0x1010], cx
add eax, 2
test cx, cx
jne 0x4ae1e0
mov eax, dword [0x535cac]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x535cac]
mov esi, dword [sym.imp.USER32.dll_FlashWindow]
push 1
push ecx
call esi
push 1
lea edx, [esp + 0x1014]
push edx
call fcn.00420b40
mov byte [0x4f3cc0], al
mov eax, dword [0x535cac]
push 0
push eax
call esi
mov ecx, 0x5404f0
call fcn.00451d40
cmp byte [0x4f3cc0], 0
pop edi
pop ebx
je 0x4ae268
push 0x30
push 0x368
call fcn.00475cc0
push eax
push 0x367
call fcn.00475cc0
mov ecx, dword [0x535cac]
push eax
push ecx
call ebp
jmp 0x4ae288
lea edx, [esp + 0x1008]
push edx
call fcn.0043cde0
push 0x366
call fcn.00475cc0
push eax
call fcn.004ad8e0
add esp, 4
mov ecx, dword [esp + 0x2008]
pop esi
pop ebp
xor ecx, esp
call fcn.004c1c22
add esp, 0x2004
ret 4
Function at 0x4ae2b0
Capabilities:
Copy file

Disassembly:
mov eax, 0x3024
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x3020], eax
cmp byte [0x533b59], 0
je 0x4ae48e
push ebx
push 0x800
lea eax, [esp + 0x2028]
push eax
mov ecx, 0x542618
call fcn.004153c0
push 1
push str.History
push str.General
call fcn.0046cee0
test eax, eax
setne bl
test bl, bl
je 0x4ae325
push 0x800
push 0x4d89fc
lea ecx, [esp + 0x2c]
push ecx
push str.SaveArcFolder
push 0x4da6f0
call fcn.0046ceb0
cmp word [esp + 0x24], 0
jne 0x4ae337
lea edx, [esp + 0x24]
push edx
call fcn.004498c0
push 0x800
lea eax, [esp + 0x1028]
push eax
lea ecx, [esp + 0x202c]
push ecx
call fcn.00460c50
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00460820
push 1
push 0
lea eax, [esp + 0x102c]
push eax
push 0x5af
call fcn.00475cc0
mov ecx, dword [0x535cac]
push eax
push ecx
call fcn.0041cb60
test al, al
je 0x4ae48d
push 0x800
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x102c]
push eax
call fcn.00460ef0
test bl, bl
je 0x4ae3b6
lea ecx, [esp + 0x24]
push ecx
push str.SaveArcFolder
push 0x4da6f0
call fcn.0046cde0
lea eax, [esp + 0x2024]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ae3c0
sub eax, edx
sar eax, 1
inc eax
cmp eax, 0x7ff
jb 0x4ae3dc
mov eax, 0x7ff
xor edx, edx
mov word [esp + eax*2 + 0x2024], dx
lea eax, [esp + 0x1024]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ae3f0
sub eax, edx
sar eax, 1
inc eax
cmp eax, 0x7ff
jb 0x4ae40c
mov eax, 0x7ff
xor ecx, ecx
mov word [esp + eax*2 + 0x1024], cx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
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 ecx, [esp + 4]
lea edx, [esp + 0x2024]
lea eax, [esp + 0x1024]
push ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4ae48d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
push 0x5b0
call fcn.00475cc0
push eax
call fcn.004ad8e0
add esp, 0xc
mov ecx, 0x51ff10
call fcn.00433f70
pop ebx
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004c1c22
add esp, 0x3024
ret
Function at 0x4ae6b0
Capabilities:
Move file

Disassembly:
mov eax, 0x1078
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1074], eax
cmp byte [0x54150a], 0
jne 0x4ae8e1
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push ebp
mov ecx, 0x5404f0
xor esi, esi
call fcn.0044d780
lea eax, [esp + 0x34]
push eax
mov ecx, 0x5404f0
call fcn.0044d780
test al, al
je 0x4ae726
jmp 0x4ae700
lea edi, [esp + 0x13]
lea ebx, [esp + 0x34]
call fcn.004a6000
test al, al
jne 0x4ae7e3
mov ecx, ebx
push ecx
mov ecx, 0x5404f0
call fcn.0044d780
test al, al
jne 0x4ae700
push 0
mov ecx, 0x5404f0
call fcn.0044d780
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x5404f0
call fcn.0044d780
test al, al
je 0x4ae7bc
lea eax, [esp + 0x34]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ae750
sub eax, edx
sar eax, 1
lea edi, [eax + ebp + 1]
lea edx, [edi + edi + 2]
push edx
push esi
call fcn.004c2452
mov esi, eax
add esp, 8
test esi, esi
je 0x4ae8dd
lea eax, [esp + 0x34]
mov edx, eax
lea ecx, [ebp + ebp]
sub ecx, edx
lea edx, [ecx + esi]
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4ae790
lea eax, [esp + 0x34]
push eax
mov ecx, 0x5404f0
mov ebp, edi
call fcn.0044d780
test al, al
jne 0x4ae745
test ebp, ebp
jne 0x4ae83e
push 0x30
push 0x65
call fcn.00475cc0
push eax
push 0x14c
call fcn.00475cc0
mov ecx, dword [0x535cac]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4ae8dd
cmp byte [esp + 0x108c], 0
je 0x4ae834
push 0x64
lea edx, [esp + 0x38]
push edx
call fcn.00453ea0
push eax
push 0x203
call fcn.00475cc0
push eax
call fcn.004ad8e0
movzx eax, byte [esp + 0x1b]
add esp, 8
neg eax
sbb eax, eax
and eax, 0xffffff87
add eax, 0xce
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x51ff10
call fcn.00433f70
jmp 0x4ae8dd
call fcn.004aadd0
jmp 0x4ae8dd
xor eax, eax
xor edx, edx
mov word [esi + ebp*2], dx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov eax, dword [0x535cac]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 3
cmp byte [esp + 0x108c], dl
je 0x4ae88b
mov ecx, 0x40
mov word [esp + 0x24], cx
lea edx, [esp + 0x14]
mov edi, 1
add dword [0x534c04], edi
push edx
mov dword [esp + 0x20], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
sub dword [0x534c04], edi
push esi
call fcn.004c23c4
add esp, 4
test bl, bl
je 0x4ae8dd
cmp dword [esp + 0x26], 0
jne 0x4ae8dd
mov ecx, 0x5404d0
call fcn.00486120
push 0x4d89fc
mov ecx, 0x5404f0
call fcn.00450010
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1078
ret 4