joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c1b8
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.00405848
xor eax, eax
push ebp
push 0x46c3d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x46c3ec
mov edx, dword [ebp - 4]
call fcn.004056e0
mov eax, dword [ebp - 0x14c]
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x46c3aa
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.00405638
cmp dword [ebp - 0x150], 0
jne 0x46c2a4
push dword [ebp - 4]
push 0x46c3fc
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00405638
push dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 8]
call fcn.0046c0e8
jmp 0x46c2e3
push dword [ebp - 4]
push 0x46c3fc
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.00405638
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 8]
call fcn.0046c0e8
push 0x20
mov eax, dword [ebp - 8]
call fcn.00405858
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x148]
call fcn.0046c188
test al, al
je 0x46c30e
mov eax, dword [ebp - 8]
call fcn.0046c1b8
jmp 0x46c314
push ebx
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46c244
push esi
call sub.kernel32.dll_FindClose_1
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_RemoveDirectoryA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x46c34f
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x46c3aa
lea eax, [ebp - 0x164]
mov ecx, 0x46c3fc
mov edx, dword [ebp - 4]
call fcn.004056e0
mov eax, dword [ebp - 0x164]
call fcn.00405858
call fcn.00423054
test al, al
je 0x46c3aa
lea eax, [ebp - 0x168]
mov ecx, 0x46c3fc
mov edx, dword [ebp - 4]
call fcn.004056e0
mov eax, dword [ebp - 0x168]
call fcn.00405858
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 0x46c3dc
lea eax, [ebp - 0x168]
mov edx, 8
call fcn.004053ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053ec
ret
Function at 0x46c50c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x46c58a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004030d0
mov esi, 0x42
mov ebx, 0x48f24c
push dword [ebp - 4]
push 0x46c5a0
lea eax, [ebp - 0xc]
mov edx, dword [ebx]
call fcn.004055c0
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040575c
mov eax, dword [ebp - 8]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
add ebx, 4
dec esi
jne 0x46c539
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c591
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053ec
ret

Function at 0x46ce9c
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov word [0x48f374], ax
cmp byte [0x48f370], 0
jne 0x46ceb1
xor ebx, ebx
jmp 0x46cf14
call fcn.0046ce60
push esp
push 0
push 0
push 0x46c9bc
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
je 0x46cf08
cmp dword [0x48f36c], 0
je 0x46cee9
push 0x64
mov eax, dword [0x48f36c]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x46cecf
cmp dword [0x48f380], 0
jbe 0x46cefa
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [0x48f380]
jmp 0x46cf14
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call fcn.0046c5a4
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x4710a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4710ad
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4713b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
push 0
push 0x16
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0046874c
test al, al
je 0x47134f
mov eax, dword [0x6349ec]
cmp byte [eax], 0
jne 0x471399
push 0
lea edx, [ebp - 0x2e]
mov eax, dword [ebx + 8]
mov ecx, 0x16
call fcn.00425474
mov eax, dword [ebp - 0x2e]
cmp eax, 0x6054b20
je 0x471120
cmp eax, 0x6054b50
jne 0x47133e
cmp word [ebp - 0x24], 0
jle 0x471399
cmp dword [ebp - 0x1e], 0
jbe 0x471399
mov eax, dword [ebx + 0x51c]
sub eax, 0x16
mov esi, dword [ebp - 0x1e]
sub eax, esi
inc eax
mov dword [ebp - 0x10], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x51c]
sub eax, 0x16
xor edx, edx
push edx
push eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0046874c
test al, al
je 0x4712f2
mov eax, dword [ebx + 8]
call fcn.004254a4
cmp eax, dword [ebp - 0x10]
je 0x4711d4
push 0x4713cc
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.004225b0
push dword [ebp - 0x38]
push 0x4713f8
mov eax, dword [ebx + 8]
or al, ch
push es
inc ebx
sti
push dword [ebx]
rcl byte [edx + 0x50], cl
push 0x471464
mov eax, dword [ebx + 0x520]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x50]
call fcn.004225b0
push dword [ebp - 0x50]
push 0x471488
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x520]
call fcn.00462ce8
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.0040575c
mov edx, dword [ebp - 0x4c]
mov eax, 0x471410
call fcn.0046302c
jmp 0x471399
mov edx, 0x471498
mov eax, 0x471410
call fcn.0046302c
jmp 0x471399
push 0x4714b4
mov eax, dword [ebx + 0x520]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.004225b0
push dword [ebp - 0x5c]
push 0x471488
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x520]
call fcn.00462ce8
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040575c
mov edx, dword [ebp - 0x58]
mov eax, 0x471410
call fcn.0046302c

Function at 0x47201c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403aec
ret
Function at 0x472150
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
xor eax, eax
push ebp
push 0x47229e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0047201c
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x47227d
xor eax, eax
push ebp
push 0x472276
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47225f
xor eax, eax
push ebp
push 0x472258
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x472241
xor eax, eax
push ebp
push 0x47223a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.00472054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472241
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47225f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47227d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.004720d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4722a5
lea eax, [ebp - 4]
call fcn.004053c8
ret

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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x472421
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
xor eax, eax
push ebp
push 0x4724fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x634f50]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.004037a0
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403c90
call fcn.00403148
test eax, eax
jne 0x4724d8
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.00403908
movzx edx, word [ebp - 8]
test dx, dx
jbe 0x4724d2
lea eax, [ebp - 0x10145]
movzx ecx, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x48fd88]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4724af
cmp dword [ebp - 8], 0
jne 0x472486
lea eax, [ebp - 0x154]
call fcn.00403948
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472502
lea eax, [ebp - 4]
call fcn.004053c8
ret
Function at 0x47257c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405848
xor eax, eax
push ebp
push 0x472640
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405858
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x472610
xor eax, eax
push ebp
push 0x472609
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetFileSize_1
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472610
mov eax, dword [ebp - 0x14]
call fcn.00425664
ret
cmp dword [ebp - 0xc], 0
jne 0x47262a
cmp dword [ebp - 0x10], 0xffffffff
jne 0x47262a
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472647
lea eax, [ebp - 4]
call fcn.004053c8
ret
Function at 0x472cac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov edi, 0x63d928
xor eax, eax
push ebp
push 0x472e18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [0x63d90c], eax
mov eax, dword [0x63d908]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x472c80]
call fcn.004068bc
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x4723ec]
call fcn.004068bc
add esp, 4
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x472dbb
inc esi
xor ebx, ebx
mov eax, 8
call fcn.00402ec8
mov edx, dword [edi]
mov dword [edx + ebx*4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [edi]
mov edx, dword [edx + ebx*4]
mov dword [edx], eax
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + ebx*4], eax
cmp byte [ebp - 0xd], 0
je 0x472d7c
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x47273c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
jmp 0x472d96
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x472958
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x472da2
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x472db3
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
call fcn.00402ee4
mov eax, dword [edi]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
dec esi
jne 0x472d2a
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425b94
push 0x68
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForMultipleObjects
test eax, eax
jne 0x472dbb
cmp byte [ebp - 0xd], 0
je 0x472dec
mov eax, dword [ebp - 8]
call fcn.00472b50
jmp 0x472df4
mov eax, dword [ebp - 8]
call fcn.00472c24
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ebx, dword [eax + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472e1f
lea eax, [ebp - 4]
mov edx, dword [0x472c80]
call fcn.004068c8
ret
Function at 0x472f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4730af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x472f18]
call fcn.004068bc
add esp, 4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 0xb0]
mov ecx, 1
mov edx, dword [0x472e7c]
call fcn.004068bc
add esp, 4
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x473030
inc edi
xor esi, esi
mov eax, 8
call fcn.00402ec8
mov edx, dword [ebx + 0xb0]
mov dword [edx + esi*4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + esi*4]
mov dword [edx], eax
mov eax, dword [ebx + 0xb0]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0xb0]
mov eax, dword [eax + esi*4]
lea edx, [eax + 4]
push edx
push 0
push eax
lea eax, [ebx + 0xe2]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x47300f
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x473028
mov eax, dword [ebx + 0xb0]
mov eax, dword [eax + esi*4]
call fcn.00402ee4
mov eax, dword [ebx + 0xb0]
xor edx, edx
mov dword [eax + esi*4], edx
inc esi
dec edi
jne 0x472fa7
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425b94
push 0x68
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForMultipleObjects
test eax, eax
jne 0x473030
mov eax, dword [ebx + 0xa8]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425b94
push 0x64
mov eax, dword [ebx + 0xac]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x47305d
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x472f18]
call fcn.004068bc
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4730b6
lea eax, [ebp - 4]
mov edx, dword [0x472f18]
call fcn.004068c8
ret
Function at 0x4731ec
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4732b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [edi]
call fcn.00468814
test al, al
je 0x473268
mov eax, dword [0x6349ec]
cmp byte [eax], 0
jne 0x473264
push 0x20
mov eax, dword [esi + 4]
call fcn.00405858
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [esi + 4]
call fcn.00405858
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 4]
mov eax, dword [esi + 4]
call fcn.00423108
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x634ffc]
mov eax, dword [eax]
call eax
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov edx, dword [esi + 4]
call fcn.00425538
mov bl, 1
jmp 0x47329d
push dword [esi + 4]
push 0x4732d0
lea edx, [ebp - 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
call fcn.00462ce8
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040575c
mov edx, dword [ebp - 8]
mov eax, 0x4732ec
call fcn.0046302c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4732bf
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053ec
ret

Function at 0x473a08
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
xor ebx, ebx
push esp
push 0
push 0
add eax, 0xd0
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x473a2c
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x473dfc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x473f95
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x473dd8]
call fcn.004068bc
add esp, 4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 0xac]
mov ecx, 1
mov edx, dword [0x473d40]
call fcn.004068bc
add esp, 4
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x473ef0
inc edi
xor esi, esi
mov eax, 8
call fcn.00402ec8
mov edx, dword [ebx + 0xac]
mov dword [edx + esi*4], eax
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [ebx + 0xac]
mov edx, dword [edx + esi*4]
mov dword [edx], eax
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + esi*4], eax
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + esi*4]
lea edx, [eax + 4]
push edx
push 0
push eax
lea eax, [ebx + 0xee]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x473ecf
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x473ee8
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + esi*4]
call fcn.00402ee4
mov eax, dword [ebx + 0xac]
xor edx, edx
mov dword [eax + esi*4], edx
inc esi
dec edi
jne 0x473e67
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425b94
push 0x68
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WaitForMultipleObjects
test eax, eax
jne 0x473ef0
mov eax, dword [ebx + 0xa4]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [0x634bf4]
mov eax, dword [eax]
call fcn.00425b94
push 0x64
mov eax, dword [ebx + 0xa8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x473f1d
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x473f61
lea edx, [ebp - 0x10]
push edx
push eax
call sub.kernel32.dll_GetExitCodeThread
mov eax, dword [ebp - 0x10]
mov byte [ebp - 9], al
mov eax, dword [ebx + 0xd8]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x473dd8]
call fcn.004068bc
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473f9c
lea eax, [ebp - 4]
mov edx, dword [0x473dd8]
call fcn.004068c8
ret
Function at 0x4740d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4740d8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47423b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x474216
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x63d934]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x47420c
inc edi
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, dword [0x63d934]
call fcn.00418d70
mov ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x47415f
push dword [ebx + 0x46]
push 0x474254
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00462ce8
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040575c
mov edx, dword [ebp - 0xc]
mov eax, 0x474270
call fcn.0046302c
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x46]
call fcn.0042337c
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.004055c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.00470c48
mov esi, eax
test esi, esi
je 0x4741cf
push 0x20
mov eax, dword [ebx + 0x46]
call fcn.00405858
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x46]
call fcn.0042337c
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.004055c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x42]
pop edx
call fcn.00470c48
mov esi, eax
test esi, esi
je 0x474202
push dword [ebx + 0x46]
push 0x474288
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.00422578
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040575c
mov edx, dword [ebp - 0x24]
mov eax, 0x474270
call fcn.0046302c
inc dword [ebp - 8]
dec edi
jne 0x47411a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x474220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474242
lea eax, [ebp - 0x28]
mov edx, 8
call fcn.004053ec
ret

Function at 0x474d70
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, eax
xor ebx, ebx
push esp
push 0
push 0
lea eax, [edi + 0xdc]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov esi, eax
mov dword [edi + 0xd8], esi
test esi, esi
je 0x474d9b
mov bl, 1
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret