joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464908
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 0x4649a7
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 0x4649ae
lea eax, [ebp - 0x110]
call fcn.0040538c
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x4649b4
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 0x464a1f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00464908
lea eax, [ebp - 0x103]
push eax
push 0
push 0x464a2c
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 0x464a26
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x464f20
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 0x464f41
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jbe 0x464f78
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 0x464f4c
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x46505c
Capabilities:
Create thread

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

Function at 0x4650d4
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 0x466444
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
xor ecx, ecx
mov eax, dword [0x5a27f8]
test eax, eax
je 0x466487
movzx edx, word [eax]
not dx
cmp dx, 0x5a4d
je 0x466487
mov esi, eax
mov edx, esi
mov ebx, dword [eax + 0x3c]
add edx, ebx
mov edx, dword [edx]
not edx
cmp edx, 0x4550
je 0x466487
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 0x467020
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov dword [0x48a62c], 0xffffffff
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov ebx, 0xff
jmp 0x467064
cmp dword [0x48a62c], 0
je 0x467076
mov eax, edi
call fcn.00466f8c
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, ebp
jbe 0x467064
mov ebx, 0x102
jmp 0x467076
cmp ebx, 0xff
jne 0x467076
mov eax, dword [0x59e948]
cmp byte [eax], 0
je 0x467040
xor eax, eax
mov dword [0x48a62c], eax
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4676a0
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 0x46785c
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 0x46782c
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 [0x467678]
call fcn.00406758
add esp, 4
test esi, esi
je 0x467723
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00405584
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00467e04
jmp 0x467768
mov ebx, 0x41
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405574
lea eax, [ebp - 0x14]
mov edx, 0x467874
call fcn.00405658
mov esi, dword [ebp - 0x14]
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x467762
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00405584
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00467e04
inc ebx
cmp ebx, 0x5b
jne 0x467728
mov eax, dword [ebp - 8]
mov byte [eax + 0x44], 0
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x4677b7
inc esi
xor ebx, ebx
mov edx, dword [0x4675e0]
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 0x46761c
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 0x46777a
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x4677d8
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 0x4677c2
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x4677fd
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 0x4677e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467833
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.00467e6c
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 0x4684a0
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 0x4686bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x4686d4
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 0x468692
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x18]
mov ecx, 0xe
call fcn.004055fc
cmp dword [ebp - 0x150], 0
jne 0x46858c
push dword [ebp - 4]
push 0x4686e4
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.004683d0
jmp 0x4685cb
push dword [ebp - 4]
push 0x4686e4
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.004683d0
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.00468470
test al, al
je 0x4685f6
mov eax, dword [ebp - 8]
call fcn.004684a0
jmp 0x4685fc
push ebx
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x148]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46852c
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 0x468637
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x468692
lea eax, [ebp - 0x164]
mov ecx, 0x4686e4
mov edx, dword [ebp - 4]
call fcn.004056a4
mov eax, dword [ebp - 0x164]
call fcn.0040581c
call fcn.00422b84
test al, al
je 0x468692
lea eax, [ebp - 0x168]
mov ecx, 0x4686e4
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 0x4686c4
lea eax, [ebp - 0x168]
mov edx, 8
call fcn.004053b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053b0
ret
Function at 0x4687f4
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 0x468872
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004030d0
mov esi, 0x42
mov ebx, 0x48a654
push dword [ebp - 4]
push 0x468888
lea eax, [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00405584
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405720
mov eax, dword [ebp - 8]
call fcn.0040581c
push eax
call sub.kernel32.dll_DeleteFileA
add ebx, 4
dec esi
jne 0x468821
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468879
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret

Function at 0x469184
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov word [0x48a77c], ax
cmp byte [0x48a778], 0
jne 0x469199
xor ebx, ebx
jmp 0x4691fc
call fcn.00469148
push esp
push 0
push 0
push 0x468ca4
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
test ebx, ebx
je 0x4691f0
cmp dword [0x48a774], 0
je 0x4691d1
push 0x64
mov eax, dword [0x48a774]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4691b7
cmp dword [0x48a788], 0
jbe 0x4691e2
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_WaitForSingleObject
push ebx
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [0x48a788]
jmp 0x4691fc
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call fcn.0046888c
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x46e304
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.00403ab0
ret

Function at 0x46e4b0
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.0040580c
xor eax, eax
push ebp
push 0x46e5fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.0046e304
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x46e5dd
xor eax, eax
push ebp
push 0x46e5d6
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 0x46e5bf
xor eax, eax
push ebp
push 0x46e5b8
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 0x46e5a1
xor eax, eax
push ebp
push 0x46e59a
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.0046e33c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e5a1
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 0x46e5bf
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 0x46e5dd
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.0046e3c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e605
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x46e7d4
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 0x46e7dd
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.0040580c
xor eax, eax
push ebp
push 0x46e8b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59eeac]
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.00403c54
call fcn.00403148
test eax, eax
jne 0x46e894
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 0x46e88e
lea eax, [ebp - 0x10145]
movzx ecx, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x48b190]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x46e86b
cmp dword [ebp - 8], 0
jne 0x46e842
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 0x46e8be
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x46e938
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.0040580c
xor eax, eax
push ebp
push 0x46e9fc
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.0040581c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46e9cc
xor eax, eax
push ebp
push 0x46e9c5
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 0x46e9cc
mov eax, dword [ebp - 0x14]
call fcn.0042515c
ret
cmp dword [ebp - 0xc], 0
jne 0x46e9e6
cmp dword [ebp - 0x10], 0xffffffff
jne 0x46e9e6
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 0x46ea03
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x46f068
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, 0x5a7930
xor eax, eax
push ebp
push 0x46f1d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [0x5a7914], eax
mov eax, dword [0x5a7910]
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 [0x46f03c]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x46e7a8]
call fcn.00406758
add esp, 4
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x46f177
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 0x46f138
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x46eaf8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
jmp 0x46f152
mov eax, dword [edi]
mov eax, dword [eax + ebx*4]
lea edx, [eax + 4]
push edx
push 0
push eax
push 0x46ed14
push 0
push 0
call sub.kernel32.dll_CreateThread_1
test eax, eax
je 0x46f15e
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x46f16f
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 0x46f0e6
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.00425628
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 0x46f177
cmp byte [ebp - 0xd], 0
je 0x46f1a8
mov eax, dword [ebp - 8]
call fcn.0046ef0c
jmp 0x46f1b0
mov eax, dword [ebp - 8]
call fcn.0046efe0
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 0x46f1db
lea eax, [ebp - 4]
mov edx, dword [0x46f03c]
call fcn.00406764
ret
Function at 0x46f2fc
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 0x46f46b
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 [0x46f2d4]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 0xb0]
mov ecx, 1
mov edx, dword [0x46f238]
call fcn.00406758
add esp, 4
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x46f3ec
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 0x46f3cb
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x46f3e4
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 0x46f363
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.00425628
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 0x46f3ec
mov eax, dword [ebx + 0xa8]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.00425628
push 0x64
mov eax, dword [ebx + 0xac]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x46f419
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x46f2d4]
call fcn.00406758
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f472
lea eax, [ebp - 4]
mov edx, dword [0x46f2d4]
call fcn.00406764
ret
Function at 0x46f5a8
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 0x46f674
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [edi]
call fcn.004632e8
test al, al
je 0x46f624
mov eax, dword [0x59e948]
cmp byte [eax], 0
jne 0x46f620
push 0x20
mov eax, dword [esi + 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [esi + 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 4]
mov eax, dword [esi + 4]
call fcn.00422c38
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x59ef60]
mov eax, dword [eax]
call eax
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov edx, dword [esi + 4]
call fcn.00425030
mov bl, 1
jmp 0x46f659
push dword [esi + 4]
push 0x46f68c
lea edx, [ebp - 0xc]
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
call fcn.00464330
push dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 8]
mov eax, 0x46f6a8
call fcn.00464674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f67b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053b0
ret

Function at 0x46fdc4
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 0x46fde8
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
mov eax, ebx
pop edx
pop ebx
ret
Function at 0x4701b8
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 0x470351
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 [0x470194]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 0xac]
mov ecx, 1
mov edx, dword [0x4700fc]
call fcn.00406758
add esp, 4
mov edi, dword [ebp - 8]
dec edi
test edi, edi
jl 0x4702ac
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 0x47028b
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4702a4
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 0x470223
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.00425628
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 0x4702ac
mov eax, dword [ebx + 0xa4]
push eax
call sub.kernel32.dll_SetEvent
mov eax, dword [0x59eb68]
mov eax, dword [eax]
call fcn.00425628
push 0x64
mov eax, dword [ebx + 0xa8]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4702d9
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x47031d
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 [0x470194]
call fcn.00406758
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470358
lea eax, [ebp - 4]
mov edx, dword [0x470194]
call fcn.00406764
ret