joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e640
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3f
push 0
push 0
dec ecx
jne 0x48e648
push ecx
xor eax, eax
push ebp
push 0x48e7f8
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
lea edx, [ebp - 0x1d0]
mov eax, 7
call fcn.0048e5a0
mov eax, dword [ebp - 0x1d0]
call fcn.00404fec
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x1d8]
mov eax, 7
call fcn.0048e4f0
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x1e0]
mov edx, dword [0x4a06f0]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1dc]
xor edx, edx
call fcn.0040995c
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1e4]
mov dx, 4
xor eax, eax
call fcn.0048e358
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d4]
mov edx, 3
call fcn.00404eac
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1cc]
call fcn.00402f24
lea eax, [ebp - 0x1cc]
call fcn.00402cc0
call fcn.00402894
lea ecx, [ebp - 0x1e8]
mov dx, 0x2c
mov ax, 4
call fcn.0048e358
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1cc]
call fcn.00405208
call fcn.00403810
call fcn.00402894
lea ecx, [ebp - 0x1f0]
mov dx, 0xe
mov ax, 0x30
call fcn.0048e358
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x1f8]
mov edx, dword [0x4a0310]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x1f8]
call fcn.00409244
lea edx, [ebp - 0x1f4]
call fcn.00459248
push dword [ebp - 0x1f4]
lea eax, [ebp - 0x1fc]
mov edx, dword [0x4a06f0]
mov edx, dword [edx]
call fcn.00404d24
push dword [ebp - 0x1fc]
push 0x48e80c
lea eax, [ebp - 0x1ec]
mov edx, 4
call fcn.00404eac
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1cc]
call fcn.00405208
call fcn.00403810
call fcn.00402894
lea eax, [ebp - 0x1cc]
call fcn.004030c8
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e7ff
lea eax, [ebp - 0x1fc]
mov edx, 0xc
call fcn.00404b50
ret

Function at 0x48f1f4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov eax, edi
call fcn.00404b2c
push 0
call sub.user32.dll_OpenClipboard
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x48f23e
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
je 0x48f239
push ebx
call sub.kernel32.dll_GlobalLock
mov esi, eax
test esi, esi
je 0x48f239
mov eax, edi
mov edx, esi
call fcn.00404d24
push ebx
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop edi
pop esi
pop ebx
ret
Function at 0x48f5c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetPriorityClass
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetThreadPriority
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push 0xa
call sub.kernel32.dll_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_SetThreadPriority
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_SetPriorityClass
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x48f66c]
call fcn.00402c10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48f670
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f6d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004091c4
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x48f6e8
call fcn.00404e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f6da
lea eax, [ebp - 0x24]
call fcn.00404b2c
ret
Function at 0x48f778
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x48f911
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x48f8ef
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4138d4]
call fcn.00403d28
mov dword [ebp - 8], eax
mov bl, 0x43
mov eax, ebx
call fcn.0048f6ec
test al, al
je 0x48f8c5
mov byte [ebp - 3], bl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
lea eax, [ebp - 3]
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
cmp esi, 2
jne 0x48f803
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0xc]
mov edx, 0x48f928
call fcn.00404df4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 3
jne 0x48f82a
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x10]
mov edx, 0x48f934
call fcn.00404df4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 4
jne 0x48f851
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x14]
mov edx, 0x48f940
call fcn.00404df4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 5
jne 0x48f878
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x18]
mov edx, 0x48f94c
call fcn.00404df4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp esi, 6
jne 0x48f89f
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x1c]
mov edx, 0x48f928
call fcn.00404df4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test esi, esi
jne 0x48f8c5
lea eax, [ebp - 0x20]
mov edx, ebx
call fcn.00404d14
lea eax, [ebp - 0x20]
mov edx, 0x48f928
call fcn.00404df4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp bl, 0x5b
jne 0x48f7b7
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f8f6
mov eax, dword [ebp - 8]
call fcn.00403d58
ret
Function at 0x490cb4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
mov eax, dword [ebp - 8]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x490e91
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x490e5a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4138d4]
call fcn.00403d28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
push 0
call sub.user32.dll_FindWindowA
mov ebx, eax
push ebx
call sub.user32.dll_IsWindow
test eax, eax
jne 0x490d31
call fcn.00404590
jmp 0x490e61
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0x418
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x490d5e
call fcn.00404590
jmp 0x490e61
lea eax, [ebp - 0x4c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
push 0x1c
lea eax, [ebp - 0x68]
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_VirtualQueryEx
mov esi, dword [ebp - 0x5c]
cmp dword [ebp - 0x58], 0x1000
jne 0x490e2a
cmp dword [ebp - 0x54], 4
jne 0x490e2a
lea eax, [ebp - 0x24]
mov edx, esi
call fcn.00405178
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, dword [ebp - 0x24]
call fcn.00404fec
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x490e2a
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00405130
test eax, eax
je 0x490e2a
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00405130
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
lea edx, [ebp - 0x6c]
mov eax, 2
call fcn.00409214
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x400
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.0040504c
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
add eax, esi
mov ebx, eax
cmp eax, dword [ebp - 0x10]
jb 0x490d70
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490e61
mov eax, dword [ebp - 0x28]
call fcn.00403d58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490e98
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00404b50
lea eax, [ebp - 0x24]
call fcn.00404b2c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b50
ret
Function at 0x490ea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fdc
mov eax, dword [ebp - 8]
call fcn.00404fdc
xor eax, eax
push ebp
push 0x491052
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x49101b
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4138d4]
call fcn.00403d28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
call fcn.00490bb8
push eax
push 0
push 0x418
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x490f1f
call fcn.00404590
jmp 0x491022
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
push 0x1c
lea eax, [ebp - 0x64]
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_VirtualQueryEx
mov esi, dword [ebp - 0x58]
cmp dword [ebp - 0x54], 0x1000
jne 0x490feb
cmp dword [ebp - 0x50], 4
jne 0x490feb
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00405178
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, dword [ebp - 0x20]
call fcn.00404fec
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x490feb
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00405130
test eax, eax
je 0x490feb
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00405130
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x18]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
lea edx, [ebp - 0x68]
mov eax, 2
call fcn.00409214
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x400
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
call fcn.0040504c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
add eax, esi
mov ebx, eax
cmp eax, dword [ebp - 0x10]
jb 0x490f31
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491022
mov eax, dword [ebp - 0x24]
call fcn.00403d58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491059
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00404b50
lea eax, [ebp - 0x20]
call fcn.00404b2c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b50
ret
Function at 0x496d44
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x5f]
xor eax, eax
push ebp
push 0x496e58
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x160]
mov eax, dword [0x4a6a28]
mov eax, dword [eax]
call fcn.00403ca8
lea edx, [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404d90
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0x32
push edi
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x164]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.00404f38
jne 0x496e20
push 0x5a
push edi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x168]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov eax, dword [ebp - 0x168]
push eax
lea eax, [ebp - 0x16c]
mov edx, dword [0x4a013c]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x16c]
pop edx
call fcn.00405130
test eax, eax
je 0x496e20
mov esi, ebx
jmp 0x496e32
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x496dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496e5f
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404b50
lea eax, [ebp - 4]
call fcn.00404b2c
ret

Function at 0x496e68
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], eax
lea edi, [ebp - 0x5f]
xor eax, eax
push ebp
push 0x496f93
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x160]
mov eax, dword [0x4a6a28]
mov eax, dword [eax]
call fcn.00403ca8
lea edx, [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404d90
push 0
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0x32
push edi
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x164]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.00404f38
jne 0x496f5b
push 0x5a
push edi
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x16c]
mov edx, dword [0x4a013c]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.004585f0
mov eax, dword [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
mov edx, edi
mov ecx, 0x5b
call fcn.00404d9c
mov edx, dword [ebp - 0x170]
pop eax
call fcn.00405130
test eax, eax
je 0x496f5b
mov esi, ebx
jmp 0x496f6d
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x496ed6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496f9a
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00404b50
lea eax, [ebp - 4]
call fcn.00404b2c
ret
Function at 0x497030
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x497038
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x497239
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [0x4a0310]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x1c]
call fcn.00409244
lea edx, [ebp - 0x18]
call fcn.00459248
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [0x4a06f0]
mov edx, dword [edx]
call fcn.00404d24
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 4]
pop edx
call fcn.00404e38
lea eax, [ebp - 0x28]
mov edx, dword [0x4a042c]
mov edx, dword [edx]
call fcn.00404d24
mov eax, dword [ebp - 0x28]
call fcn.00409244
lea edx, [ebp - 0x24]
call fcn.00459248
push dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
mov edx, dword [0x4a06f0]
mov edx, dword [edx]
mov dl, byte [edx]
call fcn.00404d14
push dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov edx, dword [0x4a06f0]
mov edx, dword [edx]
call fcn.00404d24
push dword [ebp - 0x30]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404eac
mov eax, dword [ebp - 8]
call fcn.00409668
test al, al
jne 0x49713a
xor eax, eax
push ebp
push 0x497130
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.00404fec
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call sub.kernel32.dll_CopyFileA
push 4
push ebx
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49713a
xor eax, eax
push ebp
push 0x4971f9
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00496e68
test eax, eax
jne 0x4971ef
push 0
mov eax, dword [ebp - 8]
call fcn.00404fec
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00404d24
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x413af8]
call fcn.004182c4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4971e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x497010]
call fcn.00405e8c
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0041803c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
call fcn.0048acb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4971ef
mov eax, dword [ebp - 0x10]
call fcn.00403d58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x497203
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497240
lea eax, [ebp - 0x34]
mov edx, 8
call fcn.00404b50
lea eax, [ebp - 0xc]
mov edx, dword [0x497010]
call fcn.00405e98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b50
ret
Function at 0x531c7b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x531d00
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0050cdc0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x531cc3
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x531ce5
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x531d5b
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.005319cb
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x531d47
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x531d5b
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x531c84
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5f6115e8
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x14b43e8d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10004517
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov eax, dword fs:[eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x64]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
je 0x1000459a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
push 2
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x30]
movzx eax, word [ecx + eax]
push eax
call fcn.100044ac
pop ecx
movzx eax, ax
cmp eax, 0x6b
jne 0x10004590
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [eax + 4], ecx
jmp 0x1000459a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
jmp 0x10004555
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], ecx
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x1c]
add ecx, dword [edx + eax + 0x78]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x18]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x20]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], eax
mov esp, ebp
pop ebp
ret

Function at 0x10024fbe
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edx, edx
jle 0x10024fec
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
shr esi, 8
xor esi, edi
shl eax, 8
and esi, 0xff
xor ax, word [esi*2 + 0x10097400]
dec edx
inc ecx
movzx eax, ax
test edx, edx
jg 0x10024fc6
pop edi
pop esi
ret