joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9792
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x48
mov eax, dword [edi]
mov cl, byte [eax]
mov al, byte [eax + 1]
mov byte [esi + 3], al
mov eax, dword [edi + 8]
mov byte [esi + 2], cl
mov eax, dword [eax]
mov dword [esi + 4], eax
call fcn.004a982f
mov dword [esi + 8], eax
lea ecx, [eax + 0x646c6f47]
mov eax, dword [edi]
mov dword [ebp + 8], ecx
mov dx, word [eax + 2]
xor dx, cx
mov word [esi + 0xc], dx
mov edx, dword [eax + 0x12]
mov edx, dword [edx]
xor edx, ecx
mov dword [esi + 0x110], edx
mov dx, word [eax + 8]
xor dx, cx
mov word [esi + 0xe], dx
mov dl, byte [eax + 0x16]
xor dl, cl
mov byte [esi + 0x114], dl
mov dx, word [eax + 4]
test dx, dx
jbe 0x4a982b
mov edi, dword [eax + 0xe]
push ebx
movzx eax, dx
xor ebx, ebx
lea ecx, [esi + 0x10]
mov dword [ebp + 0xc], eax
mov eax, ebx
push 4
cdq
pop esi
idiv esi
mov al, byte [edx + ebp + 8]
xor al, byte [edi + ebx]
inc ebx
mov byte [ecx], al
inc ecx
dec dword [ebp + 0xc]
jne 0x4a9812
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4a9882
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add dword [ebp + 0x10], 0x646c6f47
mov eax, dword [eax]
mov dx, word [eax + 6]
test dx, dx
jbe 0x4a98c9
push ebx
push esi
mov esi, dword [eax + 0xa]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
lea ecx, [eax + 7]
movzx eax, dx
mov dword [ebp + 8], eax
mov eax, edi
push 4
cdq
pop ebx
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx]
mov byte [esi + edi], al
inc edi
inc ecx
dec dword [ebp + 8]
jne 0x4a98ae
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4a9e58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x4a9e6e
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0x4a9e81
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret
Function at 0x4bca50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004aded0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4bcb1b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4bcb1b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4bcace
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4bcad9
or bh, 8
and edi, 0x8000000
je 0x4bcaf4
mov eax, dword [0x50ffdc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4bcb1b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bcef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4bcf1b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4bcf3f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4bcf5a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4c07c9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4c07eb
cmp dword [edi + 0x3c], 0
jne 0x4c07eb
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004d7648
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004c0818
pop edi
pop esi
pop ebx
ret 8

Function at 0x4c0866
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004d7648
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4c0897
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004c08aa
pop edi
pop esi
pop ebx
ret 8

Function at 0x4c1e7e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c1eb6
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.004c0497
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c046f
jmp 0x4c1ec2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c1ec6
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x50c848
mov ecx, edi
call fcn.004c0179
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x4c1f19
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4c1f2c
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004c0497
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004c046f
jmp 0x4c1f2c
mov ecx, esi
call fcn.004c42e8
test eax, eax
je 0x4c1f2c
push edi
mov ecx, eax
call fcn.004c1e7e
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x4c3ad6
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 0x4c3b18
call fcn.004d7648
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c3b18
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c3b0f
xor eax, eax
jmp 0x4c3b20
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c3b26
pop edi
pop esi
pop ebx
ret 4
Function at 0x4d6fe7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004d7648
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4d7024
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d7024
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4d7028
xor eax, eax
jmp 0x4d70a6
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004c05bb
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4d7060
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4d704a
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004d7197
push ebx
mov edi, eax
call fcn.004c05e4
test edi, edi
pop ecx
je 0x4d70a2
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004d6f60
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004d70ab
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x44ba10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x66103c]
push ebx
push esi
mov esi, ecx
lea ecx, [eax*4]
mov eax, dword [0x661038]
or ecx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
push 0x664c3c
fild qword [esp + 0x14]
fstp qword [0x661058]
call fcn.006583b8
add esp, 4
test eax, eax
je 0x44ba59
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
lea edx, [esp + 8]
mov ebx, 1
push edx
push ebx
push 0
push 0x661064
push 0x80000000
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [0xa5bf5c], eax
jne 0x44bad5
mov edx, dword [esp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push 0x664c3c
push ecx
push 0
push 0
push edx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0xa5bf5c], eax
jne 0x44babc
cmp dword [esp + 0xc], ebx
je 0x44babe
xor bl, bl
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x44bad5
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0xa5bf5c]
test ecx, ecx
jne 0x44baf8
test eax, eax
jle 0x44baf3
and eax, 0xffff
or eax, 0x80070000
mov dword [0xa5bf5c], eax
pop esi
mov eax, 0x80004006
pop ebx
add esp, 0x10
ret
Function at 0x5385b8
Capabilities:
Encode data using xor

Disassembly:
jg 0x538603
xchg ebp, eax
stc
popfd
retf
mov gs, word [ebx + 0x7f]
ja 0x53867f
mov ah, 0xb
sub dword [edx], ecx
dec ebp
invalid
push cs
js 0x538663
adc al, 0xf0
enter 0xffffffffffffdddb, 0x1a
retf 0x1c2a
invalid
lahf
mov byte [eax - 0x4a454698], cl
push ebx
jns 0x53861e
out 0xd4, al
pop ecx
aas
mov cl, 0x8b
adc dword [ebx], esp
les ebx, [edi - 0xb]
cmp eax, dword [ecx]
enter 0xffffffffffff8f51, 0xf
test al, 4
out dx, eax
sub byte [edi - 0x21fce357], ah
cmp dword [edi + 0x5b], edi
fidivr word [ecx]
jg 0x5386c2
jp 0x538622
mov dword [0x10bb1dc8], eax
test dword [esi], esi
adc eax, 0x39fc1cf
mov edx, 0xa738f877
cmp dword [0xef6714cc], ecx
out dx, eax
inc ebp
add dword [ebp + 0x2bdf0bc6], edx
jno 0x5386c5
cmp dword [edi - 0x40c943e1], edi
xchg ebx, eax
dec ebx
mov eax, dword [0x261be566]
idiv dword [edi]
imul edx, dword ss:[edx], 0xffffff9e
invalid
pop es
push ecx
jg 0x53863f
pop ds
push ds
neg byte ds:[ebx]
push esp
and al, 0x2e
dec eax
pushfd
push ebp
mov ch, 0x69
cmp dword [edx - 0x1b], 0x8daac32d
mov byte [0x5ac64e13], al
sub eax, 0xa28daac3
adc ecx, dword [esi - 0x3a]
pop edx
lea esp, [edx + 0x5ac64e13]
jge 0x5386ae
push cs
movsd dword es:[edi], dword [esi]
pop ebx
adc ah, byte [edi - 0x1ff63882]
movsb byte es:[edi], byte [esi]
les esi, [edx + 0x4b6e9b87]
loope 0x53870a
inc ebx
xor eax, 0x504f9049
mov cl, 0x10
scasd eax, dword es:[edi]
ret
inc esi
xor byte [eax - 1], dh
xchg esp, eax
sbb edi, dword [edx + 0x62]
cld
xchg ebp, eax
cmc
invalid

Function at 0x56c1ff
Capabilities:
Encode data using xor

Disassembly:
xchg byte [esi + ebp + 0x156f70a7], ah
inc ecx
add al, 0xa2
popal
invalid
Function at 0x4f57b0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultLangID]
mov word [ebp - 4], ax
movzx eax, word [ebp - 4]
cmp eax, 0x404
je 0x4f57fa
movzx ecx, word [ebp - 4]
cmp ecx, 0x804
je 0x4f57fa
movzx edx, word [ebp - 4]
cmp edx, 0xc04
je 0x4f57fa
movzx eax, word [ebp - 4]
cmp eax, 0x1004
je 0x4f57fa
movzx ecx, word [ebp - 4]
cmp ecx, 0x1404
jne 0x4f5801
mov al, 1
jmp 0x4f5894
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultUILanguage]
mov word [ebp - 8], ax
movzx edx, word [ebp - 8]
cmp edx, 0x404
je 0x4f5845
movzx eax, word [ebp - 8]
cmp eax, 0x804
je 0x4f5845
movzx ecx, word [ebp - 8]
cmp ecx, 0xc04
je 0x4f5845
movzx edx, word [ebp - 8]
cmp edx, 0x1004
je 0x4f5845
movzx eax, word [ebp - 8]
cmp eax, 0x1404
jne 0x4f5849
mov al, 1
jmp 0x4f5894
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
mov word [ebp - 0xc], ax
movzx ecx, word [ebp - 0xc]
cmp ecx, 0x404
je 0x4f588e
movzx edx, word [ebp - 0xc]
cmp edx, 0x804
je 0x4f588e
movzx eax, word [ebp - 0xc]
cmp eax, 0xc04
je 0x4f588e
movzx ecx, word [ebp - 0xc]
cmp ecx, 0x1004
je 0x4f588e
movzx edx, word [ebp - 0xc]
cmp edx, 0x1404
jne 0x4f5892
mov al, 1
jmp 0x4f5894
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4f63a0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4f63c1
xor eax, eax
jmp 0x4f6428
lea ecx, [ebp - 0x10]
push ecx
push 0x51a638
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x4f640e
xor eax, eax
jmp 0x4f6428
push 0x80020000
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x4f6423
xor eax, eax
jmp 0x4f6428
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4f6740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x51944c
call fcn.004f0080
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4f6761
jmp 0x4f6791
mov eax, dword [ebp - 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4f6787
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4f6af0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50454d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5405e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x84], 0
push 0x40
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.004804b0
add esp, 0xc
mov dword [ebp - 0x3c], 0
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x84], 0x44
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0xb0]
call fcn.004f6a00
mov dword [ebp - 4], 0
push 0x51944c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00407930
add esp, 0xc
mov dword [ebp - 0xb4], eax
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405920
push eax
push 0
push 0
push 0
push 0
push 0
push 0x51a6fc
mov ecx, dword [ebp - 0xb4]
call fcn.00405920
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x89], al
lea ecx, [ebp - 0xa8]
call fcn.00405980
movzx ecx, byte [ebp - 0x89]
test ecx, ecx
je 0x4f6c0d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x88], eax
mov byte [ebp - 0xa9], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405980
mov al, byte [ebp - 0xa9]
jmp 0x4f6c3d
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0xaa], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405980
mov al, byte [ebp - 0xaa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d69b
mov esp, ebp
pop ebp
ret

Function at 0x4f6c60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x68
push eax
call fcn.004f6360
add esp, 4
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call fcn.00407480
mov dword [ebp - 4], eax
push 0x51a64c
push 0xce
push 0x51a680
push 0x51a6cc
cmp dword [ebp - 4], 0
setne dl
push edx
call fcn.00458ab0
add esp, 0x14
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 5]
test ecx, ecx
je 0x4f6cdf
movzx edx, byte [0x54a414]
test edx, edx
je 0x4f6cc1
jmp 0x4f6d0b
mov byte [0x54a414], 1
push 0
push 0
push 0x51a6e0
call fcn.00468555
push 0
call fcn.0047f560
jmp 0x4f6d0b
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call fcn.004074a0
mov ecx, dword [ebp - 8]
call fcn.004f6740
push 0x7530
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [ebp - 8]
call fcn.004f6af0
mov esp, ebp
pop ebp
ret
Function at 0x4f8390
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 8]
call fcn.00419540
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
call fcn.00419540
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
add eax, 2
push eax
call fcn.004606e5
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
add edx, 2
push edx
call fcn.004606e5
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.004804b0
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004804b0
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405920
push eax
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0048307c
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00405920
push eax
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048307c
add esp, 0x10
push 0x1e
push 0
lea edx, [ebp - 0x34]
push edx
call fcn.004804b0
add esp, 0xc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], 0x200
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004606ea
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004606ea
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8
Function at 0x4fa090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501795
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5405e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004f9ff0
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004f9ef0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00425c60
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00405980
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00405980
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xa8]
call fcn.004f9ff0
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xa4]
or eax, 1
mov dword [ebp - 0xa4], eax
push 0x5168f7
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.00425b90
add esp, 8
movzx edx, al
test edx, edx
je 0x4fa210
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004f9ef0
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0xa4]
or edx, 2
mov dword [ebp - 0xa4], edx
push 0x5168fb
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00425b90
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4fa210
lea ecx, [ebp - 0x2c]
call fcn.00405920
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4fa210
mov dword [ebp - 0xcc], 1
jmp 0x4fa21a
mov dword [ebp - 0xcc], 0
mov dl, byte [ebp - 0xcc]
mov byte [ebp - 0x65], dl
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xa4]
and eax, 2
je 0x4fa247
and dword [ebp - 0xa4], 0xfffffffd
lea ecx, [ebp - 0xa0]
call fcn.00405980
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0xa4]
and ecx, 1
je 0x4fa26b
and dword [ebp - 0xa4], 0xfffffffe
lea ecx, [ebp - 0x84]
call fcn.00405980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405980
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d69b
mov esp, ebp
pop ebp
ret