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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b1fb
add esp, 0xfffffff0
call fcn.004047a8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041e660
mov eax, dword [0x59dc6c]
cmp word [eax + 2], 0
jne 0x45b223
mov eax, dword [0x59dc6c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045cc28
mov eax, dword [0x59ddcc]
cmp word [eax + 2], 0
jne 0x45b23d
mov eax, dword [0x59ddcc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ce34
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4163bc]
call fcn.0040446c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4163bc]
call fcn.0040446c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4163bc]
call fcn.0040446c
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 [0x428834]
call fcn.0042e67c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45b3f4
mov eax, dword [0x59dae8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ea50
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45d4f8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x59dae8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dda0
test eax, eax
je 0x45b344
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409f08
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ddd4
test eax, eax
je 0x45b358
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004055fc
mov byte [ebx + 0xd4], 0
push ebx
push 0x45c90c
call fcn.0041f7dc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x59d8c0]
cmp byte [eax], 0
jne 0x45b3a9
mov eax, ebx
call fcn.0045b538
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045d6d0
mov eax, ebx
call fcn.0045e234
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b3e9
call fcn.00404800
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b7b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45b857
cmp dword [ebx + 0x94], 0
jne 0x45b851
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b740
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b851
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_GetWindowLongA
test al, 8
je 0x45b817
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b851
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.00418760
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b826
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5a3ea0]
cmp dword [eax + 0x30], 0
je 0x45bbcd
test bl, bl
jne 0x45bb1e
cmp dword [esi + 0x9c], 0
jne 0x45bb13
mov eax, esi
call fcn.0045e0b0
push eax
push 0x45b99c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45bae4
mov eax, dword [0x5a3ea0]
call fcn.0045e6a0
test al, al
je 0x45bae4
mov eax, dword [0x5a3ec4]
call fcn.004065a4
mov edi, eax
cmp edi, 0
jl 0x45bae4
push 0
mov eax, dword [0x5a3ec4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45bace
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45bb13
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418760
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45baf3
inc dword [esi + 0x9c]
jmp 0x45bbcd
cmp dword [esi + 0x9c], 0
jle 0x45bbcd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45bbcd
cmp dword [esi + 0x44], 0
je 0x45bb79
mov eax, dword [0x5a3ea0]
call fcn.0045e6a0
test al, al
je 0x45bb79
mov eax, dword [0x5a3ec4]
call fcn.004065a4
mov edi, eax
cmp edi, 0
jl 0x45bb79
push 5
mov eax, dword [0x5a3ec4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45bb63
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45bba8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418760
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45bb88
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x5a3ec4
mov ecx, 1
mov edx, dword [0x45b97c]
call fcn.00406758
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x461d98
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040580c
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x461ea2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 1
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403ab0
push 1
call sub.kernel32.dll_Sleep_2
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], 0x540
cmp byte [0x488c00], 0
je 0x461e0e
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x461e16
mov eax, 0x461eb4
mov dword [ebp - 0x38], eax
push 1
call sub.kernel32.dll_Sleep_2
lea ecx, [ebp - 0x48]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00461d10
mov eax, dword [ebp - 0x48]
call fcn.00405cf8
mov dword [ebp - 0x34], eax
push 1
call sub.kernel32.dll_Sleep_2
lea ecx, [ebp - 0x4c]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00461d10
mov eax, dword [ebp - 0x4c]
call fcn.00405cf8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x461e7a
push 1
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetProcessId
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461ea9
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00405b80
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret

Function at 0x461fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov esi, eax
push esi
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
dec edx
test edx, edx
jl 0x462015
inc edx
xor ecx, ecx
movzx ebx, byte [esi + ecx]
mov edi, eax
and edi, 0xff
xor ebx, edi
mov ebx, dword [ebx*4 + 0x488dfc]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc ecx
dec edx
jne 0x461ff5
pop edi
pop esi
pop ebx
ret

Function at 0x46201c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4620a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
jne 0x462080
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x110]
call fcn.0040c734
mov ecx, dword [ebp - 0x110]
mov dl, 1
mov eax, dword [0x408720]
call fcn.0040cf48
call fcn.00404cf8
mov edx, ebx
lea eax, [ebp - 0x109]
call fcn.0040a0f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4620ad
lea eax, [ebp - 0x110]
call fcn.0040538c
ret
Function at 0x462568
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x462636
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00405584
mov eax, dword [ebp - 0x10]
call fcn.00409d20
test al, al
je 0x4625aa
push ebx
call sub.kernel32.dll_DeleteFileA
push 0
push 0x80
push 1
push 0
push 2
push 0x40000000
push ebx
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x462619
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x462602
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0xc]
push eax
push edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462620
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x462c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x462cbf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x109]
xor ecx, ecx
mov edx, 0x104
call fcn.00403ab0
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x109]
call fcn.0040a0f4
mov ebx, dword [ebp - 0x110]
lea edx, [ebp - 4]
mov dword [ebp - 0x114], ebx
mov eax, dword [ebp - 0x114]
call fcn.0040dc7c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004053e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462cc6
lea eax, [ebp - 0x110]
call fcn.0040538c
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x462ccc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x462d37
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00462c20
lea eax, [ebp - 0x103]
push eax
push 0
push 0x462d44
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, ebx
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.004055fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462d3e
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x463260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.004053e0
mov eax, esi
test eax, eax
je 0x463281
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jbe 0x4632b8
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.0040587c
movzx edx, byte [esi + ebx - 1]
xor dl, 4
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp - 4]
call fcn.0040587c
movzx edx, byte [esi + ebx - 1]
xor dl, 0xc
mov byte [eax + ebx - 1], dl
inc ebx
dec edi
jne 0x46328c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x463398
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
push 1
call sub.kernel32.dll_Sleep_2
push esp
push 0
push 0
push 0x4632c8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x463410
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push 0xff
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetWindowTextA
mov eax, ebx
mov edx, esp
mov ecx, 0xff
call fcn.004055fc
add esp, 0x100
pop ebx
ret

Function at 0x4646e0
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
xor ecx, ecx
mov eax, dword [0x5a17f8]
test eax, eax
je 0x464723
movzx edx, word [eax]
not dx
cmp dx, 0x5a4d
je 0x464723
mov esi, eax
mov edx, esi
mov ebx, dword [eax + 0x3c]
add edx, ebx
mov edx, dword [edx]
not edx
cmp edx, 0x4550
je 0x464723
mov edx, ebx
add edx, 0x18
add edx, 0x34
sub edx, 8
add edx, 0x14
add edx, esi
mov eax, edx
mov ecx, dword [eax]
mov eax, ecx
pop esi
pop ebx
ret
Function at 0x46ced4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 8], edx
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.0040580c
xor eax, eax
push ebp
push 0x46cf79
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 8]
call fcn.00464af4
mov esi, dword [ebx + 0x1c]
mov dword [esi + 0x53c], ebx
mov dword [esi + 0x538], 0x46ce3c
mov dword [esi + 0x544], ebx
mov dword [esi + 0x540], 0x46ce9c
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push 0x46ce54
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [ebp - 4], eax
push ebp
call fcn.0046ceb0
pop ecx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetExitCodeThread
cmp dword [ebp - 0xc], 0
je 0x46cf63
mov eax, ebx
call fcn.0046cd38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cf80
lea eax, [ebp - 8]
call fcn.0040538c
ret

Function at 0x46e734
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov dword [0x48aad8], 0xffffffff
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov ebx, 0xff
jmp 0x46e778
cmp dword [0x48aad8], 0
je 0x46e78a
mov eax, edi
call fcn.0046e6a0
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, ebp
jbe 0x46e778
mov ebx, 0x102
jmp 0x46e78a
cmp ebx, 0xff
jne 0x46e78a
mov eax, dword [0x59d948]
cmp byte [eax], 0
je 0x46e754
xor eax, eax
mov dword [0x48aad8], eax
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4711c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, edx
mov byte [ebx + 0x1c], al
mov edx, eax
mov eax, ebx
call fcn.0046efbc
mov eax, ebx
call fcn.0046ebb4
movzx eax, byte [ebx + 0x1c]
add al, 0xfd
sub al, 2
jb 0x4711e7
dec al
jne 0x4711f7
push 5
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_ShowWindow
jmp 0x471233
push 0
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x60]
xor ecx, ecx
mov edx, 0x471248
call fcn.00426260
mov ecx, 0x32
mov edx, 0xc4
call fcn.00425918
mov esi, eax
mov dword [ebx + 0x5c], esi
mov edx, esi
mov eax, ebx
xor ecx, ecx
call fcn.00471374
mov eax, dword [ebx + 0x60]
call fcn.00425c90
pop esi
pop ebx
ret

Function at 0x471ea8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], edx
mov ebx, eax
or ebp, 0xffffffff
cmp dword [esp], 0x32
jne 0x471f88
mov esi, ebx
movzx eax, word [esi + 2]
cmp ax, 0x2417
jbe 0x471f88
cmp ax, 0x241d
jae 0x471f88
push 0x32
call fcn.00406f68
pop ecx
mov esi, eax
mov ecx, 0x32
mov edx, ebx
mov eax, esi
call fcn.004081e0
movzx ebp, word [esi + 2]
sub ebp, 0x2012
sub ebp, 6
sub ebp, 0x400
dec ebp
cmp ebp, 0xffffffff
jne 0x471f5d
mov dword [esp + 4], 4
mov ebx, 0x5a6c6c
mov eax, dword [ebx]
call fcn.00471c80
push 0x32
call fcn.00406f68
pop ecx
mov edi, eax
mov ecx, 0x32
mov edx, esi
mov eax, edi
call fcn.004081e0
mov eax, dword [ebx]
mov edx, edi
call fcn.00423bb0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx]
mov dword [edx + 4], eax
add ebx, 4
dec dword [esp + 4]
jne 0x471f19
push esi
call fcn.00406f78
pop ecx
jmp 0x471f88
mov eax, ebp
sub eax, 4
jae 0x471f83
mov eax, dword [ebp*4 + 0x5a6c6c]
mov edx, esi
call fcn.00423bb0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp*4 + 0x5a6c6c]
mov dword [edx + 4], eax
jmp 0x471f88
mov ebp, 0xfffffffe
mov eax, ebp
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x473a90
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov word [0x48ab60], ax
cmp byte [0x48ab5c], 0
jne 0x473aa5
xor ebx, ebx
jmp 0x473b08
call fcn.00473a54
push esp
push 0
push 0
push 0x4735b0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
je 0x473afc
cmp dword [0x48ab58], 0
je 0x473add
push 0x64
mov eax, dword [0x48ab58]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x473ac3
cmp dword [0x48ab6c], 0
jbe 0x473aee
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [0x48ab6c]
jmp 0x473b08
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call fcn.00473198
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x474ea0
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov word [0x48ac48], ax
cmp byte [0x48ac44], 0
jne 0x474eb5
xor ebx, ebx
jmp 0x474f18
call fcn.00474e64
push esp
push 0
push 0
push 0x4749c0
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
je 0x474f0c
cmp dword [0x48ac40], 0
je 0x474eed
push 0x64
mov eax, dword [0x48ac40]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x474ed3
cmp dword [0x48ac54], 0
jbe 0x474efe
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [0x48ac54]
jmp 0x474f18
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call fcn.004745a8
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x4757fc
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4759b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x45], 0
xor eax, eax
push ebp
push 0x475988
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4757d4]
call fcn.00406758
add esp, 4
test esi, esi
je 0x47587f
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00405584
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00475f60
jmp 0x4758c4
mov ebx, 0x41
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405574
lea eax, [ebp - 0x14]
mov edx, 0x4759d0
call fcn.00405658
mov esi, dword [ebp - 0x14]
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4758be
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00405584
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00475f60
inc ebx
cmp ebx, 0x5b
jne 0x475884
mov eax, dword [ebp - 8]
mov byte [eax + 0x44], 0
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x475913
inc esi
xor ebx, ebx
mov edx, dword [0x47573c]
xor eax, eax
call fcn.00423aa8
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + ebx*4], edi
mov eax, dword [ebp - 8]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x30]
push eax
push 4
push edi
push 0x475778
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov edx, dword [ebp - 4]
mov edx, dword [edx + ebx*4]
mov dword [edx + 0x20], eax
inc ebx
dec esi
jne 0x4758d6
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x475934
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
call fcn.00424da8
push 1
call main
inc ebx
dec esi
jne 0x47591e
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x475959
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
call fcn.00424e00
mov eax, dword [ebp - 4]
mov eax, dword [eax + ebx*4]
call fcn.00423ac8
inc ebx
dec esi
jne 0x47593f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47598f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.00475fc8
mov eax, dword [ebp - 8]
mov byte [eax + 0x44], 1
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x45], 1
ret
Function at 0x4765fc
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040580c
xor eax, eax
push ebp
push 0x476819
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x476830
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x14c]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4767ee
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.004055fc
cmp dword [ebp - 0x150], 0
jne 0x4766e8
push dword [ebp - 4]
push 0x476840
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.004055fc
push dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 8]
call fcn.0047652c
jmp 0x476727
push dword [ebp - 4]
push 0x476840
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.004055fc
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.0047652c
push 0x20
mov eax, dword [ebp - 8]
call fcn.0040581c
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x148]
call fcn.004765cc
test al, al
je 0x476752
mov eax, dword [ebp - 8]
call fcn.004765fc
jmp 0x476758
push ebx
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x476688
push esi
call sub.kernel32.dll_FindClose_1
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x476793
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x4767ee
lea eax, [ebp - 0x164]
mov ecx, 0x476840
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x164]
call fcn.0040581c
call fcn.00422b84
test al, al
je 0x4767ee
lea eax, [ebp - 0x168]
mov ecx, 0x476840
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x168]
call fcn.0040581c
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476820
lea eax, [ebp - 0x168]
mov edx, 8
call fcn.004053b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret