joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501798
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.00409fe0
add esp, 0x100
pop ebx
ret

Function at 0x501ab8
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.00404d18
xor eax, eax
push ebp
push 0x501c80
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.004027dc
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 0x501b87
mov eax, dword [esi + 0xc]
and eax, 1
cmp eax, 1
jne 0x501b87
lea eax, [ebp - 0x10]
mov edx, dword [esi + 4]
call fcn.00404a60
mov edx, dword [ebp - 0x10]
mov eax, 0x501c98
call fcn.00404e6c
test eax, eax
jne 0x501b87
mov edx, dword [0x501494]
mov eax, 0x10
call fcn.0040576c
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.00404a60
mov eax, dword [ebp - 0xc]
add eax, 8
mov edx, dword [ebp - 8]
call fcn.004048bc
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [ebp - 0xc]
call fcn.0041aaf4
mov eax, esi
call fcn.004027fc
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 0x501c4b
mov eax, dword [ebp - 0x14]
call fcn.004027dc
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
je 0x501c44
mov eax, dword [esi + 0xc]
and eax, 1
cmp eax, 1
jne 0x501c44
lea eax, [ebp - 0x10]
mov edx, dword [esi + 4]
call fcn.00404a60
mov edx, dword [ebp - 0x10]
mov eax, 0x501c98
call fcn.00404e6c
test eax, eax
jne 0x501c44
mov edx, dword [0x501494]
mov eax, 0x10
call fcn.0040576c
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.00404a60
mov eax, dword [ebp - 0xc]
add eax, 8
mov edx, dword [ebp - 8]
call fcn.004048bc
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [ebp - 0xc]
call fcn.0041aaf4
mov eax, esi
call fcn.004027fc
cmp ebx, 0x103
je 0x501c5c
cmp ebx, 0x57
jne 0x501b8e
push edi
call sub.wininet.dll_FindCloseUrlCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501c87
lea eax, [ebp - 0x10]
call fcn.00404868
lea eax, [ebp - 8]
call fcn.00404868
ret
Function at 0x501e34
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.00404d18
xor eax, eax
push ebp
push 0x501f85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [ebp - 0x14c]
push eax
push 0x501f94
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x501f61
mov ebx, dword [ebp - 0x14c]
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404ad8
mov eax, dword [ebp - 0xc]
mov edx, 0x501fa0
call fcn.00404c74
je 0x501f46
mov eax, dword [ebp - 0xc]
mov edx, 0x501fac
call fcn.00404c74
je 0x501f46
cmp ebx, 0x10
je 0x501f00
cmp ebx, 2
je 0x501f00
cmp ebx, 4
je 0x501f00
cmp ebx, 0x80
je 0x501f00
cmp ebx, 0x100
je 0x501f00
cmp ebx, 0x20
je 0x501f00
cmp ebx, 0x11
je 0x501f00
cmp ebx, 0x12
je 0x501f00
cmp ebx, 0x13
je 0x501f00
cmp ebx, 0x14
jne 0x501f46
mov edx, dword [0x501494]
mov eax, 0x10
call fcn.0040576c
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.00404ad8
lea eax, [ebx + 8]
mov edx, dword [ebp - 4]
call fcn.004048bc
mov byte [ebx + 0xc], 1
mov eax, dword [edi + 0x338]
mov edx, ebx
call fcn.0041aaf4
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 0x501e8d
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501f8c
lea eax, [ebp - 0xc]
call fcn.00404868
lea eax, [ebp - 4]
call fcn.00404868
ret
Function at 0x502334
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 0x50240b
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.004027dc
mov ebx, eax
cmp dword [edi], 0
jbe 0x502373
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 0x5023e6
mov eax, dword [ebx + 0xc]
and eax, 1
cmp eax, 1
jne 0x5023b2
lea eax, [ebp - 4]
mov edx, dword [ebx + 4]
call fcn.00404a60
mov edx, dword [ebp - 4]
mov eax, 0x502424
call fcn.00404e6c
test eax, eax
jne 0x5023b2
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
mov edx, dword [edi]
mov eax, ebx
call fcn.004027fc
xor eax, eax
mov dword [edi], eax
push edi
push 0
push esi
call sub.wininet.dll_FindNextUrlCacheEntryA
mov eax, dword [edi]
call fcn.004027dc
mov ebx, eax
cmp dword [edi], 0
jbe 0x5023da
mov eax, dword [edi]
mov dword [ebx], eax
push edi
push ebx
push esi
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
jne 0x502382
mov edx, dword [edi]
mov eax, ebx
call fcn.004027fc
push esi
call sub.wininet.dll_FindCloseUrlCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502412
lea eax, [ebp - 4]
call fcn.00404868
ret

Function at 0x50253c
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 0x502643
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov esi, eax
dec esi
test esi, esi
jl 0x50262d
inc esi
mov dword [ebp - 8], 0
mov eax, dword [0x55c098]
cmp byte [eax], 3
je 0x50262d
cmp edi, dword [ebp - 0xc]
je 0x50262d
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048da60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [ebp - 8]
call fcn.0041aca0
mov ebx, eax
cmp byte [ebx + 0xc], 0
je 0x502622
mov eax, dword [ebx]
add eax, 0xfffffffd
sub eax, 3
jae 0x502622
mov eax, dword [0x55c6f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov edx, dword [ebx + 4]
call fcn.0046d0e8
xor eax, eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], 3
push dword [ebx + 8]
push 0x50265c
push dword [ebx + 4]
push 0x502668
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404be8
mov eax, dword [ebp - 0x30]
call fcn.00404d28
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 0x50257f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50264a
lea eax, [ebp - 0x30]
call fcn.00404868
ret
Function at 0x507ef8
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x507fa6
push 0xf01ff
mov eax, ebx
call fcn.00404d28
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x507fa6
xor eax, eax
push ebp
push 0x507f83
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x507fa6
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x507fb0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x50805e
push 0xf01ff
mov eax, ebx
call fcn.00404d28
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x50805e
xor eax, eax
push ebp
push 0x50803b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50805e
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x514360
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 4], 0xffffffff
push 0xf003f
push 0x514410
push 0x514420
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x5143ff
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x14
push 0x514424
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5143e1
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x5143ca
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5143e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x5146b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d18
xor eax, eax
push ebp
push 0x51479d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408dd0
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, 0x5147b4
call fcn.00408dd0
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00404e6c
test eax, eax
jg 0x51472b
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00408dd0
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, 0x5147c4
call fcn.00408dd0
mov eax, dword [ebp - 0x18]
pop edx
call fcn.00404e6c
test eax, eax
jle 0x514782
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x5147d4
call fcn.0040a4d0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebx + 0x310]
mov eax, dword [eax + 0x22c]
call fcn.00452fdc
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00452a7c
mov edx, 0x5147f0
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5147a4
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040488c
ret

Function at 0x51480c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d18
lea edi, [ebp - 0x148]
xor eax, eax
push ebp
push 0x514908
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
lea eax, [ebp - 0x14c]
mov ecx, 0x514920
mov edx, dword [ebp - 4]
call fcn.00404b74
mov eax, dword [ebp - 0x14c]
call fcn.00404d28
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
setne al
jmp 0x5148d3
cmp byte [ebx + 0x314], 0
je 0x5148d7
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048da60
lea eax, [ebp - 8]
lea edx, [edi + 0x2c]
mov ecx, 0x104
call fcn.00404ad8
push dword [ebp - 4]
push 0x514930
push dword [ebp - 8]
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.00404be8
mov edx, dword [ebp - 0x150]
mov eax, ebx
call fcn.005146b0
push edi
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x514879
push esi
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51490f
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.0040488c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040488c
ret
Function at 0x515154
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51528e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041bc20
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x5151d0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5151d0
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408c90
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x55bea4]
mov ebx, dword [ebx]
mov eax, 0x5152a4
call ebx
dec eax
jne 0x5151d0
mov ebx, 1
jmp 0x5151d2
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x515273
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004b42f0
test al, al
jne 0x515267
mov eax, dword [ebp - 4]
call fcn.00515148
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.004048bc
xor edx, edx
push ebp
push 0x515255
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x51524b
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00515568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x515267
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x5151ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515295
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040488c
ret
Function at 0x518cc8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x518cd0
xor eax, eax
push ebp
push 0x518da1
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040b568
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 4]
mov eax, 0x518db4
call fcn.0040c26c
lea edx, [ebp - 0x18]
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048e21c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409adc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, 0x518dcc
call fcn.00404b74
mov eax, dword [ebp - 8]
call fcn.0040992c
test al, al
jne 0x518d3c
mov eax, dword [ebp - 8]
call fcn.00409dd8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x518de0
call fcn.0040a4d0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, 0x518dfc
call fcn.00404b74
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404d28
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518da8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040488c
ret
Function at 0x54c8d4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x54c98e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43efdc]
call fcn.0043f0dc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54c96c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0043f17c
mov cl, 1
mov edx, 0x54c9a4
mov eax, dword [ebp - 4]
call fcn.0043f1e4
test al, al
je 0x54c956
lea edx, [ebp - 0xc]
mov eax, dword [0x55c428]
mov eax, dword [eax]
call fcn.0048e21c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00409ba4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f480
mov eax, dword [0x55bf60]
mov byte [eax + 0xc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c973
mov eax, dword [ebp - 4]
call fcn.00403a34
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x5f00bf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5f00da
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b52ff]
pop edx
test eax, eax
je 0x5f01ac
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5f019b
test dword [ebp - 0x2a8], 1
jne 0x5f019b
and dword [ebp - 0x2a8], 0x100
jne 0x5f019b
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2b74]
pop edx
pop esi
test eax, eax
je 0x5f013e
jmp 0x5f019b
cmp word [esi], 0x5a4d
jne 0x5f019b
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5f019b
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2d48]
pop edx
test eax, eax
je 0x5f019b
lea eax, [ebp - 0x28c]
push eax
call fcn.005f001b
test eax, eax
jne 0x5f0194
jmp 0x5f019b
mov eax, esi
jmp 0x5f01ac
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5f00da
pop esi
leave
ret 4
Function at 0x9449a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x988e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x9a2014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x9a30ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.009580c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x9a2a8c
push eax
call fcn.009580c0
mov esi, dword [0x9a30fc]
xor ebx, ebx
mov edi, dword [0x9a3100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x9a6390], bl
mov eax, ebx
mov ecx, 0x9a30ec
cmovae ecx, dword [0x9a30ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x9a64a0], al
inc ebx
cmp ebx, 0x100
jl 0x944a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x9a6390]
movzx eax, byte [esi + 0x9a64a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x944a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x9a6390]
mov byte [esi + 0x9a6390], al
inc esi
mov byte [edi + 0x9a6390], dl
cmp esi, 0x100
jl 0x944a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00944690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x944ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x944abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x944b1f
push edx
push ecx
call fcn.0095d663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x944b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x944b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x944b1f
push edx
push ecx
call fcn.0095d663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00976c6a
int3
Function at 0x9470a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x9a2014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x6308b9
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x947289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x947289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.009740f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x63099f
nop
test eax, eax
je 0x947289
push 4
push 0x1000
push 4
push 0
call 0x6301d4
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x4900bc
nop
test eax, eax
je 0x947289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x998df8
push dword [esp + 0x30]
call 0x4904fe
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x9471ac
push 0x998dfc
push 0x998e14
call 0x5e0caf
nop
push eax
call 0x490276
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x4902f8
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x947289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x630810
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x947243
mov dword [esp + 0xc], eax
call fcn.00946ef0
push eax
call 0x550627
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x630810
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x9471f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x630810
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x490724
nop
push dword [esp + 0x24]
call 0x5e0e08
nop
push 0x8000
push 0
push esi
call 0x630783
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0095cff1
mov esp, ebp
pop ebp
ret