joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4997a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x250], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.0053c870
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4997e0
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
test edx, edx
jne 0x499802
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x240], ecx
jmp 0x49980b
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x240], edx
cmp dword [ebp + 0xc], 0
je 0x49981b
mov dword [ebp - 0x244], 0x584e04
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
cmp dword [ebp + 0x18], 0
je 0x499840
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x24c], 0x400
jmp 0x49984a
mov dword [ebp - 0x234], 5
cmp dword [ebp + 0x14], 0
je 0x49985f
mov ecx, dword [ebp - 0x24c]
or ecx, 0x40
mov dword [ebp - 0x24c], ecx
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp + 0x14], 0
je 0x499894
push 0xffffffffffffffff
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret

Function at 0x4998e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570d28
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49991a
xor eax, eax
jmp 0x4999c3
mov dword [ebp - 0x6c], 0
push 0x40
push 0
lea ecx, [ebp - 0x68]
push ecx
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
mov edx, 5
mov word [ebp - 0x3c], dx
lea ecx, [ebp - 0x20]
call fcn.00438030
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x584e10
lea edx, [ebp - 0x20]
push edx
call fcn.004386c0
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.004dfdf0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4999ab
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0044fc20
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x499c60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570da6
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00499b30
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 0x10]
jne 0x499ca0
jmp 0x499e65
push 0
lea ecx, [ebp - 0x34]
push ecx
call fcn.00566650
add esp, 8
mov dword [ebp - 4], 0
call fcn.00565a90
movzx edx, al
test edx, edx
je 0x499ce6
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.0041a070
mov dword [ebp - 0x38], eax
push 0x584f6c
push 3
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.0049a210
push 0x584f70
lea ecx, [ebp - 0x34]
call fcn.0041b4d0
push 0x584f74
lea ecx, [ebp - 0x54]
push ecx
call fcn.00566040
add esp, 8
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x94]
call fcn.00403810
push eax
lea ecx, [ebp - 0x34]
call fcn.0041b4d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403230
lea ecx, [ebp - 0x34]
call fcn.00403810
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x499d61
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403230
jmp 0x499e65
lea ecx, [ebp - 0x14]
call fcn.00438030
mov byte [ebp - 4], 2
cmp dword [ebp + 8], 0
je 0x499dc9
lea ecx, [ebp - 0x34]
call fcn.00403810
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00565cb0
add esp, 8
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
call fcn.00406410
push eax
push 0x584f98
lea edx, [ebp - 0x14]
push edx
call fcn.004386c0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00406210
jmp 0x499e23
lea ecx, [ebp - 0x34]
call fcn.00403810
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00565cb0
add esp, 8
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa4]
call fcn.00406410
push eax
push str.__s___u
lea edx, [ebp - 0x14]
push edx
call fcn.004386c0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00406210
push 1
push 1
push str.regsvr32
call fcn.00499480
neg eax
sbb eax, eax
add eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.004dfdf0
push eax
call fcn.004997a0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403230
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x49aed0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], 0
je 0x49af03
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.004dfdf0
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
call ecx
jmp 0x49af0d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret 8

Function at 0x49bc90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x10]
call fcn.00438030
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.004a6180
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
jmp 0x49bce7
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x18]
jae 0x49bd3b
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.0045fcc0
push eax
lea ecx, [ebp - 0x10]
call fcn.0045e6c0
push 0x585164
lea ecx, [ebp - 0x10]
call fcn.00456610
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x60
call fcn.0045fcc0
push eax
lea ecx, [ebp - 0x10]
call fcn.0045e6c0
push 0x585168
lea ecx, [ebp - 0x10]
call fcn.00456610
jmp 0x49bcde
lea ecx, [ebp - 0x10]
call fcn.004664a0
lea ecx, [eax + eax + 2]
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x49bd77
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov eax, dword [ebp - 0x24]
jmp 0x49bddf
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp - 0x1c]
push ecx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044fc20
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49dd30
Capabilities:
Create directory
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5710f8
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], 0x5851dc
mov dword [ebp - 0x14], 0x5851f0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
push 0x585200
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x230]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004426d0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], 0
je 0x49ddce
lea edx, [ebp - 0x22c]
cmp edx, dword [ebp - 0x1c]
jne 0x49ddee
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x18]
call fcn.00438030
mov dword [ebp - 4], 0
push 0x58520c
push str._s.log
lea ecx, [ebp - 0x18]
push ecx
call fcn.004386c0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.004dfdf0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044fc20
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x49f590
Capabilities:
Check mutex on windows
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57149e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
call fcn.004d3e30
test eax, eax
jne 0x49f5ca
call fcn.0049f4f0
test eax, eax
je 0x49f612
push 0x2001f
push 0x58550c
lea ecx, [ebp - 0x10]
call fcn.004ccc50
mov dword [ebp - 4], 0
push 0x585520
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004ccd70
mov eax, dword [ebp - 0x14]
jmp 0x49f660
push str.87675001_F878_41d3_8B42_FFD416082E0E
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.00454da0
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.00463210
test eax, eax
je 0x49f640
xor eax, eax
jmp 0x49f660
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x49f651
xor eax, eax
jmp 0x49f660
push 0xa
push str.FixAssoc
call fcn.0049f350
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a0a70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571593
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xbc
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc8], ecx
call fcn.004039b0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
call fcn.0047f910
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xb8]
call fcn.0047f910
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jle 0x4a0bc3
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
lea ecx, [ebp - 0xb8]
call fcn.004a0e20
jmp 0x4a0b24
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.004dfdf0
test eax, eax
jne 0x4a0b6d
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004448c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00444600
mov eax, dword [ebp - 0xbc]
jmp 0x4a0c36
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0xb8]
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4a0bc3
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004448c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00444600
mov eax, dword [ebp - 0xc0]
jmp 0x4a0c36
lea ecx, [ebp - 0xb8]
call fcn.004dfdf0
push eax
call fcn.004fb430
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp - 0x1c], 0
jne 0x4a0bf5
mov dword [ebp - 0xcc], 1
jmp 0x4a0c06
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [edx], 0
setne al
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004448c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00444600
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0b2b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571593
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xbc
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc8], ecx
call fcn.004039b0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x28]
call fcn.0047f910
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xb8]
call fcn.0047f910
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jle 0x4a0bc3
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
lea ecx, [ebp - 0xb8]
call fcn.004a0e20
jmp 0x4a0b24
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.004dfdf0
test eax, eax
jne 0x4a0b6d
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004448c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00444600
mov eax, dword [ebp - 0xbc]
jmp 0x4a0c36
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0xb8]
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4a0bc3
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004448c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00444600
mov eax, dword [ebp - 0xc0]
jmp 0x4a0c36
lea ecx, [ebp - 0xb8]
call fcn.004dfdf0
push eax
call fcn.004fb430
add esp, 4
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp - 0x1c], 0
jne 0x4a0bf5
mov dword [ebp - 0xcc], 1
jmp 0x4a0c06
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [edx], 0
setne al
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004448c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00444600
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4
Function at 0x4a44c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5719f1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00499480
test eax, eax
je 0x4a467c
push 0x11d
lea ecx, [ebp - 0x248]
call fcn.0043aed0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x10], eax
push 0x585cb0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a4598
push 0
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x4a4598
mov dword [ebp - 0x250], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004a4750
mov eax, dword [ebp - 0x250]
jmp 0x4a4696
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp + eax*2 - 0x21c]
mov dword [ebp - 0x10], ecx
push str.rar.exe
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x30
push 0x585d20
lea ecx, [ebp - 0x26c]
call fcn.00408888
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
call fcn.0043e970
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.004088d3
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
lea ecx, [ebp - 0x248]
call fcn.0043b280
push str.rarplug.dll
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x224]
call fcn.00438030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
push ecx
call fcn.004ac450
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.004a4750
jmp 0x4a4691
push 1
push 1
push 0
push 1
push str._download_plug_Kuaizip
call fcn.004997a0
add esp, 0x14
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x4a4ab0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x22c], ecx
push 0x498
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.004a0450
mov dword [ebp - 8], eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x49a
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.004a4f80
cmp dword [ebp - 8], 0
je 0x4a4b0c
xor ecx, ecx
mov word [ebp - 4], cx
jmp 0x4a4b41
push 0
push 0
push 0xd2
push 0x3eb
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00493e70
mov ecx, eax
call fcn.004dfdf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov word [ebp - 4], ax
push 0
movzx eax, word [ebp - 4]
push eax
push 0xcc
push 0x49a
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00493e70
mov ecx, eax
call fcn.004dfdf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x218]
push edx
push 0x49a
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.004a06e0
xor eax, eax
cmp dword [ebp - 8], 0
sete al
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x3eb
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00493e70
mov ecx, eax
call fcn.004dfdf0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
push eax
push 0x49b
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebp - 0x22c]
add ecx, 4
call fcn.00493e70
mov ecx, eax
call fcn.004dfdf0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a4fb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00493e70
mov ecx, eax
call fcn.004dfdf0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a5023
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041adb0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0043a150
mov eax, dword [ebp - 0xc]
jmp 0x4a502d
mov ecx, dword [ebp + 0xc]
call fcn.0041aed0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4ac3a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
push 0x3fd
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00493e70
mov ecx, eax
call fcn.004dfdf0
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x70
call fcn.00493da0
mov ecx, dword [ebp - 0x14]
call fcn.004ac960
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ac42b
xor ecx, ecx
je 0x4ac3e7
jmp 0x4ac42b
mov edx, dword [ebp - 0x14]
sub edx, 0x64
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x33c]
cmp dword [ecx], 0
jne 0x4ac42b
push 0
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
push 0x4ac260
push 0
push 0
call fcn.0053ec8f
add esp, 0x18
push eax
lea ecx, [ebp - 0xc]
call fcn.004d7680
lea ecx, [ebp - 0xc]
call fcn.0043f8e0
cmp dword [ebp - 4], 0
jne 0x4ac43e
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x70
call fcn.004a0430
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4b2090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0043fcf0
test eax, eax
jne 0x4b20ab
jmp 0x4b2139
push 0x104
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x5c
call fcn.0044db00
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4b20e1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
push 1
mov ecx, dword [ebp - 4]
call fcn.004b2a90
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x94]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, dword [edx*4 + 0x5f7134]
mov dword [ecx + 0x20c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
mov ecx, dword [ecx*4 + 0x5f7128]
mov dword [eax + 0x208], ecx
push 0x586668
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x54]
push eax
call fcn.004cd6a0
add esp, 8
mov esp, ebp
pop ebp
ret