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

Disassembly:
push 0xffffffffffffffff
push 0x4c5bfe
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov eax, dword [0x4da8f0]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov eax, dword [0x51b784]
test eax, eax
je 0x48da29
push 0x200
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [0x53ea70]
cmp esi, 8
je 0x48d997
mov ecx, 0x53d570
lea eax, [esp + 0xc]
jmp 0x48d950
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d976
test dx, dx
je 0x48d972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d976
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d950
xor eax, eax
jmp 0x48d97b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d997
mov edx, dword [0x51b784]
push 0x53d570
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [0x53ea70]
test esi, esi
je 0x48d9aa
cmp esi, 1
je 0x48d9aa
cmp esi, 2
je 0x48d9aa
cmp esi, 8
jne 0x48d9dd
push 0x9c
mov edi, 0x53d470
xor esi, esi
call fcn.0048d5e0
push 0x53de70
call fcn.00456820
push 0x53e670
mov edi, eax
call fcn.004567a0
push 0x9b
mov esi, eax
call fcn.0048d5e0
test byte [0x53ea7c], 1
jne 0x48da0d
or dword [0x53ea7c], 1
mov dword [esp + 0x418], 0
mov dword [0x53ea78], 0
mov dword [esp + 0x418], 0xffffffff
push 0x64
mov ecx, 0x53ea78
call fcn.0044c700
test al, al
je 0x48da29
mov eax, dword [0x51b784]
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.004b102c
add esp, 0x410
ret
Function at 0x48de30
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x4da8f0]
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.0044cb30
cmp word [0x53cfc0], 0
je 0x48dee0
lea eax, [esp + 8]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x48de80
mov ecx, dword [0x4c8018]
mov dx, word [0x4c801c]
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 0x48dea6
sub eax, edx
push 0x53cfc0
sar eax, 1
push 0x5aa
mov esi, eax
call fcn.004671c0
push eax
lea eax, [esp + esi*2 + 0x10]
push str._s:__s
mov edx, 0x200
sub edx, esi
push eax
call fcn.00483770
add esp, 0x10
cmp byte [0x53d027], 0
je 0x48df4e
lea eax, [esp + 8]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x48def0
mov ecx, dword [0x4c8018]
mov dx, word [0x4c801c]
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 0x48df16
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x410]
push eax
push 0x2fd
call fcn.004671c0
push eax
lea ecx, [esp + esi*2 + 0x10]
mov edx, 0x200
sub edx, esi
push ecx
call fcn.00483770
add esp, 0xc
push 0x80
lea edx, [esp + 0xc]
push edx
add edi, 0x18
push edi
call fcn.004709a0
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004b102c
add esp, 0x404
ret 4
Function at 0x490de0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x800], eax
cmp byte [esp + 0x81c], 0
push ebx
push ebp
mov ebp, dword [esp + 0x810]
push esi
mov esi, dword [esp + 0x818]
push edi
mov edi, dword [esp + 0x820]
je 0x490e87
push 0x400
push esi
push ebp
push str.DefFolder
push str.Extraction
call fcn.00460eb0
cmp word [ebp], 0
jne 0x490e51
mov edx, ebp
mov eax, esi
sub edx, esi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x490e40
jmp 0x490e8d
push 0x400
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
lea eax, [esp + 0x10]
mov word [esp + 0x80e], cx
mov edx, ebp
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x490e76
jmp 0x490e8d
xor edx, edx
mov word [ebp], dx
movzx eax, word [ebp]
test ax, ax
setne bl
test ax, ax
jne 0x490ea7
push 0x400
push ebp
call fcn.0048cf70
push ebp
call fcn.004561a0
cmp byte [esp + 0x824], 0
jne 0x490ebf
test bl, bl
je 0x490fe2
push 1
push str.AppendName
push str.Extraction
call fcn.00460ee0
test eax, eax
je 0x490fe2
push 0x400
push edi
lea eax, [esp + 0x18]
push eax
call fcn.004709a0
xor edi, edi
cmp word [esp + 0x10], di
je 0x490f28
xor eax, eax
lea esi, [esp + 0x10]
cmp word [esi], 0x25
jne 0x490f18
lea ecx, [esp + eax + 0x12]
push 0x25
push ecx
call fcn.004b1c12
add esp, 8
test eax, eax
je 0x490f18
mov edx, 0x5f
mov word [esi], dx
inc edi
lea eax, [edi + edi]
cmp word [esp + eax + 0x10], 0
lea esi, [esp + eax + 0x10]
jne 0x490ef7
lea eax, [esp + 0x10]
push eax
call fcn.00456820
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x490f34
mov edi, ebp
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x490f46
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.00456bb0
mov esi, eax
test esi, esi
je 0x490fe2
cmp esi, ebp
jbe 0x490fe2
xor ecx, ecx
push ebp
mov word [esi], cx
call fcn.00456bb0
mov edi, eax
test edi, edi
je 0x490fc8
cmp edi, ebp
jbe 0x490fc8
cmp byte [esp + 0x828], 0
je 0x490fb4
cmp word [esi + 2], 0
je 0x490fb4
movzx edx, word [esi + 4]
push edx
call fcn.00470740
test al, al
jne 0x490fb4
movzx eax, word [esi - 2]
push eax
call fcn.00470740
test al, al
jne 0x490fc3
push str..tar
push edi
call fcn.00478290
test eax, eax
jne 0x490fc8
xor ecx, ecx
mov word [edi], cx
sub esi, 2
cmp esi, ebp
jbe 0x490fe2
nop
cmp word [esi], 0x2e
jne 0x490fe2
xor edx, edx
mov word [esi], dx
sub esi, 2
cmp esi, ebp
ja 0x490fd0
push 0
push ebp
call fcn.00456270
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x804
ret 0x18
Function at 0x491010
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x80c]
push edi
lea ecx, [esp + 4]
push ecx
push eax
call fcn.004564e0
lea edx, [esp + 4]
push edx
call fcn.004561a0
lea edi, [esp + 4]
add edi, 0xfffffffe
jmp 0x491050
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x491050
mov eax, dword [0x4c879c]
push 1
push 0x4c79a8
push 0
lea ecx, [esp + 0x10]
push ecx
push str.open
push 0
mov dword [edi], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x808]
pop edi
xor ecx, esp
call fcn.004b102c
add esp, 0x808
ret 4
Function at 0x492af0
Capabilities:
Move file

Disassembly:
mov eax, 0x1054
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1050], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
mov ecx, 0x5220b8
xor esi, esi
call fcn.00446620
push edi
lea eax, [esp + 0x30]
push eax
mov ecx, 0x5220b8
call fcn.00446620
test al, al
je 0x492bbe
lea ecx, [esp + 0x85c]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004564e0
lea eax, [esp + 0x85c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x492b50
sub eax, edx
sar eax, 1
lea ebx, [eax + edi + 1]
lea eax, [ebx + ebx + 2]
push eax
push esi
call fcn.004b128f
mov esi, eax
add esp, 8
test esi, esi
je 0x492c84
lea eax, [esp + 0x85c]
mov edx, eax
lea ecx, [edi + edi]
sub ecx, edx
lea edx, [ecx + esi]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x492b90
push 0
lea eax, [esp + 0x30]
push eax
mov ecx, 0x5220b8
mov edi, ebx
call fcn.00446620
test al, al
jne 0x492b33
test edi, edi
jne 0x492be5
push 0x30
push 0x65
call fcn.004671c0
push eax
push 0x14c
call fcn.004671c0
mov ecx, dword [0x51c8dc]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x492c84
xor eax, eax
xor edx, edx
mov word [esi + edi*2], dx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
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 word [esp + 0x28], ax
mov eax, dword [0x51c8dc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
cmp byte [esp + 0x1064], dl
je 0x492c32
mov ecx, 0x40
mov word [esp + 0x1c], cx
lea edx, [esp + 0xc]
mov edi, 1
add dword [0x51c034], edi
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
sub dword [0x51c034], edi
push esi
call fcn.004b1201
add esp, 4
test bl, bl
je 0x492c84
cmp dword [esp + 0x1e], 0
jne 0x492c84
mov ecx, 0x522098
call fcn.00476dc0
push 0x4c79a8
mov ecx, 0x5220b8
call fcn.004492b0
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x1054
ret 4
Function at 0x494730
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4da8f0]
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 0x4c7888
push ecx
mov edx, 0xa
call fcn.00483770
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 0x4947bf
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 0x4c79a8
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 0x494822
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 0x494875
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.004b102c
add esp, 0x2d4
ret 4
Function at 0x49a420
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
mov eax, 0x1a64
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1a60], eax
cmp byte [esp + 0x1a6c], 0
mov dword [0x51bfa0], 1
je 0x49a5cc
push esi
push 0x400
lea eax, [esp + 0xa68]
push eax
call fcn.0048bd60
lea ecx, [esp + 0xa64]
push ecx
call fcn.004561a0
lea edx, [esp + 0xa64]
push edx
lea eax, [esp + 0x1268]
push str._sRar_
push eax
mov edx, 0x400
call fcn.00483770
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1268]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 8], esi
cmp esi, 0xffffffff
je 0x49a5c4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
push edi
jmp 0x49a4d0
cmp dword [0x51bfa0], 1
jne 0x49a5c1
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x28]
cmp ecx, 8
setae byte [esp + 0x13]
xor eax, eax
nop
movzx ecx, word [esp + eax + 0xa70]
mov word [esp + eax + 0x270], cx
add eax, 2
test cx, cx
jne 0x49a4f0
lea eax, [esp + 0x4c]
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49a510
lea edi, [esp + 0x270]
sub eax, edx
add edi, 0xfffffffe
jmp 0x49a530
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x49a530
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [esp + 0x20], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x49a59c
push 6
lea edx, [esp + 0x50]
push str.Rar_DI
push edx
call fcn.004b2e96
add esp, 0xc
test eax, eax
lea eax, [esp + 0x270]
push eax
sete bl
call ebp
test eax, eax
jne 0x49a5a9
cmp byte [esp + 0x13], al
je 0x49a589
cmp byte [esp + 0x1a78], al
je 0x49a58d
test bl, bl
je 0x49a5a9
lea ecx, [esp + 0x270]
push ecx
call fcn.0048cbc0
jmp 0x49a5a9
lea edx, [esp + 0x270]
push edx
call fcn.0048c950
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49a4d0
pop edi
pop ebx
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
cmp byte [esp + 0x1a68], 0
jne 0x49a5fa
cmp byte [0x507cf0], 0
je 0x49a5fa
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 1
call fcn.00497a80
mov byte [0x507cf0], al
mov ecx, dword [esp + 0x1a60]
xor ecx, esp
mov dword [0x51bfa0], 0
call fcn.004b102c
add esp, 0x1a64
ret 8
Function at 0x49adc0
Capabilities:
Copy file

Disassembly:
mov eax, 0x1004
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp byte [0x507cf0], 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov edi, dword [esp + 0x1010]
je 0x49ae22
cmp byte [0x528250], 0
jne 0x49ae22
push 0x24
push 0x5f0
call fcn.004671c0
push eax
push 0x5f1
call fcn.004671c0
push eax
mov eax, dword [0x51c8dc]
push eax
call ebp
cmp eax, 6
jne 0x49afa9
push esi
push 0x400
lea ecx, [esp + 0x810]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x80c]
push edx
mov esi, str.rarreg.key
call fcn.00456820
lea ebx, [ebx]
movzx ecx, word [esi]
mov word [eax], cx
add esi, 2
add eax, 2
test cx, cx
jne 0x49ae50
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push 0
lea eax, [esp + 0x814]
push eax
push edi
call esi
lea ecx, [esp + 0x10]
test eax, eax
push ecx
setne bl
call fcn.00457020
lea edx, [esp + 0x10]
push edx
call fcn.004561a0
lea eax, [esp + 0x10]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x49ae95
mov ecx, dword [str.rarreg.key]
mov edx, dword [0x4ca920]
mov dword [eax], ecx
mov ecx, dword [0x4ca924]
mov dword [eax + 4], edx
mov edx, dword [0x4ca928]
mov dword [eax + 8], ecx
mov ecx, dword [0x4ca92c]
mov dword [eax + 0xc], edx
mov dx, word [0x4ca930]
mov dword [eax + 0x10], ecx
test bl, bl
mov word [eax + 0x14], dx
pop ebx
je 0x49aee9
lea eax, [esp + 0xc]
push eax
call fcn.00435da0
jmp 0x49af15
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
call esi
xor eax, eax
jmp 0x49af00
movzx ecx, word [esp + eax + 0xc]
mov word [esp + eax + 0x80c], cx
add eax, 2
test cx, cx
jne 0x49af00
mov edx, dword [0x51c8dc]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x51c8dc]
mov esi, dword [sym.imp.USER32.dll_FlashWindow]
push 1
push eax
call esi
push 1
lea ecx, [esp + 0x810]
push ecx
push 0
call fcn.0041cef0
mov edx, dword [0x51c8dc]
push 0
push edx
mov byte [0x507cf0], al
call esi
mov ecx, 0x5220b8
call fcn.0044acf0
cmp byte [0x507cf0], 0
pop esi
je 0x49af89
push 0x30
push 0x368
call fcn.004671c0
push eax
push 0x367
call fcn.004671c0
push eax
mov eax, dword [0x51c8dc]
push eax
call ebp
jmp 0x49afa9
lea ecx, [esp + 0x808]
push ecx
call fcn.00435da0
push 0x366
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 4
mov ecx, dword [esp + 0x1008]
pop edi
pop ebp
xor ecx, esp
call fcn.004b102c
add esp, 0x1004
ret 4
Function at 0x49b000
Capabilities:
Copy file
Move file

Disassembly:
mov eax, 0x202c
call fcn.004b1040
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x2028], eax
cmp byte [0x51b789], 0
je 0x49b215
push ebx
push 0x401
lea eax, [esp + 0x828]
push eax
mov ecx, 0x5229e0
call fcn.00413320
push 1
push str.History
push str.General
call fcn.00460ee0
test eax, eax
setne bl
test bl, bl
je 0x49b075
push 0x400
push 0x4c79a8
lea ecx, [esp + 0x2c]
push ecx
push str.SaveArcFolder
push str.InterfaceMisc
call fcn.00460eb0
cmp word [esp + 0x24], 0
jne 0x49b087
lea edx, [esp + 0x24]
push edx
call fcn.00442d30
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x24]
mov word [esp + eax + 0x1028], cx
add eax, 2
test cx, cx
jne 0x49b090
lea eax, [esp + 0x1028]
push eax
call fcn.004561a0
lea ecx, [esp + 0x824]
push ecx
call fcn.00456820
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b0c1
push esi
push edi
lea edi, [esp + 0x1030]
sub eax, edx
add edi, 0xfffffffe
lea ebx, [ebx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x49b0e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
lea edx, [esp + 0x1038]
mov ecx, eax
push edx
and ecx, 3
push 0x5af
rep movsb byte es:[edi], byte [esi]
call fcn.004671c0
push eax
mov eax, dword [0x51c8dc]
push eax
call fcn.00419e00
pop edi
pop esi
test al, al
je 0x49b214
push 0x400
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1030]
push edx
call fcn.00456d60
test bl, bl
je 0x49b157
lea eax, [esp + 0x24]
push eax
push str.SaveArcFolder
push str.InterfaceMisc
call fcn.00460de0
lea eax, [esp + 0x824]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b161
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x826], cx
lea eax, [esp + 0x1028]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b184
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x102a], dx
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 edx, [esp + 4]
lea eax, [esp + 0x824]
lea ecx, [esp + 0x1028]
push edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x49b214
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 0x5b0
call fcn.004671c0
push eax
call fcn.0049a620
add esp, 0xc
mov ecx, 0x508304
call fcn.0042cce0
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.004b102c
add esp, 0x202c
ret
Function at 0x49d900
Capabilities:
Get file attributes
Log keystrokes via polling

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x808], eax
cmp dword [0x51c034], 0
push ebx
mov ebx, dword [esp + 0x814]
jne 0x49da45
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push edi
push 0
push 0
push 0xffffffffffffffff
push ebx
call ebp
mov edi, eax
cmp edi, 1
jne 0x49d9de
push 0x400
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
push eax
push ebx
mov word [esp + 0x24], ax
call ebp
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp byte [0x51b789], 0
je 0x49d98e
cmp eax, dword [0x5220b8]
je 0x49d9b7
cmp eax, dword [0x52209c]
je 0x49d9b7
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x49d9b7
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5220b8
call fcn.0044a590
cmp eax, 1
je 0x49da43
push 7
push str.rarreg.
lea ecx, [esp + 0x1c]
push ecx
call fcn.00456820
push eax
call fcn.004783c0
test eax, eax
jne 0x49d9de
lea edx, [esp + 0x14]
push edx
call fcn.0049adc0
jmp 0x49da43
push esi
push 0
call fcn.00488920
mov ecx, dword [0x52b4a4]
call fcn.00470d80
xor esi, esi
test edi, edi
jle 0x49da23
jmp 0x49da00
push 0x400
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
call ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x52b4a4]
call fcn.00471170
inc esi
cmp esi, edi
jl 0x49da00
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
push 1
shr eax, 0xf
and al, 1
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push edx
push 0
call fcn.0048b340
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x80c]
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x80c
ret 4

Function at 0x49db00
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x80c]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x400
lea ecx, [esp + 0x10]
push ecx
push eax
xor edi, edi
call fcn.00470c50
mov esi, eax
test esi, esi
je 0x49db95
test edi, edi
jne 0x49db4c
mov edi, 1
jmp 0x49db77
movzx edx, word [esp + 0xc]
push edx
mov ecx, 0x5248e0
call fcn.0041d4f0
test al, al
jne 0x49db77
cmp edi, 1
jne 0x49db76
mov ax, word [esp + 0xc]
mov cx, word [esp + 0xe]
mov word [ebx], ax
mov word [ebx + 2], cx
inc edi
push 0x400
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00470c50
mov esi, eax
test esi, esi
jne 0x49db41
cmp edi, 2
jne 0x49db95
mov word [ebx], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0x804
ret 4