joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac390
Capabilities:
Copy file

Disassembly:
mov eax, 0x3024
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x3020], eax
cmp byte [0x5323f1], 0
je 0x4ac56e
push ebx
push 0x800
lea eax, [esp + 0x2028]
push eax
mov ecx, 0x540eb0
call fcn.00414de0
push 1
push str.History
push str.General
call fcn.0046bce0
test eax, eax
setne bl
test bl, bl
je 0x4ac405
push 0x800
push 0x4d69fc
lea ecx, [esp + 0x2c]
push ecx
push str.SaveArcFolder
push 0x4d8700
call fcn.0046bcb0
cmp word [esp + 0x24], 0
jne 0x4ac417
lea edx, [esp + 0x24]
push edx
call fcn.00448a50
push 0x800
lea eax, [esp + 0x1028]
push eax
lea ecx, [esp + 0x202c]
push ecx
call fcn.0045f900
push eax
lea edx, [esp + 0x30]
push edx
call fcn.0045f4f0
push 1
push 0
lea eax, [esp + 0x102c]
push eax
push 0x5af
call fcn.004744a0
mov ecx, dword [0x534544]
push eax
push ecx
call fcn.0041c110
test al, al
je 0x4ac56d
push 0x800
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x102c]
push eax
call fcn.0045fba0
test bl, bl
je 0x4ac496
lea ecx, [esp + 0x24]
push ecx
push str.SaveArcFolder
push 0x4d8700
call fcn.0046bbe0
lea eax, [esp + 0x2024]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac4a0
sub eax, edx
sar eax, 1
inc eax
cmp eax, 0x7ff
jb 0x4ac4bc
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 0x4ac4d0
sub eax, edx
sar eax, 1
inc eax
cmp eax, 0x7ff
jb 0x4ac4ec
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 0x4ac56d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
push 0x5b0
call fcn.004744a0
push eax
call fcn.004ab990
add esp, 0xc
mov ecx, 0x51e7a8
call fcn.004333c0
pop ebx
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004bfc52
add esp, 0x3024
ret
Function at 0x4ac790
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov eax, 0x1074
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x1070], eax
cmp byte [0x53fda2], 0
jne 0x4ac9af
push ebx
push esi
push edi
xor edi, edi
push edi
mov ecx, 0x53ed88
xor esi, esi
call fcn.0044c5f0
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x53ed88
call fcn.0044c5f0
test al, al
je 0x4ac811
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x2c]
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x4ac7fe
lea edx, [esp + 0x2c]
push edx
call fcn.0043c780
test al, al
jne 0x4ac8bf
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x53ed88
call fcn.0044c5f0
test al, al
jne 0x4ac7e0
push 0
mov ecx, 0x53ed88
call fcn.0044c5f0
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x53ed88
call fcn.0044c5f0
test al, al
je 0x4ac898
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac837
sub eax, edx
sar eax, 1
lea ebx, [eax + edi + 1]
lea eax, [ebx + ebx + 2]
push eax
push esi
call fcn.004bff92
mov esi, eax
add esp, 8
test esi, esi
je 0x4ac9ac
lea eax, [esp + 0x2c]
mov edx, eax
lea ecx, [edi + edi]
sub ecx, edx
lea edx, [ecx + esi]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4ac870
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x53ed88
mov edi, ebx
call fcn.0044c5f0
test al, al
jne 0x4ac830
test edi, edi
jne 0x4ac90d
push 0x30
push 0x65
call fcn.004744a0
push eax
push 0x14c
call fcn.004744a0
mov ecx, dword [0x534544]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4ac9ac
cmp byte [esp + 0x1084], 0
je 0x4ac903
push 0x64
lea ecx, [esp + 0x30]
push ecx
call fcn.00452d00
push eax
push 0x203
call fcn.004744a0
push eax
call fcn.004ab990
add esp, 8
push 0xce
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x51e7a8
call fcn.004333c0
jmp 0x4ac9ac
call fcn.004a8c80
jmp 0x4ac9ac
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 [0x534544]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
cmp byte [esp + 0x1084], dl
je 0x4ac95a
mov ecx, 0x40
mov word [esp + 0x1c], cx
lea edx, [esp + 0xc]
mov edi, 1
add dword [0x53349c], edi
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
sub dword [0x53349c], edi
push esi
call fcn.004bff04
add esp, 4
test bl, bl
je 0x4ac9ac
cmp dword [esp + 0x1e], 0
jne 0x4ac9ac
mov ecx, 0x53ed68
call fcn.00484890
push 0x4d69fc
mov ecx, 0x53ed88
call fcn.0044ee30
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1070]
xor ecx, esp
call fcn.004bfc52
add esp, 0x1074
ret 4
Function at 0x4aede0
Capabilities:
Get file attributes
Log keystrokes via polling

Disassembly:
mov eax, 0x100c
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x53349c], 0
push ebx
mov ebx, dword [esp + 0x1014]
jne 0x4aef24
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 0x4aeec2
push 0x800
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 [0x5323f1], 0
je 0x4aee72
cmp eax, dword [0x53ed88]
je 0x4aee9b
cmp eax, dword [0x53ed6c]
je 0x4aee9b
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4aee9b
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, 0x53ed88
call fcn.004500f0
cmp eax, 1
je 0x4aef22
push 7
push str.rarreg.
lea ecx, [esp + 0x1c]
push ecx
call fcn.0045f900
push eax
call fcn.00485e20
test eax, eax
jne 0x4aeec2
lea edx, [esp + 0x14]
push edx
call fcn.004ac190
jmp 0x4aef22
push esi
push 0
call fcn.0049b330
mov ecx, 0x550d14
call fcn.0047e6d0
xor esi, esi
test edi, edi
jle 0x4aef02
lea ebx, [ebx]
push 0x800
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
call ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x550d14
call fcn.0047e700
inc esi
cmp esi, edi
jl 0x4aeee0
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.0049c8a0
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x100c]
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x100c
ret 4

Function at 0x4af340
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 0x1000
push 0
lea eax, [esp + 0x100c]
push eax
push str.rarreg.key
push 0x4d69fc
call fcn.0046bd00
mov esi, eax
test esi, esi
je 0x4af3d6
push edi
push 0x800
lea ecx, [esp + 0xc]
push ecx
push str.Rar_RK
call fcn.0049dbf0
mov edi, eax
test edi, edi
je 0x4af3c6
push edi
push esi
lea edx, [esp + 0x1010]
push 1
push edx
call fcn.004c2576
push edi
call fcn.004c2398
add esp, 0x14
lea eax, [esp + 8]
push eax
call fcn.004ac190
lea ecx, [esp + 8]
push ecx
call fcn.0043c090
push str.rarreg.key
push 0x4d69fc
call fcn.0046b860
pop edi
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004bfc52
add esp, 0x2004
ret
Function at 0x4af3f0
Capabilities:
Copy file
Move file

Disassembly:
mov eax, 0x302c
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x3028], eax
push 0
push str.AppDataCopied
push str.General
call fcn.0046bce0
test eax, eax
jne 0x4af548
push 0x801
lea eax, [esp + 0x1028]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.Themes
lea ecx, [esp + 0x102c]
push ecx
call fcn.0045fad0
push 0x800
lea edx, [esp + 0x202c]
push edx
call fcn.0045fce0
push 0x801
lea eax, [esp + 0x24]
push eax
push str.Themes
lea ecx, [esp + 0x2034]
push ecx
call fcn.0045f4f0
lea edx, [esp + 0x1024]
push edx
call fcn.0043c780
test al, al
je 0x4af537
lea eax, [esp + 0x20]
push eax
call fcn.0043c780
test al, al
jne 0x4af537
lea eax, [esp + 0x1024]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4af4b0
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x1026], cx
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4af4d0
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x22], dx
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1024]
mov dword [esp + 8], eax
lea eax, [esp]
lea ecx, [esp + 0x20]
mov edx, 0x14
push eax
mov dword [esp + 8], 2
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], dx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 1
push str.AppDataCopied
push str.General
call fcn.0046bc00
mov ecx, dword [esp + 0x3028]
xor ecx, esp
call fcn.004bfc52
add esp, 0x302c
ret
Function at 0x4af560
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1028
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x1024], eax
push esi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x20], 0x50001
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push str.VerInfo
push str.General
call fcn.0046bd00
push 0x800
lea edx, [esp + 0x2c]
push edx
call fcn.0045fce0
push 0x800
lea eax, [esp + 0x2c]
push eax
call fcn.0045f4a0
push 0x800
push str.version.dat
lea ecx, [esp + 0x30]
push ecx
call fcn.0047e380
push 0x4d8484
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x18], 0
call fcn.0043c420
mov esi, eax
test esi, esi
je 0x4af60b
push esi
push 0xc
lea eax, [esp + 0x18]
push 1
push eax
call fcn.004c2fc6
push esi
call fcn.004c2398
add esp, 0x14
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x4af6ba
mov ecx, dword [esp + 0x10]
push 0xc
cmp ecx, eax
je 0x4af686
lea ecx, [esp + 0x20]
push ecx
push str.VerInfo
push str.General
call fcn.0046bc60
push 0x4d73cc
lea edx, [esp + 0x2c]
push edx
call fcn.0043c420
mov esi, eax
test esi, esi
je 0x4af666
push esi
push 0xc
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004c2576
push esi
call fcn.004c2398
add esp, 0x14
mov dword [0x533490], 0
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004bfc52
add esp, 0x1028
ret
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
push str.VerInfo
push str.General
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.0046bc60
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4af701
cmp dword [esp + 0x10], eax
je 0x4af701
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
push 0x4d73cc
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.0043c420
mov esi, eax
test esi, esi
je 0x4af701
push esi
push 0xc
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.004c2576
push esi
call fcn.004c2398
add esp, 0x14
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
xor eax, eax
push 1
xor esi, esi
sub ecx, edx
push eax
sbb esi, eax
push esi
push ecx
call fcn.004bfed0
mov ecx, dword [esp + 8]
xor esi, esi
sub eax, ecx
mov ecx, dword [esp + 0x20]
sbb edx, esi
push esi
add eax, ecx
push 0x989680
adc edx, esi
push edx
push eax
call fcn.004c1a30
push esi
push 0xe10
push edx
push eax
call fcn.004c1a30
push esi
push 0x18
push edx
push eax
call fcn.004c1a30
mov dword [0x533490], eax
test eax, eax
jge 0x4af764
mov dword [0x533490], 0x168
mov ecx, dword [esp + 0x1028]
pop esi
xor ecx, esp
call fcn.004bfc52
add esp, 0x1028
ret
Function at 0x4b2c20
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2044
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x2040], eax
mov eax, dword [esp + 0x205c]
push ebx
mov ebx, dword [esp + 0x2064]
push ebp
mov ebp, dword [esp + 0x205c]
push esi
mov esi, dword [esp + 0x2058]
push edi
mov edi, dword [esp + 0x2060]
push 0x3c
lea ecx, [esp + 0x18]
push 0
push ecx
mov dword [esp + 0x1c], eax
call fcn.004c05a0
add esp, 0xc
cmp byte [esp + 0x2068], 0
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x500
jne 0x4b2c96
mov dword [esp + 0x18], 0x540
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebp
call fcn.0045f900
cmp eax, esi
jne 0x4b2cd0
push esi
lea edx, [esp + 0x54]
push str.._s
push edx
mov edx, 0x1000
call fcn.0043a6e0
lea eax, [esp + 0x5c]
add esp, 0xc
mov dword [esp + 0x24], eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0x14]
mov ebx, 1
push ecx
mov dword [esp + 0x34], ebx
mov byte [0x5323f3], bl
call esi
test eax, eax
jne 0x4b2d01
cmp dword [esp + 0x20], eax
je 0x4b2d01
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x24], eax
call esi
mov byte [0x5323f3], 0
test eax, eax
je 0x4b2db2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x4b2db2
cmp byte [esp + 0x2068], 0
jne 0x4b2dae
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4b2d62
mov eax, dword [0x5798b0]
mov edx, dword [esp + 0x34]
mov dword [eax*4 + 0x579870], ecx
mov dword [eax*4 + 0x579830], edx
inc eax
and eax, 0x8000000f
jns 0x4b2d5b
dec eax
or eax, 0xfffffff0
inc eax
mov dword [0x5798b0], eax
jmp 0x4b2da4
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
lea ebx, [ebx]
mov eax, dword [esi + 0x579830]
cmp eax, dword [esp + 0x34]
jne 0x4b2d98
mov ecx, dword [esi + 0x579870]
push 0
push ecx
call edi
cmp eax, 0x102
jne 0x4b2d98
mov edx, dword [esi + 0x579870]
mov dword [esp + 0x4c], edx
add esi, 4
cmp esi, 0x40
jl 0x4b2d70
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b2dae
mov dword [eax], ecx
mov al, bl
jmp 0x4b2db4
xor al, al
mov ecx, dword [esp + 0x2050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bfc52
add esp, 0x2044
ret 0x1c
Function at 0x4b2dd0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4d4b4b
mov eax, dword fs:[0]
push eax
mov eax, 0x6060
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x605c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x6074]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6088]
mov ebp, dword [esp + 0x6084]
push eax
mov edi, ecx
call fcn.0045f900
mov ecx, edi
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b2e30
sub ecx, esi
mov edx, eax
sar ecx, 1
lea ebx, [edx + 2]
mov si, word [edx]
add edx, 2
test si, si
jne 0x4b2e44
sub edx, ebx
sar edx, 1
lea ecx, [edx + ecx + 1]
cmp ecx, 0x1000
jae 0x4b2f8c
push 0x1000
lea edx, [esp + 0x4074]
push edx
push eax
push edi
call fcn.0045f4f0
lea ecx, [esp + 0x14]
call fcn.0047e890
mov dword [esp + 0x607c], 0
push 0x1000
push 0x4d69fc
lea eax, [esp + 0x1078]
push eax
push str.ViewerIgnoreModifications
push str.Viewer
call fcn.0046bcb0
cmp word [esp + 0x1070], si
je 0x4b2ecc
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x107c]
push edx
call fcn.0047eca0
push 0x800
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.0047e9b0
test al, al
je 0x4b2f78
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ecx]
push 0x800
lea ecx, [esp + 0x3074]
push ecx
lea edx, [esp + 0x78]
push edx
call edi
lea eax, [esp + 0x3072]
push 0x4de814
push eax
call fcn.004c3606
mov esi, eax
add esp, 8
test esi, esi
je 0x4b2fb8
xor ecx, ecx
mov word [esi], cx
add esi, 4
cmp word [esi], cx
jne 0x4b2f35
mov esi, 0x4d67f0
push 4
push ebp
lea edx, [esp + 0x3078]
push edx
call fcn.004521b0
test al, al
je 0x4b2f5d
push 4
lea eax, [esp + 0x4074]
push eax
push esi
call fcn.004521b0
test al, al
jne 0x4b2fc1
push 0x800
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0047e9b0
test al, al
jne 0x4b2ef0
mov dword [esp + 0x607c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004104a0
xor al, al
mov ecx, dword [esp + 0x6074]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x605c]
xor ecx, esp
call fcn.004bfc52
add esp, 0x606c
ret 8
lea esi, [esp + 0x3070]
jmp 0x4b2f49
mov dword [esp + 0x607c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004104a0
mov al, 1
jmp 0x4b2f8e
Function at 0x4b4c40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4d4c7e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
test byte [0x581b04], 1
jne 0x4b4c99
or dword [0x581b04], 1
mov dword [esp + 0x14], 0
mov ecx, 0x57d9e0
call fcn.004b2530
push 0x4d5540
call fcn.004c2996
add esp, 4
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esp + 0x1c]
push 1
push esi
mov ecx, 0x57d9e0
call fcn.004b34a0
mov bl, byte [esp + 0x20]
push 0
test bl, bl
push 0x57d9e0
sete al
movzx ecx, al
push ecx
push 0
push 0
push esi
push 0
call fcn.004b2c20
test al, al
jne 0x4b4d09
mov eax, dword [0x57d9e8]
cmp eax, 0xffffffff
je 0x4b4ce9
push eax
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov dword [0x57d9e8], 0xffffffff
mov ecx, 0x581a02
call fcn.00477af0
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
test bl, bl
je 0x4b4d26
push 0x57d9e0
push 0x10000
push 0x4b35c0
call fcn.004c16f2
add esp, 0xc
jmp 0x4b4d4b
mov eax, dword [0x57d9e8]
cmp eax, 0xffffffff
je 0x4b4d41
push eax
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov dword [0x57d9e8], 0xffffffff
mov ecx, 0x581a02
call fcn.00477af0
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8

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

Disassembly:
push esi
push 0x5323f8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4b4da9
push 0x40
push 0x2bc
call fcn.004744a0
push eax
push 0x2bd
call fcn.004744a0
push eax
mov eax, dword [0x534544]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
ret
push 0
push 0x5323f8
mov ecx, esi
call fcn.004b3df0
pop esi
ret
Function at 0x4b4dc0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4d4cae
mov eax, dword fs:[0]
push eax
mov eax, 0x3004
call fcn.004bfc70
mov eax, dword [0x4ea93c]
xor eax, esp
mov dword [esp + 0x3000], eax
push esi
mov eax, dword [0x4ea93c]
xor eax, esp
push eax
lea eax, [esp + 0x300c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x301c]
test esi, esi
je 0x4b4e45
push 0x4de800
push esi
call fcn.0045fb20
test al, al
jne 0x4b4e1f
call fcn.004b2a00
test al, al
je 0x4b4e45
push 0x30
push 0x65
call fcn.004744a0
push eax
push 0x596
call fcn.004744a0
push eax
mov eax, dword [0x534544]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4b4fae
cmp byte [0x5323f1], 0
jne 0x4b4e81
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call fcn.004b2c20
test al, al
jne 0x4b4fae
push esi
push 0x201
call fcn.004744a0
push eax
call fcn.004ab990
add esp, 8
jmp 0x4b4fae
push 1
push 0x800
lea ecx, [esp + 0x10]
push ecx
push str.Rar_EX
call fcn.0049dcc0
test al, al
je 0x4b4fae
push 0x800
lea edx, [esp + 0x200c]
push edx
call fcn.0049e700
lea eax, [esp + 8]
push eax
call fcn.0049e6a0
push 1
call fcn.00498e30
push 0x800
push 0x54fd12
mov ecx, 0x540eb0
call fcn.00414de0
mov ecx, dword [0x5410bc]
mov dword [0x54ccb0], ecx
push 0x4d67f0
mov ecx, 0x550d14
call fcn.0047e700
push 0
push 0
mov ecx, 0x540eb0
mov dword [0x54bca0], 4
call fcn.004197c0
cmp byte [0x5323f0], 0
jne 0x4b4fae
lea edx, [esp + 0x1008]
push edx
push esi
call fcn.0045f960
push 0x800
lea eax, [esp + 0x100c]
push eax
mov ecx, eax
push ecx
call fcn.00460ee0
test byte [0x585c2c], 1
jne 0x4b4f76
or dword [0x585c2c], 1
mov dword [esp + 0x3014], 0
mov ecx, 0x581b08
call fcn.004b2530
push 0x4d5590
call fcn.004c2996
add esp, 4
mov dword [esp + 0x3014], 0xffffffff
push 0
lea edx, [esp + 0x100c]
push edx
mov ecx, 0x581b08
call fcn.004b34a0
lea eax, [esp + 0x2008]
push eax
call fcn.0049e6a0
push 0x581b08
push 0x10000
push 0x4b35c0
call fcn.004c16f2
add esp, 0xc
mov ecx, dword [esp + 0x300c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x3000]
xor ecx, esp
call fcn.004bfc52
add esp, 0x3010
ret 4
Function at 0x4b6380
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
push 0x587c50
call fcn.00427870
mov edi, dword [esp + 0xc]
mov eax, 0x12345678
mov edx, 0x23456789
mov esi, 0x34567890
mov dword [0x588050], eax
mov dword [0x588054], edx
mov dword [0x588058], esi
mov cl, byte [edi]
test cl, cl
je 0x4b6410
jmp 0x4b63c0
movsx ecx, cl
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x587c50]
inc edi
movzx ecx, al
add ecx, edx
imul ecx, ecx, 0x8088405
inc ecx
mov edx, ecx
shr ecx, 0x18
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x587c50]
mov dword [0x588050], eax
mov dword [0x588054], edx
mov dword [0x588058], esi
mov cl, byte [edi]
test cl, cl
jne 0x4b63c0
pop edi
pop esi
ret 4
Function at 0x4b6960
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
cmp byte [0x549a18], 0
push ebp
mov ebp, dword [esp + 0x10]
je 0x4b69fb
push ebx
mov ebx, dword [esp + 0x10]
imul ebx, ebp
push edi
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x4b69f9
push esi
movsx eax, byte [edi]
mov esi, dword [0x588050]
xor eax, esi
and eax, 0xff
mov ecx, dword [0x588058]
shr esi, 8
xor esi, dword [eax*4 + 0x587c50]
mov edx, ecx
mov eax, esi
mov dword [0x588050], eax
movzx eax, al
add eax, dword [0x588054]
and edx, 0xfffd
imul eax, eax, 0x8088405
inc eax
mov dword [0x588054], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x587c50]
or edx, 2
mov dword [0x588058], ecx
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor byte [edi], cl
inc edi
sub ebx, 1
jne 0x4b6984
pop esi
pop edi
pop ebx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0
push ebp
push edx
push eax
call fcn.0043e8c0
pop ebp
ret 0xc
Function at 0x4ba3f0
Capabilities:
Read file on windows

Disassembly:
push ecx
push eax
push 4
lea ecx, [esp + 8]
push 1
push ecx
call fcn.004c2fc6
add esp, 0x10
cmp eax, 4
je 0x4ba40e
xor eax, eax
pop ecx
ret 4
mov ecx, dword [esp + 8]
lea edx, [esp]
xor eax, eax
sub ecx, edx
lea esp, [esp]
lea edx, [ecx + eax]
mov dl, byte [esp + edx]
cmp dl, byte [esp + eax]
jne 0x4ba431
inc eax
cmp eax, 4
jl 0x4ba420
xor ecx, ecx
cmp eax, 4
sete cl
mov eax, ecx
pop ecx
ret 4