joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae24c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ae263
add esp, 0xfffffff0
call fcn.00405300
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043b870
mov eax, dword [0x51d918]
cmp byte [eax], 0
jne 0x4ae290
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x51dbac]
cmp word [eax + 2], 0
jne 0x4ae2aa
mov eax, dword [0x51dbac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b0310
mov eax, dword [0x51dca0]
cmp word [eax + 2], 0
jne 0x4ae2c4
mov eax, dword [0x51dca0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b0520
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44429c]
call fcn.0044a45c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b09d4
mov dl, 1
mov eax, dword [0x425464]
call fcn.00404da4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x425464]
call fcn.00404da4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44864c]
call fcn.00453058
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ae4a4
mov eax, dword [0x51da94]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00453458
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b0c94
mov dl, 1
mov eax, dword [0x425464]
call fcn.00404da4
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x51da94]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004125c4
test eax, eax
je 0x4ae3d5
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004123a8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004125a8
test eax, eax
je 0x4ae3ed
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004070f0
push ebx
push 0x4afce0
call fcn.004a44e0
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x51d918]
cmp byte [eax], 0
jne 0x4ae43e
mov eax, ebx
call fcn.004ae618
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b0ec0
mov eax, ebx
call fcn.004b1af4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ae49b
call fcn.00405358
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ae8ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ae98e
cmp dword [ebx + 0x94], 0
jne 0x4ae988
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ae838
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4ae988
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4ae94e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ae988
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004308b8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ae95d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4aebac
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5232c0]
cmp dword [eax + 0x170], 0
je 0x4aed11
test bl, bl
jne 0x4aec5f
cmp dword [esi + 0x9c], 0
jne 0x4aec54
mov eax, esi
call fcn.004b1944
push eax
push 0x4aeab8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4aec25
mov eax, dword [0x5232c0]
cmp byte [eax + 0xd3], 0
je 0x4aec25
mov eax, dword [esi + 0xd8]
call fcn.004084ac
mov edi, eax
cmp edi, 0
jl 0x4aec25
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4aec0e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aec54
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004308b8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aec34
inc dword [esi + 0x9c]
jmp 0x4aed11
cmp dword [esi + 0x9c], 0
jle 0x4aed11
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4aed11
cmp dword [esi + 0x44], 0
je 0x4aecbc
mov eax, dword [0x5232c0]
cmp byte [eax + 0xd3], 0
je 0x4aecbc
mov eax, dword [esi + 0xd8]
call fcn.004084ac
mov edi, eax
cmp edi, 0
jl 0x4aecbc
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4aeca5
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aeceb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004308b8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aeccb
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a23b8]
call fcn.0040866c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4af92c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4af997
cmp byte [ebx + 0xd3], 0
jne 0x4af997
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040702c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4af984
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4af9a4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ef0
jmp 0x4af9a4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ef0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b10a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b1116
mov eax, esi
call fcn.0048ba0c
test al, al
je 0x4b1116
mov eax, dword [ebx + 0x84]
call fcn.0048b660
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b1116
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b110a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048b660
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00482a24
jmp 0x4b1116
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b0ee0
pop esi
pop ebx
ret

Function at 0x4b3f34
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffdf0
mov ebx, eax
mov dword [esp], 0x104
lea eax, [esp + 4]
call fcn.004b3a5c
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameW
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00406aac
add esp, 0x210
pop ebx
ret

Function at 0x4b48b8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
mov eax, esp
call fcn.004b3a5c
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00406aac
add esp, 0x20c
pop ebx
ret

Function at 0x4b49f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b4a79
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathW
test eax, eax
jbe 0x4b4a54
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406aac
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.004b4ba0
jmp 0x4b4a60
mov eax, ebx
mov edx, 0x4b4a8c
call fcn.00406930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4a80
lea eax, [ebp - 0x210]
call fcn.004068f4
ret
Function at 0x4b4a94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b4b29
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20a]
call fcn.004b3a5c
lea eax, [ebp - 0x20a]
push eax
push 0
mov eax, esi
call fcn.00406af4
push eax
lea eax, [ebp - 0x210]
call fcn.004b49f8
mov eax, dword [ebp - 0x210]
call fcn.00406af4
push eax
call sub.kernel32.dll_GetTempFileNameW
test eax, eax
jbe 0x4b4b09
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406aac
jmp 0x4b4b10
mov eax, ebx
call fcn.004068f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4b30
lea eax, [ebp - 0x210]
call fcn.004068f4
ret

Function at 0x4b4ccc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
xor edx, edx
call fcn.00406cfc
je 0x4b4d2d
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b4d26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406af4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4d2d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b4d50
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push esi
mov eax, ebx
call fcn.00406af4
push eax
call sub.kernel32.dll_SetFileAttributesW
cmp eax, 1
sbb eax, eax
inc eax
pop esi
pop ebx
ret
Function at 0x4b8dd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffcc
mov ebx, edx
mov esi, eax
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [0x51de54]
cmp eax, dword [edx]
je 0x4b8dff
push ebx
push esi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete al
neg al
sbb ebp, ebp
jmp 0x4b8eee
xor ebp, ebp
mov dword [esp], esi
mov eax, dword [0x51d958]
mov eax, dword [eax]
mov dword [esp + 4], eax
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
test ebx, ebx
jbe 0x4b8eee
mov eax, ebx
xor edx, edx
cmp edx, 0
jne 0x4b8e2e
cmp eax, 0x64
jbe 0x4b8e42
jmp 0x4b8e30
jle 0x4b8e42
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
jmp 0x4b8e4e
mov eax, ebx
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
push 0x40
mov eax, dword [esp + 0xc]
push eax
push 0
lea eax, [esp + 0xc]
push eax
push 2
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 0xffffffff
je 0x4b8eee
dec eax
je 0x4b8e77
dec eax
je 0x4b8e7c
dec eax
je 0x4b8e85
jmp 0x4b8e97
or ebp, 0xffffffff
jmp 0x4b8eee
xor eax, eax
call fcn.0043ad70
jmp 0x4b8e97
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call sub.user32.dll_PeekMessageW
cmp ebx, 0xffffffff
je 0x4b8ee6
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, esi
sub eax, edi
xor edx, edx
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4b8ebe
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x4b8ed2
jmp 0x4b8ec2
pop edx
pop eax
jle 0x4b8ed2
mov eax, esi
sub eax, edi
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4b8ede
mov eax, ebx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
sub ebx, eax
mov edi, esi
test ebx, ebx
ja 0x4b8e1e
mov eax, ebp
add esp, 0x34
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4b97e0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0043b780
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
pop ebx
ret
Function at 0x4bbe9c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
call fcn.004bc840
test al, al
jne 0x4bbff7
mov eax, dword [ebp + 8]
call fcn.004bc840
test al, al
jne 0x4bbff7
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x4bbff0
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
sub eax, dword [edx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
sub eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004bc36c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx]
mov edx, dword [ebp - 0x18]
call fcn.004bad94
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx + 4]
mov edx, dword [ebp - 0x1c]
call fcn.004bad94
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_IntersectClipRect
mov esi, ebx
test esi, esi
jle 0x4bbfd5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
jle 0x4bbfc3
mov eax, dword [ebp + 8]
push 0xcc0020
mov ecx, dword [eax + 4]
push ecx
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
sub eax, edi
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
sub eax, edx
push eax
push edi
push edx
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
dec ebx
jne 0x4bbf81
mov eax, dword [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
dec esi
jne 0x4bbf69
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbff7
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c5a0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c5a8b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push esi
lea eax, [ebp - 0x20a]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x4c5a6b
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406aac
mov eax, dword [ebp - 0x210]
mov edx, ebx
call fcn.004b4ba0
jmp 0x4c5a72
mov eax, ebx
call fcn.004b49f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5a92
lea eax, [ebp - 0x210]
call fcn.004068f4
ret

Function at 0x4c5c50
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 5
push 0x4c5c84
mov eax, esi
call fcn.00406af4
push eax
mov eax, ebx
call fcn.00406af4
push eax
push 0x4c5c88
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setae al
pop esi
pop ebx
ret

Function at 0x4e59e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e5acf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x28], ebx
mov dword [ebx + 0x24], fcn.004e5af0
mov dword [ebx + 0x30], ebx
mov dword [ebx + 0x2c], 0x4e5ba0
mov dword [ebx + 0x38], ebx
mov dword [ebx + 0x34], fcn.004e5be0
mov eax, dword [ebp + 8]
mov esi, eax
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x3c], eax
lea ecx, [ebx + 0xc]
lea edx, [ebx + 0x10]
mov eax, dword [ebx + 8]
mov esi, dword [eax]
call dword [esi + 0x164]
test al, al
je 0x4e5aa6
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004e5c14
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4e5a6a
sub edx, 0xffffffd0
mov ecx, 0x4e5ae0
call fcn.00409ae8
mov eax, dword [ebp - 0xc]
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4e5a8a
sub edx, 0xffffffd0
mov ecx, 0x4e5ae0
call fcn.00409ae8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, 1
mov eax, dword [ebx + 0xc]
call fcn.00482a24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5ad6
lea eax, [ebp - 0x10]
mov edx, dword [0x4c93ac]
mov ecx, 2
call fcn.00407ca0
lea eax, [ebp - 8]
call fcn.004068f4
ret
Function at 0x4f10a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp - 4]
test ecx, ecx
jne 0x4f10bf
mov ecx, 0x51d080
test edx, edx
jbe 0x4f10e1
mov esi, eax
shr esi, 0x18
and esi, 0xff
movzx edi, byte [ebx]
xor esi, edi
mov esi, dword [ecx + esi*4]
shl eax, 8
xor esi, eax
mov eax, esi
inc ebx
dec edx
jne 0x4f10c3
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4f1798
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test edx, edx
jle 0x4f17a6
xor cl, byte [eax]
dec edx
inc eax
test edx, edx
jg 0x4f179e
mov eax, ecx
ret

Function at 0x4f18ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
test ecx, ecx
jle 0x4f18c0
mov bl, 0xff
sub bl, byte [edx]
xor bl, byte [eax + 4]
mov byte [edx], bl
dec ecx
inc edx
test ecx, ecx
jg 0x4f18b1
pop ebx
ret

Function at 0x4f5ec0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f6013
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.00406a70
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + 0x10]
mov edx, 0x4f6024
call fcn.004f20d8
test al, al
je 0x4f5f12
mov byte [ebx + 0x30], 1
movzx eax, byte [0x4f6040]
mov byte [ebx + 0x31], al
jmp 0x4f5feb
lea eax, [ebp - 8]
call fcn.004068f4
mov ecx, eax
mov edx, 0x4f6048
mov eax, dword [ebp - 4]
call fcn.004b2740
test al, al
je 0x4f5fc9
mov byte [ebx + 0x30], 0
movzx eax, byte [0x4f6054]
mov byte [ebx + 0x31], al
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004f63d0
mov edx, 0x4f605c
mov eax, dword [ebp - 4]
call fcn.004b26ec
test al, al
je 0x4f5f9d
mov eax, dword [ebx + 0x34]
mov edx, dword [eax]
call dword [edx + 8]
test al, al
jne 0x4f5feb
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x34]
call fcn.004f8d2c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xf
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, 0x4f6078
mov dl, 1
mov eax, dword [0x40d480]
call fcn.00416824
call fcn.004058a4
jmp 0x4f5feb
mov edx, 0x4f60b8
mov eax, dword [ebp - 4]
call fcn.004b26ec
test al, al
je 0x4f5fb2
or byte [ebx + 0x31], 2
mov edx, 0x4f60d0
mov eax, dword [ebp - 4]
call fcn.004b26ec
test al, al
je 0x4f5feb
or byte [ebx + 0x31], 8
jmp 0x4f5feb
mov byte [ebx + 0x30], 0
movzx eax, byte [0x4f60e0]
mov byte [ebx + 0x31], al
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004f63d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f601a
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040690c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040690c
ret
Function at 0x4f9080
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
xor ecx, ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f91bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406cfc
setne bl
test bl, bl
je 0x4f91a2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004f937c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x4f91a2
xor edx, edx
push ebp
push 0x4f918e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryInfoKeyW
call fcn.004f8ff8
test al, al
je 0x4f9178
mov ebx, dword [ebp - 0xc]
dec ebx
cmp ebx, 0
jl 0x4f9178
mov dword [ebp - 0x10], 0x40
lea eax, [ebp - 0x94]
xor ecx, ecx
mov edx, 0x80
call fcn.004047a0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x4f9172
lea eax, [ebp - 0x98]
lea edx, [ebp - 0x94]
mov ecx, 0x40
call fcn.00406aac
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x14]
call fcn.004f9080
dec ebx
cmp ebx, 0xffffffff
jne 0x4f9114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9195
mov eax, dword [ebp - 0x14]
call fcn.004f925c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f91c2
lea eax, [ebp - 0x98]
call fcn.004068f4
ret

Function at 0x4f9204
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
test ebx, ebx
je 0x4f9252
mov dword [esp + 8], 4
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0
mov eax, esi
call fcn.00406af4
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
call fcn.004f8ff8
test al, al
je 0x4f924d
cmp dword [esp + 4], 4
je 0x4f9252
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x4f9268
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov ebp, edx
mov esi, eax
test esi, esi
setne al
test al, al
je 0x4f92af
mov ebx, edi
test ebx, ebx
je 0x4f928a
sub ebx, 4
mov eax, dword [ebx]
shr eax, 1
mov ebx, eax
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, edi
call fcn.00406af4
push eax
push 1
push 0
mov eax, ebp
call fcn.00406af4
push eax
push esi
call sub.advapi32.dll_RegSetValueExW
call fcn.004f8ff8
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f9b94
Capabilities:
Delete file
Move file

Disassembly:
push ebx
mov ebx, eax
push 4
push 0
mov eax, ebx
call fcn.00406af4
push eax
call sub.kernel32.dll_MoveFileExW
pop ebx
ret