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

Disassembly:
push 0xffffffffffffffff
push 0x46f37b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1485568]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40bf28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40be56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463b73
xor eax, eax
jmp 0x40bf9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00463cb0
push esi
lea ecx, [esp + 0xc]
call fcn.00463f3f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40bf7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040bd80
test eax, eax
jne 0x40bf7d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040bd80
test eax, eax
jne 0x40bf7d
lea eax, [esp + 0x14]
push 0x147ed80
push eax
call fcn.00454860
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bf5c
lea ecx, [esp + 0x14]
push 0x147ed7c
push ecx
call fcn.004547e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bf5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bf5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00463c60
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40be6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00463b73
xor eax, eax
jmp 0x40bf9f
mov byte [esi], 0
push 0x147ed78
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00463b73
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41e080
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41e0ee
cmp si, 0x69
ja 0x41e0ee
add esi, 0xffd0
cmp si, 0x11
je 0x41e0be
push 0x11
call edi
test ax, ax
jge 0x41e0be
or esi, 0x2000
cmp si, 0x10
je 0x41e0d3
push 0x10
call edi
test ax, ax
jge 0x41e0d3
or esi, 0x4000
cmp si, 0x12
je 0x41e0e8
push 0x12
call edi
test ax, ax
jge 0x41e0e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41e0fb
mov esi, 0xbd
jmp 0x41e0af
cmp si, 0x6e
jne 0x41e108
mov esi, 0xbe
jmp 0x41e0af
cmp si, 0x6f
jne 0x41e0a9
mov esi, 0xbf
jmp 0x41e0af

Function at 0x41f7a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1495c90]
xor edx, edx
cmp eax, edx
jne 0x41f7c6
xor eax, eax
mov byte [eax + 0x1495b90], al
inc eax
cmp eax, 0x100
jl 0x41f7ae
mov dword [0x1495c90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1495b90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41f857
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41f82a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41f7f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41f8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41f923
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41f90a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4319f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471428
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042c2f0
test eax, eax
je 0x431af8
lea ecx, [esp + 0xc]
call fcn.00404300
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042c2f0
mov ecx, eax
call fcn.00429a90
test eax, eax
je 0x431adf
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x431adf
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x431adf
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00404500
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x431ac1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x431adf
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x14960e0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x1469dd0
call fcn.00404500
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x431b40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042c2f0
test eax, eax
je 0x431c2f
mov ecx, edi
call fcn.0042c2f0
mov ecx, eax
call fcn.00429940
test eax, eax
jne 0x431c2f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x431c2f
mov eax, dword [0x14960e0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x431ba2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042c2f0
mov ecx, eax
call fcn.00429b70
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x431c2f
cmp ebx, eax
jne 0x431c2f
cmp dword [esp + 0x10], eax
jne 0x431c15
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x434850
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4716b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x434889
inc eax
mov dword [esi + 0x10], eax
jmp 0x43499c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43489d
mov eax, 0xffffffc7
jmp 0x43499e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4348ae
cmp dword [esi + 8], eax
jne 0x43489d
cmp dword [esi + 8], eax
jne 0x4348c7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4348c7
mov eax, 0xffffffc7
jmp 0x43499e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4348db
push eax
mov ecx, ebx
call fcn.00434080
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00404300
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43490c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404320
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004337f0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43493f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1469dd0
call fcn.00404500
mov eax, dword [esp + 0x38]
jmp 0x43499e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004346b0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x434983
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004346d0
mov esi, eax
test esi, esi
jne 0x4349b3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004346b0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x434955
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1469dd0
call fcn.00404500
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x1469dd0
call fcn.00404500
mov eax, esi
jmp 0x43499e

Function at 0x437c10
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x437c70
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x437c70
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x437c70
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x437c70
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x437cb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x465f17
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x465f4f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00463fce
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00463fa6
jmp 0x465f5b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46760c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46764e
call fcn.0046d382
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46764e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x467645
xor eax, eax
jmp 0x467656
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046765c
pop edi
pop esi
pop ebx
ret 4

Function at 0x46d8b2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46d8e0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d8fe
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d818
jmp 0x46d8fe
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d8fe
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d818
test edi, edi
mov eax, edi
jne 0x46d8e8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x408962
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.00408983
mov eax, eax
xor dword [ecx], edi
sub esi, 0xa186ba5f
add ecx, 1
mov eax, eax
cmp ecx, ebx
jne fcn.00408962
ret
Function at 0x408ea8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff790
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 0x35], dl
mov ebx, eax
mov eax, 0x4a4c84
call fcn.004992ac
cmp byte [ebx + 0x6e3d], 0
mov eax, dword [ebx + 0x13cc]
je 0x408ee6
cmp byte [eax + 0x20e9], 0
jne 0x408ee6
cmp byte [ebx + 0x6e38], 0
je 0x408ef7
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
mov eax, edx
jmp 0x40908b
mov word [ebp - 0x24], 8
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040f458
inc dword [ebp - 0x18]
xor edx, edx
mov word [ebp - 0x24], 0x14
movzx eax, word [ebx + 0x4718]
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebx + 0x471c]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, ebx
xor edx, edx
call fcn.00409f40
mov eax, ebx
call fcn.00405554
cmp byte [ebp - 0x35], 0
je 0x408f74
push pe_nt_image_headers32
lea edx, [ebp - 0x238]
push edx
push dword [0x4c6ef8]
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x34a
call fcn.004129c8
call fcn.00475498
call fcn.00474794
mov edx, dword [ebx + 0x46e8]
sub edx, 0x76
je 0x408f8c
sub edx, 3
je 0x408fc6
dec edx
je 0x408fd8
jmp 0x409011
test byte [ebx + 0x4714], 0x20
jne 0x408fb4
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040f4c4
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
jmp 0x40908b
lea ecx, [ebp - 0x870]
mov dl, byte [ebp - 0x35]
mov eax, ebx
call fcn.004087bc
jmp 0x409011
lea ecx, [ebp - 0x870]
mov dl, byte [ebp - 0x35]
mov eax, ebx
call fcn.00409094
jmp 0x409011
push 0x4a4b70
lea eax, [ebx + 0x5480]
push eax
call fcn.00498e30
add esp, 8
test eax, eax
sete dl
and edx, 1
test dl, dl
je 0x40900a
lea ecx, [ebp - 0x870]
mov dl, byte [ebp - 0x35]
mov eax, ebx
call fcn.004092d8
jmp 0x409011
mov byte [ebp - 0x23a], 1
cmp byte [ebp - 0x35], 0
je 0x409027
lea eax, [ebp - 0x238]
call fcn.00475498
call fcn.00474794
test esi, esi
je 0x40903c
push esi
mov edi, esi
lea esi, [ebp - 0x870]
mov ecx, 0x18e
rep movsd dword es:[edi], dword [esi]
pop esi
cmp byte [ebp - 0x23a], 0
je 0x409071
cmp byte [ebp - 0x35], 0
jmp 0x409071
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040f4c4
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487f10
Capabilities:
Copy file
Get file attributes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff3f8
push ebx
push esi
push edi
mov esi, eax
cmp dword [0x4c9894], 0
jne 0x4881a8
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.SHELL32.DLL_DragQueryFileA
mov edi, eax
cmp edi, 1
jne 0x488110
mov word [ebp - 0xc08], 0
push 0x400
lea eax, [ebp - 0x408]
push eax
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.004107bc
test eax, eax
jne 0x487f83
push 0x400
lea edx, [ebp - 0xc08]
push edx
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [ebp - 8]
push ecx
call sub.USER32.DLL_GetCursorPos
push dword [ebp - 4]
push dword [ebp - 8]
call sub.USER32.DLL_WindowFromPoint
cmp dword [0x4c988c], 0
je 0x487fb0
cmp eax, dword [0x4c6f00]
je 0x487fdf
cmp eax, dword [0x4c742c]
je 0x487fdf
lea edx, [ebp - 0x408]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 0x10
jne 0x487fdf
push 1
lea ecx, [ebp - 0xc08]
lea edx, [ebp - 0x408]
mov eax, 0x4c6f00
call fcn.0045c264
dec eax
je 0x4881a8
push 7
push str.rarreg.
lea eax, [ebp - 0x408]
call fcn.0040be48
push eax
call fcn.004990ac
add esp, 0xc
test eax, eax
jne 0x488110
push 0x400
lea edx, [ebp - 0x1008]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rarreg.key
lea eax, [ebp - 0x1008]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
push 0
lea edx, [ebp - 0x1008]
push edx
lea ecx, [ebp - 0x408]
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x488086
lea eax, [ebp - 0x1008]
call fcn.00464dd0
lea eax, [ebp - 0x1008]
call fcn.0040c35c
push str.rarreg.key
lea edx, [ebp - 0x1008]
push edx
call fcn.00498da0
add esp, 8
push 0
lea ecx, [ebp - 0x1008]
push ecx
lea eax, [ebp - 0x408]
push eax
call sub.KERNEL32.DLL_CopyFileA
push dword [0x4c6eec]
call sub.USER32.DLL_SetForegroundWindow
push 1
push dword [0x4c6eec]
call sub.USER32.DLL_FlashWindow
mov al, 1
call fcn.0040eb6c
mov byte [0x4b41ac], al
push 0
push dword [0x4c6eec]
call sub.USER32.DLL_FlashWindow
cmp dword [0x4c988c], 0
je 0x4880cc
mov eax, 0x4c6f00
call fcn.0045a93c
jmp 0x4880db
mov edx, 0x4ae7a0
mov eax, 0x4c6f00
call fcn.0045905c
cmp byte [0x4b41ac], 0
je 0x4881a8
push 0x30
mov eax, 0x368
call fcn.004129c8
push eax
mov eax, 0x367
call fcn.004129c8
push eax
push dword [0x4c6eec]
call sub.USER32.DLL_MessageBoxA
jmp 0x4881a8
xor eax, eax
call fcn.0044a1d4
cmp dword [0x4c988c], 0
je 0x48812a
mov dword [0x4bdb08], 1
mov eax, dword [0x4c0540]
call fcn.0040ff20
xor ebx, ebx
cmp edi, ebx
jle 0x48818d
mov word [ebp - 0x1c08], 0
push 0x400
lea eax, [ebp - 0x1408]
push eax
push ebx
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.004107bc
test eax, eax
je 0x488172
push 0x400
lea edx, [ebp - 0x1c08]
push edx
push ebx
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [ebp - 0x1c08]
lea edx, [ebp - 0x1408]
mov eax, dword [0x4c0540]
call fcn.0040ff58
inc ebx
cmp edi, ebx
jg 0x48813a
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov cl, 1
mov edx, eax
xor eax, eax
call fcn.0044af80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488548
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff7d0
push ebx
cmp dword [0x4c988c], 0
je 0x4886f6
lea edx, [ebp - 0x404]
mov eax, 0x4c7c4c
xor ecx, ecx
call fcn.00457d7c
mov edx, 0x4af226
mov eax, 0x4aed2d
mov ecx, 1
call fcn.00461bc4
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x4885b7
push 0x4ae7a0
push 0x400
lea ecx, [ebp - 0x804]
mov edx, str.SaveArcFolder
mov eax, str.InterfaceMisc
call fcn.004619ec
cmp byte [ebp - 0x804], 0
jne 0x4885cb
lea eax, [ebp - 0x804]
call fcn.00463c28
lea edx, [ebp - 0x804]
push edx
lea ecx, [ebp - 0x1008]
push ecx
call fcn.00498e7c
add esp, 8
lea eax, [ebp - 0x1008]
call fcn.0040c35c
lea eax, [ebp - 0x404]
call fcn.0040be48
push eax
lea edx, [ebp - 0x1008]
push edx
call fcn.00498da0
add esp, 8
push 0
push 1
mov eax, 0x5af
call fcn.004129c8
mov edx, eax
lea ecx, [ebp - 0x1008]
mov eax, dword [0x4c6eec]
call fcn.0044dbd0
test al, al
je 0x4886f6
lea edx, [ebp - 0x804]
lea eax, [ebp - 0x1008]
mov ecx, 0x400
call fcn.0040c3a4
test bl, bl
je 0x48865e
lea ecx, [ebp - 0x804]
mov edx, str.SaveArcFolder
mov eax, str.InterfaceMisc
call fcn.004617c8
lea eax, [ebp - 0x404]
push eax
call fcn.00498eac
pop ecx
lea edx, [ebp - 0x1008]
mov byte [ebp + eax - 0x403], 0
push edx
call fcn.00498eac
pop ecx
mov byte [ebp + eax - 0x1007], 0
push 0x1e
push 0
lea ecx, [ebp - 0x1830]
push ecx
call fcn.00498cfc
mov dword [ebp - 0x182c], 2
add esp, 0xc
lea eax, [ebp - 0x404]
mov dword [ebp - 0x1828], eax
lea edx, [ebp - 0x1008]
mov dword [ebp - 0x1824], edx
lea ecx, [ebp - 0x1830]
push ecx
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
je 0x4886f6
push dword [ebp - 0x1824]
push dword [ebp - 0x1828]
mov eax, 0x5b0
call fcn.004129c8
push eax
call fcn.00487828
add esp, 0xc
mov eax, 0x4b3b9c
call fcn.0042dd14
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401b20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x4255e0]
xor eax, ebp
mov dword [esp + 0x168], eax
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, 1
mov dword [esp + 0x44], eax
mov word [esp + 0x48], ax
mov byte [esp + 0x60], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
push 0x426578
push 0x41e2b4
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push 0x104
push ecx
mov dword [esp + 0x28], 0x44
stosb byte es:[edi], al
call fcn.0040eccc
add esp, 0x10
push str.Launch.exe
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x426578
push 0
push 0x4000010
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x16c]
xor ecx, ebp
pop edi
call fcn.0040e9b5
mov esp, ebp
pop ebp
ret