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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x496a90
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4965d0]
call fcn.00496aac
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x496a69
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x496aa4
call fcn.0040aa64
mov edx, dword [ebp - 8]
mov eax, dword [0x4b9950]
mov eax, dword [eax]
call fcn.0044aa18
call fcn.0049662c
call sub.user32.dll_GetFocus
mov edx, dword [0x4b9950]
mov edx, dword [edx]
cmp eax, dword [edx + 0x24]
jne 0x496a4c
push 0x7a
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x496a53
call sub.user32.dll_WaitMessage
jmp 0x496a29
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496a70
mov eax, dword [ebp - 4]
call fcn.00402e48
ret

Function at 0x49a9bc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49a9c4
push ecx
push ebx
xor eax, eax
push ebp
push 0x49ab2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.004756d4
mov edx, dword [ebp - 0x10]
mov eax, 0x4bb364
call fcn.00403b0c
lea eax, [ebp - 0x14]
mov ecx, dword [0x4bb364]
mov edx, 0x49ab40
call fcn.00403d84
mov eax, dword [ebp - 0x14]
call fcn.00478ff0
mov eax, dword [0x4b99ec]
cmp byte [eax], 0
je 0x49aa1f
mov eax, dword [0x4bb364]
call fcn.00478798
lea edx, [ebp - 0x18]
mov eax, dword [0x4bb364]
call fcn.0044c074
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x49ab68
call fcn.00403d84
push 0
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x49aab5
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.004737e0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00409be8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.0044f67c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov ecx, 2
mov al, 0x60
call fcn.004737b0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x408920]
call fcn.0040c440
call fcn.00403588
lea eax, [ebp - 0xc]
mov ecx, 0x49ab78
mov edx, dword [ebp - 4]
call fcn.00403d84
mov edx, dword [ebp - 0xc]
mov eax, 0x49ab90
call fcn.0049a964
lea eax, [ebp - 8]
call fcn.00479cd8
cmp dword [ebp - 8], 0
je 0x49ab03
lea eax, [ebp - 0xc]
mov ecx, 0x49aba4
mov edx, dword [ebp - 4]
call fcn.00403d84
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0049a964
mov eax, dword [ebp - 0xc]
call fcn.00479d48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ab32
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00403adc
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00403adc
ret
Function at 0x49bf5c
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
push ebp
cmp byte [0x4bb4cb], 0
sete byte [0x4bb5ac]
cmp dword [0x4bb2e8], 0
je 0x49bfba
mov eax, dword [0x4bb524]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x49bfba
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [0x4bb524]
call fcn.00410df0
mov edx, dword [eax]
mov eax, dword [0x4bb2e8]
call fcn.00409600
test eax, eax
jne 0x49bfb6
mov eax, esi
call fcn.0049bd74
mov byte [0x4bb5ac], 0
jmp 0x49c08f
inc esi
dec edi
jne 0x49bf87
mov al, byte [0x4bb4cc]
sub al, 1
jb 0x49bfc7
je 0x49bfd0
jmp 0x49bfd9
call fcn.0044f290
mov ebp, eax
jmp 0x49bfdb
call sub.kernel32.dll_GetUserDefaultLangID
mov ebp, eax
jmp 0x49bfdb
xor ebp, ebp
test bp, bp
je 0x49c078
mov eax, dword [0x4bb524]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x49c027
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [0x4bb524]
call fcn.00410df0
mov ebx, eax
movzx eax, bp
cmp eax, dword [ebx + 0x28]
jne 0x49c023
cmp dword [ebx + 0x2c], 0
je 0x49c01a
call sub.kernel32.dll_GetACP
cmp eax, dword [ebx + 0x2c]
jne 0x49c023
mov eax, esi
call fcn.0049bd74
jmp 0x49c08f
inc esi
dec edi
jne 0x49bff4
mov eax, dword [0x4bb524]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x49c078
inc edi
xor esi, esi
mov edx, esi
mov eax, dword [0x4bb524]
call fcn.00410df0
mov ebx, eax
mov eax, dword [ebx + 0x28]
and eax, 0x3ff
mov edx, ebp
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x49c074
cmp dword [ebx + 0x2c], 0
je 0x49c06b
call sub.kernel32.dll_GetACP
cmp eax, dword [ebx + 0x2c]
jne 0x49c074
mov eax, esi
call fcn.0049bd74
jmp 0x49c08f
inc esi
dec edi
jne 0x49c037
xor eax, eax
call fcn.0049bd74
cmp byte [0x4bb4cb], 2
jne 0x49c08f
mov byte [0x4bb5ac], 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49ca1c
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x4bb5f5], 1
call fcn.00477188
test al, al
jne 0x49ca68
push 5
mov eax, dword [0x4b9950]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4b9950]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 1
mov eax, dword [0x4b995c]
mov eax, dword [eax + 0x108]
mov cl, 2
xor edx, edx
call fcn.0049c928
ret
Function at 0x49d798
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x49d971
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403df8
xor eax, eax
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx], eax
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 8]
call fcn.00403efc
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x49d859
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x49d83c
cmp byte [ebp + 0x10], 0
je 0x49d820
test al, 2
jne 0x49d83c
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0045207c
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x49d80c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
cmp byte [ebp + 0xc], 0
je 0x49d94b
lea eax, [ebp - 0x154]
push eax
push esi
push edi
push 0x49d98c
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00403df8
mov eax, dword [ebp - 0x158]
call fcn.00403efc
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x49d94b
xor eax, eax
push ebp
push 0x49d944
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x154]
call fcn.0049b46c
test al, al
je 0x49d919
mov eax, dword [ebp + 0x14]
push eax
mov al, byte [ebp + 0x10]
push eax
mov al, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00403ce8
push dword [ebp - 0x160]
push 0x49d998
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00403df8
mov edx, dword [ebp - 0x15c]
mov ecx, dword [ebp - 4]
mov eax, esi
call fcn.0049d798
pop ecx
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0045207c
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x49d8ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d94b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d978
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.00403adc
lea eax, [ebp - 8]
call fcn.00403ab8
ret
Function at 0x4a0f4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x4b95c4]
cmp dword [eax], 0
je 0x4a0ff4
mov eax, dword [0x4b95c4]
mov eax, dword [eax]
call fcn.00433540
test al, al
je 0x4a0ff4
mov eax, dword [0x4b95c4]
mov eax, dword [eax]
cmp byte [eax + 0x168], 0
je 0x4a0f9e
cmp byte [ebx + 0x2e1], 0
jne 0x4a0f9e
mov eax, dword [0x4b9950]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4a0fa2
xor eax, eax
jmp 0x4a0fa4
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x4b95c4]
mov eax, dword [eax]
call fcn.00433244
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x10000000
setne al
cmp bl, al
je 0x4a0ff4
test bl, bl
je 0x4a0fe0
push 5
mov eax, dword [0x4b95c4]
mov eax, dword [eax]
call fcn.00433244
push eax
call sub.user32.dll_ShowWindow
jmp 0x4a0ff4
push 0
mov eax, dword [0x4b95c4]
mov eax, dword [eax]
call fcn.00433244
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4a10a4
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov byte [0x4bb5b0], 0
push 0x4a117c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4a118c
push ebx
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x4a1130
lea edx, [esp + 4]
push edx
call eax
push 0x4a11a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
test esi, esi
je 0x4a113a
push esp
call sub.kernel32.dll_GetCurrentProcess
push eax
call esi
test eax, eax
je 0x4a113a
cmp dword [esp], 0
je 0x4a113a
call fcn.0047436c
test al, al
je 0x4a113a
push 0x4a11b0
push ebx
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x4a113a
push 0x4a11cc
push 0x4a11dc
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x4a113a
mov byte [0x4bb5b0], 1
jmp 0x4a113a
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ax, word [esp + 4]
sub ax, 1
jb 0x4a1153
sub ax, 5
je 0x4a115c
sub ax, 3
je 0x4a1165
jmp 0x4a116e
mov byte [0x4b9140], 1
jmp 0x4a1175
mov byte [0x4b9140], 3
jmp 0x4a1175
mov byte [0x4b9140], 2
jmp 0x4a1175
mov byte [0x4b9140], 0
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x4a11ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x4a125c
mov edx, 0x80000002
xor eax, eax
call fcn.0044ed04
test eax, eax
jne 0x4a1255
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4a1288
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a124c
cmp dword [ebp - 0xc], 4
jne 0x4a124c
cmp dword [ebp - 8], 4
jne 0x4a124c
mov ax, word [ebp - 0x10]
mov word [0x4bb5c4], ax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret
Function at 0x4a13c8
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffed0
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4a147a
xor eax, eax
mov al, byte [esp + 4]
shl eax, 0x18
xor edx, edx
mov dl, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x4bb5c0], eax
cmp byte [0x4bb5af], 0
je 0x4a147a
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x4a146b
mov dword [esp + 0x94], 0x9c
lea eax, [esp + 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4a147a
xor eax, eax
mov al, byte [esp + 0x128]
shl eax, 8
xor edx, edx
mov dl, byte [esp + 0x12a]
or ax, dx
mov word [0x4bb5c4], ax
mov al, byte [esp + 0x12e]
mov byte [0x4bb5c6], al
mov ax, word [esp + 0x12c]
mov word [0x4bb5c8], ax
jmp 0x4a147a
cmp eax, 4
jne 0x4a147a
call fcn.004a11ec
call fcn.004a1294
add esp, 0x130
ret
Function at 0x4ab5d8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4ab779
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x10]
mov ecx, 0x200
xor edx, edx
call fcn.00403ba0
push 0
xor eax, eax
mov al, byte [ebp + 8]
mov eax, dword [eax*4 + 0x4b9568]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00403efc
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.0044ed04
test eax, eax
jne 0x4ab75e
xor edx, edx
push ebp
push 0x4ab753
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [esi + 4]
mov eax, dword [esi]
xor ecx, ecx
call fcn.00458848
xor ebx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00403d38
mov dword [ebp - 0x18], eax
cmp byte [ebp + 8], 0
je 0x4ab690
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
call fcn.00403f08
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
jmp 0x4ab6af
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
call fcn.00403f08
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumValueA
sub eax, 1
jb 0x4ab6fd
sub eax, 0xe9
je 0x4ab6c2
sub eax, 0x19
je 0x4ab73c
jmp 0x4ab6f6
mov eax, dword [ebp - 0x10]
call fcn.00403d38
cmp eax, 0x10000
jl 0x4ab6db
call fcn.00403628
jmp 0x4ab75e
mov eax, dword [ebp - 0x10]
call fcn.00403d38
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.00403ba0
jmp 0x4ab65e
call fcn.00403628
jmp 0x4ab75e
lea ecx, [ebx + 1]
mov edx, dword [esi + 4]
mov eax, dword [esi]
call fcn.00458848
lea eax, [ebp - 0x10]
call fcn.00403f08
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.00403ba0
lea ecx, [ebp - 0x24]
mov eax, esi
mov edx, ebx
call fcn.004654f4
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.00457760
inc ebx
jmp 0x4ab65e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab75a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab780
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403adc
ret
Function at 0x4b43f8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b44a0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b44b8
push ebx
push 0x4b44c4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403df8
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402acc
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4b447e
mov eax, dword [0x4b995c]
mov eax, dword [eax + 0x188]
call fcn.004b4350
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b44a7
lea eax, [ebp - 4]
call fcn.00403ab8
ret
Function at 0x4b4cbc
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b4ea7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0044e91c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00475570
test al, al
jne 0x4b4d29
xor eax, eax
push ebp
push 0x4b4d1f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.004758c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4d29
push 0
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
mov eax, dword [0x4bb6b8]
call fcn.00403efc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x4b4d58
mov eax, dword [0x4b995c]
mov eax, dword [eax + 0x184]
call fcn.004b4350
push 0x80
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
mov eax, dword [0x4ba4dc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4b4eb8
push 0x4b4ebc
push 0
call sub.user32.dll_CreateWindowExA
mov dword [ebp - 8], eax
push 0x4b4504
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x4bb6e4], eax
xor eax, eax
push ebp
push 0x4b4e70
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x4b9950]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.0044e3f4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4b4ecc
call fcn.0040aa64
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.0044e2dc
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00403d40
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004b43f8
mov dword [ebp - 0xc], eax
call fcn.004b44c8
test al, al
jne 0x4b4e50
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4b4e2e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e77
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x4b5d14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b5fcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b9950]
mov eax, dword [eax]
mov edx, 0x4b5fe4
call fcn.0044aa18
push 5
mov eax, dword [0x4b9950]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x4b5f92
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0049cc78
lea eax, [ebp - 0x10]
call fcn.0044e86c
mov eax, dword [ebp - 0x10]
call fcn.0040a2d8
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0044e3f4
mov edx, dword [ebp - 0x14]
mov eax, 0x4bb6b8
call fcn.00403b0c
call fcn.004b46a8
lea ecx, [ebp - 0x18]
mov edx, 0x4b5ff8
mov eax, dword [0x4bb6b8]
call fcn.0044c118
mov edx, dword [ebp - 0x18]
mov eax, 0x4bb6bc
call fcn.00403b0c
lea ecx, [ebp - 0x1c]
mov edx, 0x4b6008
mov eax, dword [0x4bb6b8]
call fcn.0044c118
mov edx, dword [ebp - 0x1c]
mov eax, 0x4bb6c0
call fcn.00403b0c
push 2
push 0
push 1
mov ecx, dword [0x4bb6b8]
mov dl, 1
mov eax, dword [0x472750]
call fcn.00472a3c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b5e69
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.00472a00
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.004729d8
cmp dword [ebp - 0xc], 0x67734d49
je 0x4b5e44
mov cl, 1
xor edx, edx
mov eax, dword [0x4bb6c0]
call fcn.00473934
jmp 0x4b5e53
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x4bb6b8]
call fcn.00473934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5e70
mov eax, dword [ebp - 4]
call fcn.00402e48
ret
Function at 0x4b6090
Capabilities:
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b61cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x4b61e4
mov edx, ebx
call fcn.00403d84
mov eax, dword [ebp - 0x14c]
call fcn.00403efc
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4b61a7
xor eax, eax
push ebp
push 0x4b61a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4b61f4
lea eax, [ebp - 0x11c]
mov ecx, 5
call fcn.0040a460
test eax, eax
jne 0x4b6171
test byte [ebp - 0x148], 0x10
jne 0x4b6171
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00403ce8
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403d84
mov esi, dword [ebp - 0x148]
test esi, 1
je 0x4b6169
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 8]
call fcn.00403efc
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [ebp - 8]
call fcn.00409db8
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4b6101
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b61a7
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b61d4
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00403adc
lea eax, [ebp - 8]
call fcn.00403ab8
ret
Function at 0x4b61fc
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b62f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00403ab8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0044c518
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4b6308
call fcn.0040aa64
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00403d84
mov eax, dword [ebp - 0x10]
call fcn.00403efc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov esi, eax
cmp esi, 0xffffffff
je 0x4b629a
test esi, 0x10
jne 0x4b62ca
test esi, 1
je 0x4b629a
and esi, 0xfffffffe
push esi
mov eax, dword [ebp - 0x10]
call fcn.00403efc
push eax
call sub.kernel32.dll_SetFileAttributesA
push 1
mov eax, dword [ebp - 0x10]
call fcn.00403efc
push eax
mov eax, dword [ebp - 4]
call fcn.00403efc
push eax
call sub.kernel32.dll_MoveFileExA
test eax, eax
je 0x4b62c4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00403b0c
jmp 0x4b62d7
inc edi
cmp edi, 0xa
je 0x4b62d7
inc ebx
cmp ebx, 0x3e8
jne 0x4b623b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b62f9
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403adc
ret