joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4816bc
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x481859
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402b9c
cmp word [ebx + 0xa2], 0
je 0x481705
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x481719
lea esi, [ebp - 8]
jmp 0x48171b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x481728
xor edi, edi
jmp 0x481735
mov eax, dword [ebx + 0x80]
call fcn.00404e5c
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404e5c
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00480e24
mov eax, dword [ebp - 0x14]
call fcn.00404e5c
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404e5c
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404e5c
push eax
mov eax, ebx
call fcn.00480f58
push eax
mov eax, ebx
call fcn.00480f2c
push eax
mov eax, ebx
call fcn.00480ee0
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00480cf0
mov eax, dword [ebp - 0x18]
call fcn.00404e5c
push eax
mov eax, dword [ebx + 8]
call fcn.00404e5c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x4817be
call fcn.0040e268
xor edx, edx
push ebp
push 0x481837
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4817fc
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x4817f2
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x481820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48183e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x481868
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x481894
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404e5c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4818b9
call fcn.0040e268
xor eax, eax
push ebp
push 0x4818f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x4818d9
call fcn.0040e268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4818f7
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x485794
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4857c2
mov eax, ebx
call fcn.00486248
cmp dword [ebx + 0x40], 0
je 0x4857bb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x485833
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x485825
cmp dword [ebx + 8], 0
je 0x4857e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4857f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x485825
cmp dword [ebx + 8], 0
je 0x4857d7
cmp eax, 3
je 0x485809
dec eax
jne 0x4857d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4857d7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4857d7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x485851
cmp dword [ebx + 0x14], 0xcc
je 0x485851
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048585c
pop ebx
ret
Function at 0x49748c
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x49761a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4975f8
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 4]
push eax
push edx
push 0
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
je 0x4974d9
call fcn.004043e4
jmp 0x4975ff
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
call fcn.00402764
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x49753d
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x10]
call fcn.00402784
mov eax, dword [ebp - 0xc]
call fcn.00402764
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x4975b7
test eax, eax
je 0x49754d
call fcn.0040cb40
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 8], 0
jbe 0x4974eb
cmp dword [ebx + 8], 3
jne 0x49759d
cmp dword [ebx + 4], 1
jne 0x49759d
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x49759d
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00409cc8
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x40]
call fcn.004049f0
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x18]
mov edx, 0x497630
call fcn.00404ca8
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4a5860]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, ebx
mov eax, esi
call fcn.0049748c
add ebx, 0x20
dec dword [ebp - 8]
cmp dword [ebp - 8], 0
ja 0x497556
jmp 0x4974eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4975ff
xor eax, eax
push ebp
push 0x4975ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetCloseEnum
mov eax, dword [ebp - 0x10]
call fcn.00402784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4975f7
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497621
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004049c0
ret
Function at 0x497c14
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
lea eax, [ebp - 0x170]
mov edx, dword [0x407f74]
call fcn.00405374
xor eax, eax
push ebp
push 0x497e9b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x497e5a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4a7cfc]
mov edx, dword [eax]
call dword [edx + 8]
lea edx, [ebp - 8]
mov eax, dword [0x4a5858]
mov eax, dword [eax]
call fcn.004a0bcc
xor edx, edx
push ebp
push 0x497e49
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x174]
mov ecx, 0x497eb4
mov edx, dword [ebp - 8]
call fcn.00404ca8
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x170]
xor edx, edx
call fcn.004096c8
test eax, eax
jne 0x497e30
xor eax, eax
push ebp
push 0x497e13
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00404ca8
mov eax, dword [ebp - 0x178]
call fcn.0049bd58
test al, al
je 0x497e09
lea eax, [ebp - 0x17c]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.00404ca8
mov eax, dword [ebp - 0x17c]
call fcn.00404e5c
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x497e09
push 0x497ebc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
push 0x497ecc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
push 0x497ed8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
push 0x497ee4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x18], eax
push 0x497ef4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
cmp dword [ebp - 0xc], 0
je 0x497e03
cmp dword [ebp - 0x14], 0
je 0x497e03
cmp dword [ebp - 0x10], 0
je 0x497e03
cmp dword [ebp - 0x18], 0
je 0x497e03
test edi, edi
je 0x497e03
mov dl, 1
mov eax, dword [0x49bb34]
call fcn.00403b7c
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
lea eax, [esi + 0x1c]
mov edx, dword [ebp - 0x164]
mov ecx, 0xff
call fcn.00404c38
mov edx, esi
mov eax, dword [0x4a7cfc]
call fcn.004156b8
cmp byte [ebp - 1], 0
je 0x497e09
call edi
test al, al
jne 0x497e09
mov eax, dword [0x4a5b78]
mov eax, dword [eax]
call fcn.00404e5c
push eax
mov eax, dword [0x4a5654]
mov eax, dword [eax]
call fcn.00404e5c
push eax
call dword [ebp - 0x10]
jmp 0x497e09
push ebx
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x497e1d
lea eax, [ebp - 0x170]
call fcn.00409718
test eax, eax
je 0x497cbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497e50
lea eax, [ebp - 0x170]
call fcn.0040973c
ret
Function at 0x498480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x498488
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e4c
xor eax, eax
push ebp
push 0x498641
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49861c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4136e8]
call fcn.00403b7c
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 8]
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 8]
call fcn.0040911c
sub eax, 1
jb 0x4984ff
je 0x498544
dec eax
je 0x498589
dec eax
je 0x4985cb
jmp 0x49860b
push 1
push 0
lea ecx, [ebp - 0xc]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x10]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00404e5c
push eax
push 0x498650
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x49860b
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00404e5c
push eax
push 0x498650
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x49860b
push 3
push 0
lea ecx, [ebp - 0x1c]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x20]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00404e5c
push eax
push 0x498650
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x49860b
push 6
push 0
lea ecx, [ebp - 0x24]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x28]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00404e5c
push eax
push 0x498650
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.00403bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498626
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498648
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004049c0
ret

Function at 0x49bc64
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49bcae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x49bccc
mov eax, dword [ebp - 8]
call fcn.0049bba8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49bcb8
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x49d114
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49d1ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404c0c
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebx]
call fcn.00404c5c
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00404ebc
mov eax, dword [ebp - 0x104]
mov edx, 0x49d1c0
call fcn.00404da8
je 0x49d193
mov eax, ebx
mov edx, 0x49d1c0
call fcn.00404c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d1b3
lea eax, [ebp - 0x104]
call fcn.0040499c
ret
Function at 0x49d5c4
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
push ebp
push 0x49d6d7
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 1], 0
push eax
push edx
mov eax, dword [0x4a6664]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x49d6cd
push ebx
mov eax, dword [0x4a6664]
push eax
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x49d6cd
push ebx
mov eax, dword [0x4a6664]
push eax
call sub.kernel32.dll_SizeofResource
mov ebx, eax
dec edi
je 0x49d62b
dec edi
je 0x49d6a8
jmp 0x49d6cd
push 0
push 0x20
push 2
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00404e5c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x49d6cd
xor eax, eax
push ebp
push 0x49d6a1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
call sub.kernel32.dll_LockResource
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x49d681
cmp ebx, dword [ebp - 8]
je 0x49d685
xor eax, eax
jmp 0x49d687
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d6cd
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.00404fe8
mov eax, dword [ebp + 8]
call fcn.00404eb4
push eax
push esi
call sub.kernel32.dll_LockResource
mov ecx, ebx
pop edx
call fcn.00402a10
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d6e1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x49d6f0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], dl
mov edi, eax
mov esi, 3
mov ebx, 0x4a54bc
mov al, byte [ebx]
cmp al, 7
ja 0x49d713
and eax, 0x7f
bt dword [ebp - 1], eax
jae 0x49d730
push 0
push 0
push 0
xor eax, eax
mov al, byte [ebx + 1]
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
mov al, byte [ebx + 1]
push eax
call sub.user32.dll_keybd_event
add ebx, 2
dec esi
jne 0x49d706
xor esi, esi
push 0
push esi
push 0
movzx eax, di
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
mov ebx, edi
push ebx
call sub.user32.dll_keybd_event
or esi, 2
push 0
push esi
push 0
movzx eax, di
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
mov esi, 0xfffffffd
mov edi, 0x4a54c0
mov al, byte [edi]
cmp al, 7
ja 0x49d77e
and eax, 0x7f
bt dword [ebp - 1], eax
jae 0x49d79a
push 0
push 2
push 0
mov bl, byte [edi + 1]
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
sub edi, 2
inc esi
jne 0x49d771
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49da10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x49da29
mov eax, dword [0x4a5978]
mov eax, dword [eax]
call fcn.00457114
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x49da1d
pop esi
pop ebx
ret

Function at 0x49fc1c
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 [0x49fcbc]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49fcc0
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 0x49fd23
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, 0xa
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040909c
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x49fd38
call fcn.00404ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fd2a
lea eax, [ebp - 0x24]
call fcn.0040499c
ret

Function at 0x49fd3c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49fdd4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404c0c
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebx]
call fcn.00404c5c
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00404ebc
mov eax, dword [ebp - 0x104]
mov edx, 0x49fde8
call fcn.00404da8
je 0x49fdbb
mov eax, ebx
mov edx, 0x49fde8
call fcn.00404c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fddb
lea eax, [ebp - 0x104]
call fcn.0040499c
ret
Function at 0x4a0934
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor ecx, ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e4c
mov eax, dword [ebp - 8]
call fcn.00404e4c
xor eax, eax
push ebp
push 0x4a0b93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x254]
call fcn.00409a48
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x110]
mov ecx, 0xff
call fcn.00404c38
mov eax, dword [ebp - 4]
call fcn.00402908
call fcn.004028cc
lea eax, [ebp - 0x250]
push eax
push 0x4a0ba4
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a0b20
mov eax, dword [ebp - 8]
call fcn.0040951c
test al, al
jne 0x4a09ec
mov eax, dword [ebp - 8]
call fcn.00409540
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.00404c0c
mov eax, dword [ebp - 0x10]
mov edx, 0x4a0bb0
call fcn.00404da8
je 0x4a0b03
mov eax, dword [ebp - 0x10]
mov edx, 0x4a0bbc
call fcn.00404da8
je 0x4a0b03
cmp dword [ebp - 0x250], 0x10
jne 0x4a0ad2
push dword [ebp - 8]
push 0x4a0bc8
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d1c
mov eax, dword [ebp - 0xc]
call fcn.0040951c
test al, al
jne 0x4a0a5e
mov eax, dword [ebp - 0xc]
call fcn.00409540
mov eax, dword [ebp - 4]
call fcn.00404c5c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x4a0a9b
push dword [ebp - 4]
push 0x4a0bc8
push dword [ebp - 0x10]
lea eax, [ebp - 0x258]
mov edx, 3
call fcn.00404d1c
mov eax, dword [ebp - 0x258]
mov edx, dword [ebp - 0xc]
call fcn.004a0934
jmp 0x4a0b03
lea eax, [ebp - 0x25c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404ca8
mov eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404ca8
mov eax, dword [ebp - 0x260]
pop edx
call fcn.004a0934
jmp 0x4a0b03
push dword [ebp - 8]
push 0x4a0bc8
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d1c
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.00404e5c
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404e5c
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4a09ec
jmp 0x4a0b45
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x110]
call fcn.00404c00
mov eax, dword [ebp - 0x264]
call fcn.00402908
call fcn.004028cc
xor ebx, ebx
jmp 0x4a0b68
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x110]
call fcn.00404c00
mov eax, dword [ebp - 0x268]
call fcn.00402908
call fcn.004028cc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0b9a
lea eax, [ebp - 0x268]
mov edx, 6
call fcn.004049c0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004049c0
ret