joyce8/EMBER2024-capa huggingface dataset:
Function at 0x511a94
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x511c97
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, 0x511cb0
call fcn.00404310
mov edi, 1
mov eax, dword [esi + 0x32c]
mov eax, dword [eax + 0x26c]
call fcn.0044c150
lea eax, [ebp - 0x1c]
mov edx, 0x511cd4
call fcn.00404310
mov eax, dword [esi + 0x32c]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
call fcn.0044c1e4
mov dword [ebp - 0x20], eax
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0044b114
mov ebx, 1
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + ebx - 1]
call fcn.00404460
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
mov ecx, 0x511ce8
call fcn.00404584
mov eax, dword [ebp - 0x14]
call fcn.00404738
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x511c65
push 0
push 0x100000
mov eax, ebx
call fcn.00409684
call fcn.00405248
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push 0
push 0x100000
mov eax, ebx
call fcn.004096b8
call fcn.00405248
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp dword [ebp - 4], 0
jne 0x511b93
cmp dword [ebp - 8], 0
jbe 0x511c65
jmp 0x511b99
jle 0x511c65
cmp dword [ebp - 0xc], 0
jne 0x511bab
cmp dword [ebp - 0x10], 0
jbe 0x511c65
jmp 0x511bb1
jle 0x511c65
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + ebx - 1]
call fcn.00404460
lea eax, [ebp - 0x30]
mov edx, 0x511ce8
call fcn.00404540
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov eax, esi
call fcn.00511a18
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x32c]
mov eax, dword [eax + 0x26c]
mov edx, dword [ebp - 0x20]
call fcn.0044c1d4
mov dword [ebp - 0x24], eax
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0044b114
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.0044b214
push edi
lea eax, [esi + 0x334]
mov ecx, 1
mov edx, dword [0x5115a0]
call fcn.004056b0
add esp, 4
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + ebx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x38]
call fcn.00402cd8
mov edx, 0x511cec
lea eax, [ebp - 0x38]
mov cl, 2
call fcn.00402ca8
lea edx, [ebp - 0x38]
mov eax, dword [esi + 0x334]
lea eax, [eax + edi*4 - 4]
call fcn.004044dc
inc edi
inc ebx
cmp ebx, 0x1b
jne 0x511b19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511c9e
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040429c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040429c
ret
Function at 0x5126f4
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x160], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404728
lea eax, [ebp - 0x15c]
mov edx, dword [0x407a04]
call fcn.00404c30
xor eax, eax
push ebp
push 0x512823
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404738
push eax
call sub.kernel32.dll_SetCurrentDirectoryA_1
lea ecx, [ebp - 0x15c]
mov edx, 0x10
mov eax, 0x512838
call fcn.00409334
jmp 0x5127de
mov eax, dword [0x53ab08]
mov eax, dword [eax]
call fcn.00490870
mov eax, dword [ebp - 0x150]
mov edx, 0x512844
call fcn.00404684
je 0x5127de
mov eax, dword [ebp - 0x150]
mov edx, 0x512850
call fcn.00404684
je 0x5127de
mov eax, dword [esi + 0x22c]
call fcn.00450bdc
mov ebx, eax
mov edx, dword [ebp - 0x150]
mov eax, ebx
call fcn.0045067c
push dword [ebp - 4]
push 0x51285c
push dword [ebp - 0x150]
lea eax, [ebp - 0x160]
mov edx, 3
call fcn.004045f8
mov edx, dword [ebp - 0x160]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x512868
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x15c]
call fcn.00409384
test eax, eax
je 0x51275b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51282a
lea eax, [ebp - 0x160]
call fcn.00404278
lea eax, [ebp - 0x15c]
mov edx, dword [0x407a04]
call fcn.00404d00
lea eax, [ebp - 4]
call fcn.00404278
ret
Function at 0x513f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x513f48
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5140e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027ac
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00404470
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x514100
call fcn.00404584
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43ff60]
call fcn.00440010
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5140bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, 0x514114
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5140a1
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov edx, dword [0x4ac208]
mov eax, 8
call fcn.00405174
mov esi, eax
mov eax, esi
mov edx, 0x514114
call fcn.004042cc
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 4]
call fcn.004042cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, esi
call fcn.0041c7c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov eax, dword [eax + 0x22c]
call fcn.00450bdc
mov esi, eax
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.0045067c
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, 0x514114
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 8]
mov edx, 0x514124
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x14]
jne 0x513fea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5140c6
mov eax, dword [ebp - 0xc]
call fcn.00403444
mov eax, dword [ebp - 0x10]
call fcn.00403444
ret
Function at 0x51412c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x514134
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5142d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027ac
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.00404470
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x5142ec
call fcn.00404584
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43ff60]
call fcn.00440010
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5142ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, 0x514300
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x51428d
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov edx, dword [0x4ac208]
mov eax, 8
call fcn.00405174
mov esi, eax
mov eax, esi
mov edx, 0x514300
call fcn.004042cc
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 4]
call fcn.004042cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, esi
call fcn.0041c7c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov eax, dword [eax + 0x22c]
call fcn.00450bdc
mov esi, eax
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.0045067c
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, 0x514300
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 8]
mov edx, 0x51430c
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x14]
jne 0x5141d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5142b2
mov eax, dword [ebp - 0xc]
call fcn.00403444
mov eax, dword [ebp - 0x10]
call fcn.00403444
ret

Function at 0x51a53c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.004098f4
add esp, 0x100
pop ebx
ret
Function at 0x51aa98
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404728
xor eax, eax
push ebp
push 0x51ac60
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 0x14]
call fcn.004027ac
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov edi, eax
test edi, edi
je 0x51ab67
mov eax, dword [esi + 0xc]
and eax, 1
cmp eax, 1
jne 0x51ab67
lea eax, [ebp - 0x10]
mov edx, dword [esi + 4]
call fcn.00404470
mov edx, dword [ebp - 0x10]
mov eax, 0x51ac78
call fcn.0040487c
test eax, eax
jne 0x51ab67
mov edx, dword [0x51a12c]
mov eax, 0x10
call fcn.00405174
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 1
mov eax, dword [ebp - 0xc]
add eax, 4
mov edx, dword [esi + 4]
call fcn.00404470
mov eax, dword [ebp - 0xc]
add eax, 8
mov edx, dword [ebp - 8]
call fcn.004042cc
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov edx, dword [ebp - 0xc]
call fcn.0041c7c0
mov eax, esi
call fcn.004027cc
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call sub.wininet.dll_FindNextUrlCacheEntryA
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
jne 0x51ac2b
mov eax, dword [ebp - 0x14]
call fcn.004027ac
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
je 0x51ac24
mov eax, dword [esi + 0xc]
and eax, 1
cmp eax, 1
jne 0x51ac24
lea eax, [ebp - 0x10]
mov edx, dword [esi + 4]
call fcn.00404470
mov edx, dword [ebp - 0x10]
mov eax, 0x51ac78
call fcn.0040487c
test eax, eax
jne 0x51ac24
mov edx, dword [0x51a12c]
mov eax, 0x10
call fcn.00405174
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 1
mov eax, dword [ebp - 0xc]
add eax, 4
mov edx, dword [esi + 4]
call fcn.00404470
mov eax, dword [ebp - 0xc]
add eax, 8
mov edx, dword [ebp - 8]
call fcn.004042cc
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov edx, dword [ebp - 0xc]
call fcn.0041c7c0
mov eax, esi
call fcn.004027cc
cmp ebx, 0x103
je 0x51ac3c
cmp ebx, 0x57
jne 0x51ab6e
push edi
call sub.wininet.dll_FindCloseUrlCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ac67
lea eax, [ebp - 0x10]
call fcn.00404278
lea eax, [ebp - 8]
call fcn.00404278
ret
Function at 0x51ae14
Capabilities:
Enumerate files on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404728
xor eax, eax
push ebp
push 0x51af65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404738
push eax
call sub.kernel32.dll_SetCurrentDirectoryA_1
lea eax, [ebp - 0x14c]
push eax
push 0x51af74
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x51af41
mov ebx, dword [ebp - 0x14c]
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004044e8
mov eax, dword [ebp - 0xc]
mov edx, 0x51af80
call fcn.00404684
je 0x51af26
mov eax, dword [ebp - 0xc]
mov edx, 0x51af8c
call fcn.00404684
je 0x51af26
cmp ebx, 0x10
je 0x51aee0
cmp ebx, 2
je 0x51aee0
cmp ebx, 4
je 0x51aee0
cmp ebx, 0x80
je 0x51aee0
cmp ebx, 0x100
je 0x51aee0
cmp ebx, 0x20
je 0x51aee0
cmp ebx, 0x11
je 0x51aee0
cmp ebx, 0x12
je 0x51aee0
cmp ebx, 0x13
je 0x51aee0
cmp ebx, 0x14
jne 0x51af26
mov edx, dword [0x51a12c]
mov eax, 0x10
call fcn.00405174
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004044e8
lea eax, [ebx + 8]
mov edx, dword [ebp - 4]
call fcn.004042cc
mov byte [ebx + 0xc], 1
mov eax, dword [edi + 0x340]
mov edx, ebx
call fcn.0041c7c0
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x51ae6d
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51af6c
lea eax, [ebp - 0xc]
call fcn.00404278
lea eax, [ebp - 4]
call fcn.00404278
ret
Function at 0x51b28c
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x51b363
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
push edi
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [edi]
call fcn.004027ac
mov ebx, eax
cmp dword [edi], 0
jbe 0x51b2cb
mov eax, dword [edi]
mov dword [ebx], eax
push edi
push ebx
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov esi, eax
test esi, esi
je 0x51b33e
mov eax, dword [ebx + 0xc]
and eax, 1
cmp eax, 1
jne 0x51b30a
lea eax, [ebp - 4]
mov edx, dword [ebx + 4]
call fcn.00404470
mov edx, dword [ebp - 4]
mov eax, 0x51b37c
call fcn.0040487c
test eax, eax
jne 0x51b30a
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
mov edx, dword [edi]
mov eax, ebx
call fcn.004027cc
xor eax, eax
mov dword [edi], eax
push edi
push 0
push esi
call sub.wininet.dll_FindNextUrlCacheEntryA
mov eax, dword [edi]
call fcn.004027ac
mov ebx, eax
cmp dword [edi], 0
jbe 0x51b332
mov eax, dword [edi]
mov dword [ebx], eax
push edi
push ebx
push esi
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
jne 0x51b2da
mov edx, dword [edi]
mov eax, ebx
call fcn.004027cc
push esi
call sub.wininet.dll_FindCloseUrlCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b36a
lea eax, [ebp - 4]
call fcn.00404278
ret

Function at 0x51b494
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51b59b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov esi, eax
dec esi
test esi, esi
jl 0x51b585
inc esi
mov dword [ebp - 8], 0
mov eax, dword [0x53a7c8]
cmp byte [eax], 3
je 0x51b585
cmp edi, dword [ebp - 0xc]
je 0x51b585
mov eax, dword [0x53ab08]
mov eax, dword [eax]
call fcn.00490870
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
mov edx, dword [ebp - 8]
call fcn.0041c91c
mov ebx, eax
cmp byte [ebx + 0xc], 0
je 0x51b57a
mov eax, dword [ebx]
add eax, 0xfffffffd
sub eax, 3
jae 0x51b57a
mov eax, dword [0x53ada0]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov edx, dword [ebx + 4]
call fcn.004707c4
xor eax, eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], 3
push dword [ebx + 8]
push 0x51b5b4
push dword [ebx + 4]
push 0x51b5c0
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004045f8
mov eax, dword [ebp - 0x30]
call fcn.00404738
mov dword [ebp - 0x22], eax
xor eax, eax
mov dword [ebp - 0x1e], eax
mov word [ebp - 0x1a], 0x410
lea eax, [ebp - 0x2a]
push eax
call sub.shell32.dll_SHFileOperationA
inc edi
inc dword [ebp - 8]
dec esi
jne 0x51b4d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51b5a2
lea eax, [ebp - 0x30]
call fcn.00404278
ret
Function at 0x51c4f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404728
mov eax, dword [ebp - 8]
call fcn.00404728
xor eax, eax
push ebp
push 0x51c60a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040aaf0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xc]
mov eax, 0x51c620
call fcn.0040b76c
lea edx, [ebp - 0x20]
mov eax, dword [0x53ab08]
mov eax, dword [eax]
call fcn.0049102c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004094f0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov ecx, 0x51c638
call fcn.00404584
mov eax, dword [ebp - 0x10]
call fcn.004092ac
test al, al
jne 0x51c58e
mov eax, dword [ebp - 0x10]
call fcn.004096ec
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
mov eax, 0x51c648
call fcn.00409de4
push 0x51c664
push dword [ebp - 0x14]
push 0x51c678
push dword [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004045f8
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404738
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c611
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.0040429c
ret

Function at 0x5210cc
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 0x52113c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push ebx
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.004098f4
mov eax, dword [ebp - 0x104]
mov ecx, 3
xor edx, edx
call fcn.00404798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521143
lea eax, [ebp - 0x104]
call fcn.00404278
ret
Function at 0x521148
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5212cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x440eac]
call fcn.00440fac
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52129d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0044104c
xor ecx, ecx
mov edx, 0x5212e4
mov eax, dword [ebp - 4]
call fcn.004410b4
test al, al
je 0x5211c9
lea ecx, [ebp - 8]
mov edx, 0x521318
mov eax, dword [ebp - 4]
call fcn.00441630
mov eax, dword [ebp - 4]
call fcn.0044101c
xor ecx, ecx
mov edx, 0x52132c
mov eax, dword [ebp - 4]
call fcn.004410b4
test al, al
je 0x52127f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00441840
test al, al
je 0x5211ff
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00441350
jmp 0x52127f
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004414a0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x52127f
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004415e0
dec eax
sub al, 2
jae 0x52127b
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00441630
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040487c
test eax, eax
jle 0x52127b
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00441350
inc ebx
dec esi
jne 0x52121c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5212a4
mov eax, dword [ebp - 4]
call fcn.00403444
mov eax, dword [ebp - 0x10]
call fcn.00403444
ret
Function at 0x52135c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x521364
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5214d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x440eac]
call fcn.00440fac
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x41a4b8]
call fcn.00403414
mov esi, eax
xor eax, eax
push ebp
push 0x5214ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0044104c
mov cl, 1
mov edx, 0x5214f0
mov eax, dword [ebp - 4]
call fcn.004410b4
test al, al
je 0x521498
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004414a0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x521498
inc eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004415e0
dec eax
sub al, 2
jae 0x52148e
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00441630
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004088b4
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x521528
call fcn.004088b4
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.0040487c
test eax, eax
jg 0x521477
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.004088b4
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x52153c
call fcn.004088b4
mov eax, dword [ebp - 0x24]
pop edx
call fcn.0040487c
test eax, eax
jle 0x52148e
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00441350
inc ebx
dec dword [ebp - 0xc]
jne 0x5213eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5214b5
mov eax, dword [ebp - 4]
call fcn.00403444
ret