joyce8/EMBER2024-capa huggingface dataset:
Function at 0x583a6c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x4008
cmp byte [ebp - 6], 0
je 0x583a8f
or dword [ebp - 0x10], 2
cmp byte [ebp - 5], 0
je 0x583a9b
or dword [ebp - 0x10], 0
jmp 0x583a9f
or dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
push eax
push 0x160
lea eax, [ebp - 0x170]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x583ea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x584022
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x61b468]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x1a], ax
mov eax, dword [0x61b468]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00488c78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x26c]
call fcn.0044b724
xor eax, eax
push ebp
push 0x584005
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x583f62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00406ff4
push eax
mov eax, dword [ebp - 4]
call fcn.00583b40
push eax
mov eax, dword [0x61b070]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x583f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404b30
jmp 0x58400c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x583fab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0044b304
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00583c50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x583f7d
push 0
mov edx, 0x583acc
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0044aebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58400c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x26c]
call fcn.0044b770
mov eax, dword [0x61b468]
mov eax, dword [eax]
mov dx, word [ebp - 0x1a]
call fcn.00488c78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x584029
lea eax, [ebp - 0x10]
call fcn.00406ff4
ret
Function at 0x584340
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x584543
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov dl, byte [ebp - 5]
call fcn.0046ab30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov dl, byte [ebp - 5]
call fcn.0046ab30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov dl, byte [ebp - 5]
call fcn.0046ab30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov dl, byte [ebp - 5]
call fcn.0046ab30
cmp byte [ebp - 5], 0
jne 0x5843d9
mov edx, 0x13a
mov eax, dword [ebp - 4]
call fcn.0046a3cc
jmp 0x584488
xor eax, eax
push ebp
push 0x584467
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.0048c77c
lea eax, [ebp - 0x170]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405628
mov eax, dword [ebp - 0x170]
mov edx, 0x58455c
call fcn.00405514
jb 0x58444c
lea eax, [ebp - 0x174]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405628
mov eax, dword [ebp - 0x174]
mov edx, 0x584568
call fcn.00405514
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [ebp - 0xc]
call fcn.00580478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x584488
mov eax, dword [ebp - 4]
cmp dword [eax + 0x338], 0
setne dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.0046ab30
xor eax, eax
mov dword [0xbc6b10], eax
push 0x4001
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x17c]
call fcn.004972c0
mov eax, dword [ebp - 0x17c]
mov ecx, 3
mov edx, 1
call fcn.00405628
mov eax, dword [ebp - 0x178]
call fcn.004055c8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
mov eax, dword [0xf9741c]
call fcn.00477e04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [0xf9741c]
call fcn.0044d970
mov eax, dword [ebp - 4]
call fcn.00584030
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58454a
lea eax, [ebp - 0x17c]
mov edx, 4
call fcn.0040512c
lea eax, [ebp - 0xc]
call fcn.00405108
ret
Function at 0x58456c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x584675
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x5845b7
mov eax, dword [ebp - 8]
call fcn.0044adf8
test eax, eax
jg 0x58465a
cmp byte [ebp - 9], 0
je 0x584645
mov eax, dword [ebp - 0x10]
call fcn.0057eb84
test al, al
je 0x5845f2
mov eax, dword [ebp - 8]
call fcn.0044a688
test al, al
je 0x5845f2
mov eax, dword [ebp - 8]
call fcn.0044aa84
test eax, eax
jne 0x5845f2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00583ea0
jmp 0x584645
mov eax, dword [ebp - 0x10]
call fcn.0057eb84
test al, al
jne 0x584645
push 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0057ebd4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0040ac24
mov eax, dword [ebp - 0x14]
call fcn.004055c8
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0057ebd4
mov eax, dword [ebp - 0x1c]
call fcn.004055c8
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00471468
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 8]
call fcn.0044aa84
test eax, eax
setg dl
mov eax, dword [ebp - 8]
call fcn.0044a6f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58467c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040512c
ret

Function at 0x5873d4
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004055b8
xor eax, eax
push ebp
push 0x587452
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004055c8
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x58741d
mov eax, dword [ebx + 4]
call fcn.004055c8
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x587459
lea eax, [ebp - 4]
call fcn.00405108
ret
Function at 0x588424
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5885c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402c18
cmp word [ebx + 0xa2], 0
je 0x58846d
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x588481
lea esi, [ebp - 8]
jmp 0x588483
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x588490
xor edi, edi
jmp 0x58849d
mov eax, dword [ebx + 0x80]
call fcn.004055c8
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.004055c8
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00587b8c
mov eax, dword [ebp - 0x14]
call fcn.004055c8
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.004055c8
push eax
mov eax, dword [ebp - 0x10]
call fcn.004055c8
push eax
mov eax, ebx
call fcn.00587cc0
push eax
mov eax, ebx
call fcn.00587c94
push eax
mov eax, ebx
call fcn.00587c48
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00587a58
mov eax, dword [ebp - 0x18]
call fcn.004055c8
push eax
mov eax, dword [ebx + 8]
call fcn.004055c8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x588526
call fcn.0040ff04
xor edx, edx
push ebp
push 0x58859f
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x588564
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x58855a
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x588588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5885a6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x5885d0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x5885fc
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004055c8
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x588621
call fcn.0040ff04
xor eax, eax
push ebp
push 0x588658
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x588641
call fcn.0040ff04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58865f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x59a3f8
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x6178f4], 0
mov eax, dword [0x61b4ac]
cmp dword [eax], 2
jne 0x59a5d1
mov eax, dword [0x61ac3c]
cmp dword [eax], 5
jl 0x59a5d1
call fcn.00597084
test al, al
jne 0x59a429
call fcn.0059709c
call fcn.00597070
mov dword [0x6178fc], eax
push 0x59a5d4
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178c0], eax
cmp dword [0x6178c0], 0
jne 0x59a484
mov edx, 0x8000
mov eax, 0x59a5e8
call fcn.0041052c
mov dword [0x6178f8], eax
mov eax, dword [0x6178f8]
mov dword [0x6178fc], eax
push 0x59a5d4
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178c0], eax
cmp dword [0x6178c0], 0
je 0x59a5cc
push 0x59a5f4
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178c4], eax
cmp dword [0x6178c4], 0
je 0x59a5cc
push 0x59a600
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178c8], eax
cmp dword [0x6178c8], 0
je 0x59a5cc
mov byte [0x6178f4], 1
push 0x59a610
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178cc], eax
push 0x59a61c
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178d0], eax
push 0x59a628
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178d4], eax
push 0x59a638
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178d8], eax
push 0x59a648
mov eax, dword [0x6178fc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178dc], eax
mov edx, 0x8000
mov eax, 0x59a660
call fcn.0041052c
mov dword [0x617900], eax
cmp dword [0x617900], 0
je 0x59a5d1
push 0x59a670
mov eax, dword [0x617900]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178e0], eax
push 0x59a68c
mov eax, dword [0x617900]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178e4], eax
push 0x59a6ac
mov eax, dword [0x617900]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178e8], eax
push 0x59a6c8
mov eax, dword [0x617900]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178ec], eax
push 0x59a6e0
mov eax, dword [0x617900]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6178f0], eax
ret
call fcn.0059a35c
ret
Function at 0x59c7fc
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x59c951
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x3a]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0059c6d0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00406680
add eax, 0x28
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x58c980]
call fcn.0040683c
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x2a]
mov ecx, 0x1c
call fcn.00402a8c
mov dword [ebp - 0x14], 0x1c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea edx, [eax + edx]
lea eax, [ebp - 0x3a]
mov ecx, 0x1c
call fcn.00402a8c
add dword [ebp - 0x14], 0x1c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00406680
mov dword [ebp - 0x18], eax
mov eax, dword [0x61b340]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0058e6b0
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, edx
xor ecx, ecx
mov edx, 3
call fcn.0040345c
add dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov byte [eax + edx], 0x3a
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov byte [eax + 2], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00406680
push eax
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
call fcn.0058e5c4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov word [ebp - 0x1a], ax
mov ax, word [ebp - 0x1a]
call fcn.0058e20c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
call fcn.0058e688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59c958
lea eax, [ebp - 0x10]
mov edx, dword [0x58c980]
call fcn.0040693c
ret

Function at 0x59ffa0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x59fffd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.004055c8
push eax
mov eax, dword [ebp - 4]
call fcn.004055c8
push eax
call sub.KERNEL32.DLL_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0004
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
Function at 0x5a000c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a0096
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00405754
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004055c8
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x5a0078
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405754
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00590738
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040515c
jmp 0x5a0080
mov eax, dword [ebp - 4]
call fcn.00405108
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a009d
lea eax, [ebp - 0xc]
call fcn.00405108
ret

Function at 0x5a2470
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, 0x10
call fcn.00405754
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004053c8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004055c8
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x5a24b6
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405754
pop ecx
pop ecx
pop ebp
ret

Function at 0x5a346c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a34f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00409e68
mov eax, dword [ebp - 0x14]
mov ebx, dword [0x61a950]
mov ebx, dword [ebx]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5a34d4
mov edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp - 0xc]
call fcn.00405754
jmp 0x5a34de
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00405754
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a34fb
lea eax, [ebp - 0x14]
call fcn.00405108
ret

Function at 0x5b8de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
test byte [eax + 1], 0x80
setne byte [ebp - 0xa]
mov eax, dword [ebp - 8]
mov ax, word [eax]
add eax, eax
xor edx, edx
mov dl, byte [ebp - 9]
shr edx, 7
or ax, dx
mov edx, dword [ebp - 8]
mov word [edx], ax
cmp byte [ebp - 0xa], 0
je 0x5b8e28
mov eax, dword [ebp - 8]
xor word [eax], 0x1021
mov al, byte [ebp - 9]
add eax, eax
and al, 0xff
mov byte [ebp - 9], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 9
jne 0x5b8df6
mov esp, ebp
pop ebp
ret
Function at 0x5cd8e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5cd9dc
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x58c980]
call fcn.0040683c
add esp, 4
mov al, byte [ebp - 0xc]
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], al
mov eax, dword [ebp - 0xc]
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 1], al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 2], al
mov eax, dword [ebp - 0xc]
shr eax, 0x18
and al, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx + 3], al
mov eax, dword [ebp - 8]
call fcn.00406680
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x58c980]
call fcn.0040683c
add esp, 4
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5cd9c0
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
and eax, 0x80000003
jns 0x5cd99e
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx], al
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x5cd98f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cd9e3
lea eax, [ebp - 0x10]
mov edx, dword [0x58c980]
call fcn.0040693c
ret
Function at 0x607f48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x607fb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00607f2c
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00604d90
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00604914
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x607fc0
lea eax, [ebp - 0x14]
call fcn.00405108
ret
Function at 0x34960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x78cd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x92014]
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, 0x930bc
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00047f30
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x92a8c
push eax
call fcn.00047f30
mov esi, dword [0x930cc]
xor ebx, ebx
mov edi, dword [0x930d0]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x96360], bl
mov eax, ebx
mov ecx, 0x930bc
cmovae ecx, dword [0x930bc]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x96470], al
inc ebx
cmp ebx, 0x100
jl 0x349e0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x96360]
movzx eax, byte [esi + 0x96470]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x34a34
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x96360]
mov byte [esi + 0x96360], al
inc esi
mov byte [edi + 0x96360], dl
cmp esi, 0x100
jl 0x34a10
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00034650
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x34a89
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x34a7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x34adf
push edx
push ecx
call fcn.0004d593
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 0x34acb
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x34ac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x34adf
push edx
push ecx
call fcn.0004d593
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.00066b9a
int3