joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49dcc0
Capabilities:
Create directory

Disassembly:
mov eax, 0x2004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push edi
mov edi, dword [esp + 0x2010]
push 0x7ff
push eax
lea eax, [esp + 0x100c]
push eax
call fcn.0047e340
cmp byte [esp + 0x2018], 0
je 0x49dd65
cmp dword [0x5412a0], 0
jne 0x49dd1a
cmp byte [0x5412aa], 0
jne 0x49dd1a
xor edx, edx
jmp 0x49dd1f
mov edx, 1
lea eax, [esp + 0x1004]
push esi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49dd30
sub eax, esi
xor ecx, ecx
sar eax, 1
test dl, dl
setne cl
lea edx, [esp + eax*2 + 0x1008]
add ecx, 0x61
push ecx
push 0x4dcc94
push edx
mov edx, 2
call fcn.0043a6e0
add esp, 0xc
pop esi
push 0x800
lea eax, [esp + 8]
push eax
call fcn.0049d390
push 0x800
lea ecx, [esp + 8]
push ecx
call fcn.0045f4a0
push 0x800
lea edx, [esp + 0x1008]
push edx
lea eax, [esp + 0xc]
push eax
call fcn.0047e380
push 0x800
lea ecx, [esp + 8]
push ecx
call fcn.0043c8b0
test eax, eax
je 0x49ddeb
push 0
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x49ddeb
mov eax, dword [esp + 0x2014]
push eax
lea ecx, [esp + 8]
push ecx
push edi
call fcn.0047e340
mov al, 1
pop edi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.004bfc52
add esp, 0x2004
ret 0x10
lea edx, [esp + 4]
push edx
push 0x1f7
call fcn.004744a0
push eax
call fcn.004ab990
add esp, 8
mov ecx, 0x51e7a8
call fcn.004333c0
mov ecx, dword [esp + 0x2004]
pop edi
xor ecx, esp
xor al, al
call fcn.004bfc52
add esp, 0x2004
ret 0x10
Function at 0x49e590
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
push ebx
lea eax, [esp + 4]
push eax
push 0x4deac0
push 1
push 0
push 0x4debb0
xor bl, bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x49e692
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x4deb00
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x49e686
push esi
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x14], bl
je 0x49e5ee
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 2
push esi
push eax
call edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49e614
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 8]
push 0
test ecx, ecx
jne 0x49e631
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0x4d69fc
push eax
call edx
jmp 0x49e63a
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x49e64f
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49e664
mov eax, dword [esp + 8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push esi
push eax
call edx
pop esi
test eax, eax
jl 0x49e67a
mov bl, 1
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, bl
pop ebx
add esp, 8
ret 0x1c

Function at 0x49e6c0
Capabilities:
Set current directory

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
test bl, bl
jne 0x49e6f4
push esi
push 0x627
call fcn.004744a0
push eax
call fcn.004ab990
add esp, 8
mov ecx, 0x51e7a8
call fcn.004333c0
pop esi
mov al, bl
pop ebx
ret 4

Function at 0x49ede0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x2804
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2800], eax
mov eax, dword [esp + 0x2808]
mov ecx, dword [0x5323ec]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xa00
lea edx, [esp + 0x1408]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa00
lea eax, [esp + 8]
push eax
push edi
push esi
call fcn.0045f8a0
lea ecx, [esp + 0x1404]
lea eax, [esp + 4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49ee66
test dx, dx
je 0x49ee62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49ee66
add eax, 4
add ecx, 4
test dx, dx
jne 0x49ee40
xor eax, eax
jmp 0x49ee6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49ee7b
lea ecx, [esp + 4]
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x2804]
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x2804
ret 4
Function at 0x49f0e0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4d44fe
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov eax, dword [0x5323ec]
test eax, eax
je 0x49f229
push 0x200
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [0x56f8e8]
cmp esi, 8
je 0x49f197
mov ecx, 0x56cfe8
lea eax, [esp + 0xc]
jmp 0x49f150
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49f176
test dx, dx
je 0x49f172
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49f176
add eax, 4
add ecx, 4
test dx, dx
jne 0x49f150
xor eax, eax
jmp 0x49f17b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49f197
mov edx, dword [0x5323ec]
push 0x56cfe8
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [0x56f8e8]
test esi, esi
je 0x49f1aa
cmp esi, 1
je 0x49f1aa
cmp esi, 2
je 0x49f1aa
cmp esi, 8
jne 0x49f1dd
push 0x9c
mov edi, 0x56cee8
xor esi, esi
call fcn.0049ede0
push 0x56e0e8
call fcn.0045f900
push 0x56f0e8
mov edi, eax
call fcn.0049e260
push 0x9b
mov esi, eax
call fcn.0049ede0
test byte [0x56f8f4], 1
jne 0x49f20d
or dword [0x56f8f4], 1
mov dword [esp + 0x418], 0
mov dword [0x56f8f0], 0
mov dword [esp + 0x418], 0xffffffff
push 0x64
mov ecx, 0x56f8f0
call fcn.004523d0
test al, al
je 0x49f229
mov eax, dword [0x5323ec]
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.004bfc52
add esp, 0x410
ret
Function at 0x49f600
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ea93c]
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.00452770
cmp word [0x56ca38], 0
je 0x49f6b0
lea eax, [esp + 8]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x49f650
mov ecx, dword [0x4d71ac]
mov dx, word [0x4d71b0]
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 0x49f676
sub eax, edx
push 0x56ca38
sar eax, 1
push 0x5aa
mov esi, eax
call fcn.004744a0
push eax
lea eax, [esp + esi*2 + 0x10]
push str._s:__s
mov edx, 0x200
sub edx, esi
push eax
call fcn.0043a6e0
add esp, 0x10
cmp byte [0x56ca9f], 0
je 0x49f71e
lea eax, [esp + 8]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x49f6c0
mov ecx, dword [0x4d71ac]
mov dx, word [0x4d71b0]
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 0x49f6e6
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 0x410]
push eax
push 0x2fd
call fcn.004744a0
push eax
lea ecx, [esp + esi*2 + 0x10]
mov edx, 0x200
sub edx, esi
push ecx
call fcn.0043a6e0
add esp, 0xc
push 0x80
lea edx, [esp + 0xc]
push edx
add edi, 0x18
push edi
call fcn.0047e340
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.004bfc52
add esp, 0x404
ret 4
Function at 0x4a24b0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
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 0x4a254f
push 0x800
push esi
push edi
push str.DefFolder
push str.Extraction
call fcn.0046bcb0
cmp word [edi], 0
jne 0x4a2521
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 0x4a2510
jmp 0x4a254f
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.0047e340
movzx eax, word [edi]
test ax, ax
setne bl
test ax, ax
jne 0x4a2570
mov ecx, dword [esp + 0x101c]
push ecx
push edi
mov ecx, 0x53ed88
call fcn.0044b4b0
mov edx, dword [esp + 0x101c]
push edx
push edi
call fcn.0045f4a0
cmp byte [esp + 0x1028], 0
jne 0x4a2590
test bl, bl
je 0x4a2692
push 1
push str.AppendName
push str.Extraction
call fcn.0046bce0
test eax, eax
je 0x4a2692
push 0x800
push ebp
lea eax, [esp + 0x18]
push eax
call fcn.0047e340
xor ebx, ebx
cmp word [esp + 0x10], bx
je 0x4a25f9
xor eax, eax
lea esi, [esp + 0x10]
cmp word [esi], 0x25
jne 0x4a25e9
lea ecx, [esp + eax + 0x12]
push 0x25
push ecx
call fcn.004c10b7
add esp, 8
test eax, eax
je 0x4a25e9
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 0x4a25c8
mov eax, dword [esp + 0x101c]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0045f900
push eax
push edi
call fcn.0047e380
push edi
call fcn.0045fb00
mov esi, eax
test esi, esi
je 0x4a2692
cmp esi, edi
jbe 0x4a2692
xor edx, edx
push edi
mov word [esi], dx
call fcn.0045fb00
mov ebx, eax
test ebx, ebx
je 0x4a2678
cmp ebx, edi
jbe 0x4a2678
cmp byte [esp + 0x102c], 0
je 0x4a2664
cmp word [esi + 2], 0
je 0x4a2664
movzx eax, word [esi + 4]
push eax
call fcn.0047e000
test al, al
jne 0x4a2664
movzx ecx, word [esi - 2]
push ecx
call fcn.0047e000
test al, al
jne 0x4a2673
push str..tar
push ebx
call fcn.00485df0
test eax, eax
jne 0x4a2678
xor edx, edx
mov word [ebx], dx
sub esi, 2
cmp esi, edi
jbe 0x4a2692
nop
cmp word [esi], 0x2e
jne 0x4a2692
xor eax, eax
mov word [esi], ax
sub esi, 2
cmp esi, edi
ja 0x4a2680
push 0
push edi
call fcn.0045f640
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x1004
ret 0x1c
Function at 0x4a26c0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1008
call fcn.004bfc70
mov eax, dword [0x4ea93c]
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, 0x53ed88
call fcn.0044b4e0
push 0x802
lea edx, [esp + 4]
push edx
call fcn.0045f4a0
push 0x802
push 0x4d748c
lea eax, [esp + 8]
push eax
call fcn.0047e380
push 1
push 0x4d69fc
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.004bfc52
add esp, 0x1008
ret 4
Function at 0x4a4170
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x35d8
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x35d4], eax
cmp dword [0x4ea854], 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 0x4a4214
push 0x4001
push 0x2b4
lea ecx, [esp + 0x80]
push ecx
push 0
push 0x4d748c
call esi
mov edx, dword [esp + 0x7c]
push 0x800
lea eax, [esp + 0x25e4]
push eax
push 0
mov dword [0x574e5c], 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 [0x4ea854], eax
push ebx
push 0x800
push edi
lea ecx, [esp + 0x5ec]
push ecx
call fcn.0047e340
push 0x800
push 0
lea edx, [esp + 0x5ec]
push edx
call fcn.0045f6f0
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 0x4a4290
movzx edx, byte [esp + 0x35f4]
push 0x4011
neg edx
push 0x2b4
sbb edx, edx
push ecx
and edx, 0x10
push edx
push eax
jmp 0x4a42a5
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 0x4a42cb
push ebp
lea ecx, [esp + 0x15ec]
push ecx
call fcn.0047e340
jmp 0x4a42fe
lea edx, [esp + 0x5e8]
push edx
lea eax, [esp + 0x15ec]
push eax
call fcn.0047e340
lea ecx, [esp + 0x15e4]
push ecx
call fcn.0045fbf0
lea edx, [esp + 0x5e4]
push edx
call fcn.0045f900
mov dword [esp + 0x28], eax
mov eax, dword [0x5323ec]
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 0x4a4354
mov eax, dword [0x4ea854]
mov dword [esp + 0x2c], eax
jmp 0x4a435e
mov ecx, dword [0x574e5c]
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.0047e470
lea ecx, [esp + 0x44]
push ecx
push edi
push 0x1074
push esi
mov dword [esp + 0x68], eax
call ebp
test edi, edi
jne 0x4a43b0
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.004bfc52
add esp, 0x35d8
ret 0x10
Function at 0x4a5760
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4ea93c]
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 0x4d68dc
push ecx
mov edx, 0xa
call fcn.0043a6e0
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 0x4a57ef
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 0x4d69fc
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 0x4a5852
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 0x4a58a5
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.004bfc52
add esp, 0x2d4
ret 4
Function at 0x4a8c80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4d4801
mov eax, dword fs:[0]
push eax
mov eax, 0x7120
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x711c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x7130]
mov dword fs:[0], eax
call fcn.004a6560
test al, al
je 0x4a8ee0
xor ebx, ebx
push ebx
mov ecx, 0x53ed88
call fcn.0044c5f0
lea eax, [esp + 0x10b4]
push eax
mov ecx, 0x53ed88
call fcn.0044c5f0
test al, al
je 0x4a8ec7
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x4a8d00
lea ecx, [esp + 0x10b4]
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x4a8ead
lea edx, [esp + 0x10b4]
push edx
call fcn.0043c780
test al, al
je 0x4a8ead
mov eax, dword [esp + 0x20c4]
push eax
call fcn.0043bea0
test al, al
je 0x4a8ea0
lea eax, [esp + 0x10b4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a8d47
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 0x104
jb 0x4a8ec7
push 0x800
lea ecx, [esp + 0x6130]
push ecx
push 0x4d67f0
lea edx, [esp + 0x10c0]
push edx
call fcn.0045f4f0
lea ecx, [esp + 0x10]
call fcn.0047e890
mov dword [esp + 0x7138], ebx
lea eax, [esp + 0x612c]
push eax
lea ecx, [esp + 0x14]
call fcn.0047e700
push 2
push ebx
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2114]
call fcn.00476e50
mov byte [esp + 0x7138], 1
lea ecx, [esp + 0x107c]
call fcn.00481670
lea ecx, [esp + 0x1084]
call fcn.00481670
lea ecx, [esp + 0x108c]
call fcn.00481670
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x2108]
call fcn.004776f0
test eax, eax
jne 0x4a8e62
jmp 0x4a8e00
push esi
lea eax, [esp + 0x10b8]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.004c2a2a
add esp, 0xc
test eax, eax
jne 0x4a8e62
lea edx, [esp + 0x6c]
push edx
call fcn.0043c8a0
cmp byte [esp + 0x1078], bl
je 0x4a8e43
test byte [esp + 0x10ac], 1
je 0x4a8e4d
lea eax, [esp + 0x6c]
push eax
call fcn.0043c110
jmp 0x4a8e4d
lea ecx, [esp + 0x6c]
push ecx
call fcn.0043c090
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x2108]
call fcn.004776f0
test eax, eax
je 0x4a8e00
lea eax, [esp + 0x10b4]
push eax
call fcn.0043c110
mov byte [esp + 0x7138], bl
lea ecx, [esp + 0x2104]
call fcn.004770c0
mov dword [esp + 0x7138], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4a8ead
push eax
call fcn.004bff04
add esp, 4
jmp 0x4a8ead
lea ecx, [esp + 0x10b4]
push ecx
call fcn.0043c090
lea edx, [esp + 0x10b4]
push edx
mov ecx, 0x53ed88
call fcn.0044c5f0
test al, al
jne 0x4a8d00
mov ecx, 0x53ed68
call fcn.00484890
push 0x4d69fc
mov ecx, 0x53ed88
call fcn.0044ee30
mov ecx, dword [esp + 0x7130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x711c]
xor ecx, esp
call fcn.004bfc52
add esp, 0x712c
ret
Function at 0x4ab7c0
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
mov eax, 0x3260
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x325c], eax
cmp byte [esp + 0x3268], 0
mov dword [0x533408], 1
je 0x4ab936
push edi
push 0x800
lea eax, [esp + 0x1264]
push eax
call fcn.0049d390
push 0x800
lea ecx, [esp + 0x1264]
push ecx
call fcn.0045f4a0
lea edx, [esp + 0x1260]
push edx
lea eax, [esp + 0x2264]
push str._sRar_
push eax
mov edx, 0x800
call fcn.0043a6e0
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 edi, eax
cmp edi, 0xffffffff
je 0x4ab92e
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
nop
cmp dword [0x533408], 1
jne 0x4ab92b
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x24]
push 0x800
lea edx, [esp + 0x1270]
push edx
lea eax, [esp + 0x274]
cmp ecx, 8
push eax
setae byte [esp + 0x1f]
call fcn.0047e340
push 0x800
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
call fcn.0047e380
test byte [esp + 0x1c], 0x10
je 0x4ab90e
push 6
lea eax, [esp + 0x4c]
push str.Rar_DI
push eax
call fcn.004c2a2a
add esp, 0xc
lea ecx, [esp + 0x26c]
test eax, eax
push ecx
sete bl
call esi
test eax, eax
jne 0x4ab91b
cmp byte [esp + 0x13], al
je 0x4ab8fb
cmp byte [esp + 0x3274], al
je 0x4ab8ff
test bl, bl
je 0x4ab91b
lea edx, [esp + 0x26c]
push edx
call fcn.0049e330
jmp 0x4ab91b
lea eax, [esp + 0x26c]
push eax
call fcn.0049dee0
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebp
test eax, eax
jne 0x4ab870
pop ebx
pop esi
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
cmp byte [esp + 0x3264], 0
jne 0x4ab964
cmp byte [0x4f2558], 0
je 0x4ab964
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 1
call fcn.004a8a00
mov byte [0x4f2558], al
mov ecx, dword [esp + 0x325c]
xor ecx, esp
mov dword [0x533408], 0
call fcn.004bfc52
add esp, 0x3260
ret 8
Function at 0x4ac190
Capabilities:
Copy file

Disassembly:
mov eax, 0x2004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2000], eax
cmp byte [0x4f2558], 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_MessageBoxW]
push esi
mov esi, dword [esp + 0x2010]
je 0x4ac1f2
cmp byte [0x54aa74], 0
jne 0x4ac1f2
push 0x24
push 0x5f0
call fcn.004744a0
push eax
push 0x5f1
call fcn.004744a0
push eax
mov eax, dword [0x534544]
push eax
call ebp
cmp eax, 6
jne 0x4ac338
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.0045fad0
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea eax, [esp + 0x1014]
push eax
push esi
call edi
push 0x800
lea ecx, [esp + 0x14]
test eax, eax
push ecx
setne bl
call fcn.0045fce0
push 0x800
lea edx, [esp + 0x14]
push edx
call fcn.0045f4a0
push 0x800
push str.rarreg.key
lea eax, [esp + 0x18]
push eax
call fcn.0047e380
test bl, bl
je 0x4ac27a
lea ecx, [esp + 0x10]
push ecx
call fcn.0043c090
jmp 0x4ac2a5
push 0
lea edx, [esp + 0x14]
push edx
push esi
call edi
xor eax, eax
jmp 0x4ac290
movzx ecx, word [esp + eax + 0x10]
mov word [esp + eax + 0x1010], cx
add eax, 2
test cx, cx
jne 0x4ac290
mov eax, dword [0x534544]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x534544]
mov esi, dword [sym.imp.USER32.dll_FlashWindow]
push 1
push ecx
call esi
push 1
lea edx, [esp + 0x1014]
push edx
call fcn.004201a0
mov byte [0x4f2558], al
mov eax, dword [0x534544]
push 0
push eax
call esi
mov ecx, 0x53ed88
call fcn.00450a10
cmp byte [0x4f2558], 0
pop edi
pop ebx
je 0x4ac318
push 0x30
push 0x368
call fcn.004744a0
push eax
push 0x367
call fcn.004744a0
mov ecx, dword [0x534544]
push eax
push ecx
call ebp
jmp 0x4ac338
lea edx, [esp + 0x1008]
push edx
call fcn.0043c090
push 0x366
call fcn.004744a0
push eax
call fcn.004ab990
add esp, 4
mov ecx, dword [esp + 0x2008]
pop esi
pop ebp
xor ecx, esp
call fcn.004bfc52
add esp, 0x2004
ret 4