joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4175a2
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edi, dword [esp + 0x20]
mov esi, eax
push 0xfffffffffffffff4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi]
mov dword [esp + 0x14], eax
call fcn.0041823b
push eax
call fcn.00418565
push dword [0x48ba54]
mov dword [esp + 0x24], eax
call fcn.004279ed
mov ebp, eax
movsx ecx, si
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
push eax
push dword [edi]
shr esi, 0x10
movsx ecx, si
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
mov edi, 0x8000
test di, ax
je 0x417616
inc ebx
push 0x12
call esi
test di, ax
je 0x417622
or ebx, 2
push 0x11
call esi
test di, ax
je 0x41762e
or ebx, 4
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
call fcn.00416e61
push 0x417683
push ebp
push dword [esp + 0x2c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x34]
push dword [esp + 0x2c]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
push dword [esp + 0x20]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
push 0x332c
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x18], eax
call fcn.00419c5f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x419509
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x4195a1
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x41959e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x41959e
lea eax, [esi - 1]
push eax
push dword [0x48c19c]
call fcn.0042788c
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x4195a0
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x419595
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x419688
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x41957b
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x419647
push eax
call esi
test al, al
jns 0x419647
push 0x11
call esi
test al, al
js 0x419647
push 0x10
call esi
test al, al
js 0x419647
push 0x12
call esi
test al, al
js 0x419647
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x419647
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x41961b
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x419632
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x419692
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x419692
test ebp, ebp
je 0x41966b
push 0x11
call esi
test al, al
js 0x419663
push 0x10
call esi
test al, al
js 0x419663
push 0x12
call esi
test al, al
jns 0x41966b
push 1
push ebp
call fcn.0041969e
test ebx, ebx
je 0x41967f
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x419692
test edi, edi
je 0x419692
mov eax, dword [edi + 8]
jmp 0x419694
and dword [esp + 0x14], 0
jmp 0x4195a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x41a8fa
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, ebx
test esi, esi
je 0x41a957
push esi
call dword [esi + 0x58]
mov ecx, dword [esi + 0x80]
mov edi, eax
mov dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x98], ecx
test edi, edi
jne 0x41a957
mov eax, dword [esi + 0x70]
test eax, eax
je 0x41a936
push ebx
push esi
call eax
push esi
push ebx
push dword [0x48b9a4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push dword [0x48c1d8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x48c1dc], ebx
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x41ab12
Capabilities:
Set thread local storage value

Disassembly:
push esi
push 0x184
push 8
push dword [0x48b9a4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push dword [0x48c1d8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esp + 8]
mov dword [0x48c1dc], esi
and dword [esi + 0xa8], 0
or dword [esi + 0xac], 0xffffffff
or dword [esi + 0xb0], 0xffffffff
push esi
mov dword [esi + 0xa4], 0xffffff
mov dword [esi + 0x74], 2
mov dword [esi + 0x78], 0x3f
call fcn.0041d745
mov dword [esi + 0x58], 0x41b725
mov eax, esi
mov dword [esi + 0x5c], 0x41b771
mov dword [esi + 0x10], fcn.0041b2c6
mov dword [esi + 0x30], 0x41b1b8
mov dword [esi + 0x64], 0x41b7fb
mov dword [esi + 0x60], 0x41b7b3
mov dword [esi + 0x34], 0x41ae68
mov dword [esi + 0x24], 0x41ae3f
mov dword [esi + 0x28], 0x41ae14
mov dword [esi + 0x2c], 0x41ad66
mov dword [esi + 0x44], 0x41b52b
pop esi
ret 4
Function at 0x420a0f
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd4]
mov dword [esp + 4], eax
test edx, edx
je 0x420ac5
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
neg eax
add ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebp
push edi
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xcc]
mov ebp, edi
imul ecx, ebx
add ecx, dword [esi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x420aa5
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 4]
xor byte [ecx], al
add ecx, esi
dec edx
jne 0x420a80
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec edx
inc ebx
cmp dword [esi + 0xe8], 0
mov dword [esp + 0x3c], edx
jne 0x420aba
add edi, dword [esp + 0x14]
jmp 0x420abe
add edi, dword [esp + 0x24]
test edx, edx
jne 0x420a5e
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret 0x24

Function at 0x420dd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
test ebx, ebx
je 0x420eaa
imul eax, dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
neg ecx
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x30]
push edi
imul edi, dword [esp + 0x30], 3
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov esi, dword [eax + 0xcc]
imul esi, ebp
mov dword [esp + 0x34], edi
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x28]
test edx, edx
jle 0x420e80
mov ebp, dword [esp + 0x34]
mov ebx, 0xff
sub ebx, dword [esp + 0x40]
mov edi, edx
movzx eax, byte [esi]
movzx ecx, byte [ebp]
imul ecx, dword [esp + 0x40]
imul eax, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc ebp
mov byte [esi], al
inc esi
dec edi
jne 0x420e48
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec ebx
inc ebp
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebp
jne 0x420e97
add edi, ecx
jmp 0x420e9b
add edi, dword [esp + 0x24]
mov dword [esp + 0x38], edi
test ebx, ebx
jne 0x420e1e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x4214ca
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xd4]
mov dword [esp + 8], eax
test esi, esi
je 0x42157f
imul eax, dword [esp + 0x20]
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xcc]
mov ebp, edx
imul ecx, ebx
add ecx, dword [edi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x421560
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 3]
xor byte [ecx], al
add ecx, edi
dec esi
jne 0x42153b
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
inc ebx
cmp dword [edi + 0xe8], 0
mov dword [esp + 0x3c], esi
jne 0x421575
add edx, dword [esp + 0x14]
jmp 0x421579
add edx, dword [esp + 0x24]
test esi, esi
jne 0x421519
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 0x24
Function at 0x424d60
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x424d92
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x424d8d
cmp dword [esp + 0xc], esi
je 0x424da9
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [edi + 8], esi
pop edi
mov eax, 1
pop esi
ret

Function at 0x4300e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x430100
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x430100
mov eax, dword [eax + 0x44]
test eax, eax
je 0x430100
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40a280
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c81e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
add eax, 0x1c
mov dword [ebp - 0x6c], eax
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.0041a100
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 0x2c], 1
mov edx, dword [ebp - 0xa8]
mov dword [edx], 0xffffffff
mov eax, dword [ebp - 0xa8]
mov dword [eax + 4], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0xa8]
mov dword [edx + 0xc], 0xffffffff
mov eax, dword [ebp - 0xa8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0xa8]
mov byte [ecx + 0x14], 0
mov edx, dword [ebp - 0xa8]
mov dword [edx + 0x18], 0x64
mov eax, dword [ebp - 0xa8]
mov dword [eax + 0x30], 2
mov ecx, dword [ebp - 0xa8]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0xa8]
mov dword [edx + 0x34], 1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0xa8]
add ecx, 0x1c
call fcn.00417990
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4300b0
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x19c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x198], ecx
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x4300f2
jmp 0x430295
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x198]
add edx, 0x20
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x43011c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x19c], edx
jmp 0x430128
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x19c], eax
push 0x4a2bc4
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.0048d9fe
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430160
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x198]
call fcn.004302b0
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048d951
add esp, 4
mov ecx, dword [ebp - 0x198]
add ecx, 4
mov dword [ebp - 0x188], ecx
mov edx, dword [ebp - 0x188]
cmp dword [edx + 0x18], 0x10
jb 0x43018c
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1a0], ecx
jmp 0x43019b
mov edx, dword [ebp - 0x188]
add edx, 4
mov dword [ebp - 0x1a0], edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x198]
add ecx, 4
mov dword [ebp - 0x18c], ecx
mov edx, dword [ebp - 0x18c]
cmp dword [edx + 0x18], 0x10
jb 0x4301d4
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1a4], ecx
jmp 0x4301e3
mov edx, dword [ebp - 0x18c]
add edx, 4
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x198]
add eax, 0x20
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
cmp dword [ecx + 0x18], 0x10
jb 0x43020f
mov edx, dword [ebp - 0x190]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1a8], eax
jmp 0x43021e
mov ecx, dword [ebp - 0x190]
add ecx, 4
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [ebp - 0x198]
add ecx, 4
mov dword [ebp - 0x194], ecx
mov edx, dword [ebp - 0x194]
cmp dword [edx + 0x18], 0x10
jb 0x43025e
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1ac], ecx
jmp 0x43026d
mov edx, dword [ebp - 0x194]
add edx, 4
mov dword [ebp - 0x1ac], edx
push 6
mov eax, dword [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x430284
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x198]
mov byte [ecx + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430740
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x123
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4a2bd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
push ecx
push 0x4a2bc8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x433730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x123
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4a2bd0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
xor ecx, 0x3e80f31
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0x4a2bc8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x433780
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov byte [ebp - 5], 0
push 0x310
push 0
lea eax, [ebp - 0x318]
push eax
call fcn.0048d000
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x310
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0xf001f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
je 0x433848
push 0x310
mov eax, dword [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.0048ccc0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.0048d000
add esp, 0xc
push 0x310
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.0048ccc0
add esp, 0xc
mov edx, dword [ebp - 0x31c]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x433f70
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
mov dword [ebp - 0x244], ecx
mov byte [ebp - 0x2d], 0
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0
jne 0x433fb2
mov al, byte [ebp - 0x2d]
jmp 0x4340fa
mov ecx, dword [ebp - 0x244]
call fcn.00434110
mov dword [ebp - 0x2c], eax
push 0x74
mov edx, dword [ebp - 0x244]
add edx, 0x3c
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0043bf70
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx + 0x4a2b04]
push edx
mov eax, dword [ebp - 0x244]
add eax, 0x3c
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0043bf70
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
jb 0x434014
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x248], edx
jmp 0x43401d
lea eax, [ebp - 0x48]
mov dword [ebp - 0x248], eax
push 0x4a2bc4
mov ecx, dword [ebp - 0x248]
push ecx
call fcn.0048d9fe
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x4340ce
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x244]
call fcn.004302b0
mov eax, dword [ebp - 0x50]
push eax
call fcn.0048d951
add esp, 4
cmp dword [ebp - 0x10], 0x10
jb 0x43406a
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24c], ecx
jmp 0x434073
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24c], edx
cmp dword [ebp - 0x34], 0x10
jb 0x434084
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x250], eax
jmp 0x43408d
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp dword [ebp - 0x10], 0x10
jb 0x4340b2
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x254], ecx
jmp 0x4340bb
lea edx, [ebp - 0x24]
mov dword [ebp - 0x254], edx
push 6
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [ebp - 0x2d], 1
mov cl, byte [ebp - 0x2d]
mov byte [ebp - 0x51], cl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004236e0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004236e0
mov al, byte [ebp - 0x51]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x434d30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x1c], ecx
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x60
call fcn.00435a50
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x434d5a
jmp 0x434e57
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x434d77
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20], edx
jmp 0x434d80
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0x20], eax
push 0x4a2e24
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0048d9fe
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x434e32
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x434dbb
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
jmp 0x434dc4
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x20
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x18], 0x10
jb 0x434de1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
jmp 0x434dea
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0x10
jb 0x434e15
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2c], edx
jmp 0x434e1e
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x2c], eax
push 0x4a2e24
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0048d9fe
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x434e50
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00434e60
mov eax, dword [ebp - 4]
push eax
call fcn.0048d951
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x58], 0
mov esp, ebp
pop ebp
ret
Function at 0x44cfc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f4a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
lea eax, [ebp - 0x44]
push eax
call fcn.0048ea23
add esp, 4
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [0x4b6674]
push edx
call fcn.00497018
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
call fcn.0048d8a8
add esp, 4
push eax
lea ecx, [ebp - 0x60]
call fcn.00416a60
mov dword [ebp - 4], 0
push 0x4b6db0
lea ecx, [ebp - 0x38]
call fcn.00416a60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0048bc60
add esp, 4
push eax
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x38]
call fcn.0041c910
push 0x4b7d2c
call fcn.0048bc60
add esp, 4
push eax
push 0x4b7d2c
lea ecx, [ebp - 0x38]
call fcn.0041c910
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x38]
call fcn.00419710
push 0x4a3348
call fcn.0048bc60
add esp, 4
push eax
push 0x4a3348
lea ecx, [ebp - 0x38]
call fcn.0041c910
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048bc60
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x38]
call fcn.0041c910
push 0x4a3344
call fcn.0048bc60
add esp, 4
push eax
push 0x4a3344
lea ecx, [ebp - 0x38]
call fcn.0041c910
push 0x4a30e8
call fcn.0048bc60
add esp, 4
push eax
push 0x4a30e8
lea ecx, [ebp - 0x38]
call fcn.0041c910
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x64], esp
mov dword [ebp - 0x98], eax
push 0
push 0
mov ecx, dword [ebp - 0x98]
call fcn.004236e0
mov ecx, dword [0x4a2ac8]
push ecx
push 0
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00423530
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd8], eax
call fcn.00445850
add esp, 0x1c
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0x44f780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.004236e0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.004236e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret