joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406acc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406b5b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x406b0c
lea eax, [ebp - 8]
mov edx, 0x406b74
call fcn.004037b4
mov eax, dword [ebp - 8]
call fcn.00403894
push eax
lea eax, [ebp - 8]
call fcn.00403aec
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov dword [0x4136c4], eax
cmp dword [0x4136c4], 0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b62
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret

Function at 0x406b78
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406bdb
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov dword [0x4136c4], eax
cmp dword [0x4136c4], 0
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406be2
lea eax, [ebp - 4]
call fcn.0040371c
ret

Function at 0x406bec
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x406c82
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4136c0
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.00403a94
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x4136c4], eax
mov eax, dword [ebp - 8]
call fcn.00403a94
push eax
mov eax, dword [0x4136c0]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov dword [0x4136c4], eax
cmp dword [0x4136c4], 0
sete bl
mov eax, dword [0x4136c0]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c89
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret
Function at 0x406f1c
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
xor eax, eax
push ebp
push 0x40714d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x407160
mov edx, dword [0x413adc]
call fcn.004038e0
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x407178
mov edx, 0x40718c
mov eax, 0x80000002
call fcn.004067f8
lea eax, [ebp - 8]
mov ecx, 0x407160
mov edx, dword [0x413adc]
call fcn.004038e0
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x407178
mov edx, 0x4071c4
mov eax, 0x80000001
call fcn.004067f8
lea eax, [ebp - 0xc]
mov ecx, 0x407160
mov edx, dword [0x413adc]
call fcn.004038e0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x407178
mov edx, 0x40720c
mov eax, 0x80000002
call fcn.004067f8
lea eax, [ebp - 0x10]
mov ecx, 0x40724c
mov edx, dword [0x413adc]
call fcn.004038e0
mov eax, dword [ebp - 0x10]
push eax
mov edx, 0x40718c
mov ecx, 0x407260
mov eax, 0x80000001
call fcn.004067f8
lea eax, [ebp - 0x14]
mov ecx, 0x407270
mov edx, dword [0x413adc]
call fcn.004038e0
mov eax, dword [ebp - 0x14]
push eax
mov edx, 0x4071c4
mov ecx, 0x407288
mov eax, 0x80000002
call fcn.004067f8
cmp byte [0x413b40], 0
jne 0x407132
push 0
mov ecx, 0x40729c
mov edx, 0x4072b4
mov eax, 0x80000002
call fcn.004067f8
push 0x4072e8
mov edx, 0x4072b4
mov ecx, 0x4072f8
mov eax, 0x80000002
call fcn.004067f8
push 0x407310
mov edx, 0x4072b4
mov ecx, 0x40734c
mov eax, 0x80000002
call fcn.004067f8
push 0x407360
mov edx, 0x4072b4
mov ecx, 0x40737c
mov eax, 0x80000002
call fcn.004067f8
push 0x407390
mov edx, 0x4072b4
mov ecx, 0x4073a4
mov eax, 0x80000002
call fcn.004067f8
push 0x4073b4
mov edx, 0x4072b4
mov ecx, 0x4073c8
mov eax, 0x80000002
call fcn.004067f8
lea eax, [ebp - 0x18]
mov ecx, 0x407160
mov edx, dword [0x413adc]
call fcn.004038e0
mov eax, dword [ebp - 0x18]
push eax
mov edx, 0x4072b4
mov ecx, 0x4073dc
mov eax, 0x80000002
call fcn.004067f8
push 1
mov edx, 0x4072b4
mov ecx, 0x4073f0
mov eax, 0x80000002
call fcn.004068e8
push 3
mov edx, 0x4072b4
mov ecx, 0x407408
mov eax, 0x80000002
call fcn.004068e8
push 2
mov edx, 0x4072b4
mov ecx, 0x407424
mov eax, 0x80000002
call fcn.004068e8
push 0x120
mov edx, 0x4072b4
mov ecx, 0x407434
mov eax, 0x80000002
call fcn.004068e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407154
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403740
ret
Function at 0x4075dc
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_QueryPerformanceFrequency
lea eax, [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
adc edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.004075d8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
jne 0x40762c
cmp eax, dword [ebp - 0x20]
jb 0x407611
jmp 0x40762e
jl 0x407611
call fcn.004075d8
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40b4e4
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x40b4ec
push ecx
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x40b6df
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40b6c4
mov dword [ebp - 0xc], 0x7e0
mov eax, dword [ebp - 0xc]
call fcn.004024d0
mov esi, eax
mov eax, esi
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00402bd8
mov dword [ebp - 8], 0x3f
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
je 0x40b562
cmp eax, 0xea
jne 0x40b6b4
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x40b53a
inc eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov edi, ebx
shl edi, 2
test byte [esi + edi*8 + 0xc], 2
je 0x40b584
lea eax, [esi + edi*8]
call fcn.0040b4e4
cmp dword [esi + edi*8 + 8], 3
jne 0x40b6a5
lea eax, [ebp - 0x14]
mov edx, dword [esi + edi*8 + 0x14]
call fcn.0040384c
mov edx, dword [ebp - 0x14]
mov eax, 0x413afc
mov ecx, 0x40b6f8
call fcn.004038e0
inc dword [0x413b28]
mov eax, dword [0x413b28]
cmp eax, dword [0x413b2c]
jl 0x40b6a5
mov eax, dword [0x413b28]
push eax
mov ecx, 0x40b704
mov edx, 0x40b714
mov eax, 0x80000002
call fcn.004068e8
mov eax, dword [0x413afc]
push eax
mov edx, 0x40b714
mov ecx, 0x40b75c
mov eax, 0x80000002
call fcn.004067f8
xor eax, eax
mov dword [0x413b24], eax
mov word [0x41213c], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x413ad8]
call fcn.00403894
mov ecx, eax
mov edx, 3
mov eax, dword [0x413afc]
call fcn.00403af4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004053b8
mov eax, dword [ebp - 0x18]
mov edx, dword [0x413ad8]
call fcn.004039e0
jne 0x40b65f
lea eax, [ebp - 0x20]
mov ecx, dword [0x413afc]
mov edx, 0x40b76c
call fcn.004038e0
mov eax, dword [ebp - 0x20]
call fcn.00411020
jmp 0x40b684
mov eax, dword [0x413afc]
call fcn.0040acc4
lea eax, [ebp - 0x24]
mov ecx, dword [0x413afc]
mov edx, 0x40b780
call fcn.004038e0
mov eax, dword [ebp - 0x24]
call fcn.00411020
xor eax, eax
mov dword [0x413b20], eax
mov eax, dword [0x413b20]
push eax
mov edx, 0x40b714
mov ecx, 0x40b790
mov eax, 0x80000002
call fcn.004068e8
inc ebx
dec dword [ebp - 0x10]
jne 0x40b570
jmp 0x40b53a
mov eax, esi
call fcn.004024f0
mov eax, dword [ebp - 4]
push eax
call sub.mpr.dll_WNetCloseEnum
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b6e6
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00403740
ret
Function at 0x40b9a0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00403a84
mov eax, dword [ebp - 8]
call fcn.00403a84
xor eax, eax
push ebp
push 0x40bb38
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403894
test eax, eax
jle 0x40ba2a
lea eax, [ebp - 4]
mov edx, 0x40bb50
call fcn.0040389c
push 0
mov eax, dword [ebp - 4]
call fcn.00403894
push eax
lea eax, [ebp - 4]
call fcn.00403aec
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
test bl, bl
jne 0x40ba2a
mov edx, esi
mov eax, edi
call fcn.00405370
jmp 0x40bb12
lea eax, [ebp - 0x108]
xor ecx, ecx
mov edx, 0xff
call fcn.00402bd8
push 0
push 0xff
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
push eax
call sub.wsock32.dll_recv
mov edi, eax
inc edi
je 0x40bb06
mov eax, esi
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040387c
mov eax, dword [ebp - 8]
call fcn.00403894
cmp eax, 3
jne 0x40bb12
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, byte [ebp - 0x108]
jne 0x40baab
mov eax, dword [ebp - 8]
mov al, byte [eax + 1]
cmp al, byte [ebp - 0x107]
jne 0x40baab
mov eax, dword [ebp - 8]
mov al, byte [eax + 2]
cmp al, byte [ebp - 0x106]
je 0x40bb12
push 0x40bb5c
push dword [ebp - 4]
push 0x40bb70
push dword [ebp - 8]
push 0x40bb84
push 0x40bb50
push dword [esi]
push 0x40bb50
push dword [0x493b68]
lea eax, [ebp - 0x10c]
mov edx, 9
call fcn.00403954
mov eax, dword [ebp - 0x10c]
call fcn.00411020
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffc
call fcn.004061e4
mov eax, esi
mov edx, 0x40bb90
call fcn.00403770
jmp 0x40bb12
mov eax, esi
mov edx, 0x40bb90
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb3f
lea eax, [ebp - 0x10c]
call fcn.0040371c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret
Function at 0x40c1b0
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0
push 0x40c1f0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
push 0x40c1fc
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
push 0x40c21c
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x40c9ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40ca42
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfa
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.0040387c
mov edx, dword [ebp - 4]
mov eax, 0x40ca58
call fcn.00403b7c
test eax, eax
jne 0x40ca2a
mov edx, dword [ebp - 4]
mov eax, 0x40ca68
call fcn.00403b7c
test eax, eax
jne 0x40ca2a
mov edx, dword [ebp - 4]
mov eax, 0x40ca7c
call fcn.00403b7c
test eax, eax
jne 0x40ca2a
xor ebx, ebx
jmp 0x40ca2c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca49
lea eax, [ebp - 4]
call fcn.0040371c
ret

Function at 0x40ca8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x40ca94
push ebx
push esi
xor eax, eax
push ebp
push 0x40cd5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 1
push 0
push 0
lea eax, [ebp - 0x14]
mov ecx, dword [0x413af0]
mov edx, 0x40cd74
call fcn.004038e0
mov eax, dword [ebp - 0x14]
call fcn.00403a94
push eax
push 0x40cd7c
push 0
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
cmp ebx, 0x20
jae 0x40cb0a
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00405390
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x40cd8c
call fcn.004038e0
mov eax, dword [ebp - 0x18]
call fcn.00411020
xor ebx, ebx
call fcn.0040c9ac
test al, al
jne 0x40cb25
inc ebx
push 0x258
call sub.KERNEL32.DLL_Sleep
cmp bl, 0xa
jb 0x40cb0c
xor esi, esi
cmp bl, 0xa
jb 0x40cba5
push 0
push 0x40cd98
call sub.user32.dll_FindWindowA
mov esi, eax
test esi, esi
jne 0x40cb4c
push 0
push 0x40cda4
call sub.user32.dll_FindWindowA
mov esi, eax
push esi
call sub.user32.dll_SetForegroundWindow
call fcn.0040c9ac
test al, al
invalid
jne 0x40cb9b
push 1
push 0
push 0x3e8
call sub.KERNEL32.DLL_Sleep
Function at 0x40f17c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x40f2e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.0040272c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004053f4
mov edx, dword [ebp - 4]
mov eax, 0x413ae8
call fcn.00403770
cmp byte [0x413b41], 0
jne 0x40f1d8
mov eax, dword [0x413ae8]
push eax
mov ecx, 0x40f2fc
mov edx, 0x40f30c
mov eax, 0x80000002
call fcn.004067f8
cmp byte [0x413b41], 0
je 0x40f1eb
call fcn.0040f3bc
jmp 0x40f2c9
xor ebx, ebx
push 0
push 0x40f34c
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x40f20b
push 0x3e8
call sub.KERNEL32.DLL_Sleep
jmp 0x40f1ed
push 0xea60
call sub.KERNEL32.DLL_Sleep
push 0
push 0x40f35c
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0x40f364
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x40f242
push 0x40f370
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
test esi, esi
je 0x40f2a7
push 0x40f37c
push esi
call sub.KERNEL32.DLL_GetProcAddress
test eax, eax
je 0x40f2a7
call eax
push 0xbb8
call sub.KERNEL32.DLL_Sleep
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
push 0x1f4
call sub.KERNEL32.DLL_Sleep
push 0
push 0xd
push 0x101
push ebx
call sub.user32.dll_SendMessageA
push 0xc8
call sub.KERNEL32.DLL_Sleep
mov eax, 0x40f38c
call fcn.00404db8
push 0x3e8
call sub.KERNEL32.DLL_Sleep
mov edx, 0x40f394
mov eax, 0x413b54
mov ecx, 0xbb8
call fcn.0040656c
test al, al
je 0x40f2c9
call fcn.0040f3bc
call fcn.00410f24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f2eb
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403740
ret
Function at 0x411020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a84
xor eax, eax
push ebp
push 0x4110ea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x413b48], 0
jne 0x411052
call fcn.00410fe0
push 2
push 0
push 0
mov eax, dword [0x413b48]
push eax
call sub.KERNEL32.DLL_SetFilePointer
cmp eax, 0xffffffff
jne 0x41106d
call fcn.00410fe0
lea edx, [ebp - 0xc]
mov al, byte [0x413b42]
call fcn.00405430
push dword [ebp - 0xc]
push 0x411100
push dword [ebp - 4]
push 0x41110c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403954
mov byte [0x413b42], 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403894
push eax
lea eax, [ebp - 4]
call fcn.00403aec
push eax
mov eax, dword [0x413b48]
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
jne 0x4110cc
mov dword [ebp - 8], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4110f1
lea eax, [ebp - 0xc]
call fcn.0040371c
lea eax, [ebp - 4]
call fcn.0040371c
ret
Function at 0x10001d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
xor eax, eax
push esi
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
push edi
mov ecx, 0x3d69ba70
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], 0
call fcn.1001aa50
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
sete al
test al, al
je 0x10001dc3
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x100248c4
sub edi, 0x7e80af00
lea esi, [ebp - 0x230]
call fcn.1001aad0
lea edx, [ebp - 0x108]
push edx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x234], eax
jmp 0x10001df1
mov ecx, 0x3d69ba70
lea eax, [ebp - 0x218]
call fcn.1001aa50
push eax
call esi
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], ax
cmp dword [ebp - 0x234], 0
jne 0x10001e28
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
mov dword [ebx], edx
mov dword [ebx + 4], eax
pop edi
mov dword [ebx + 8], ecx
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e772
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x238]
push edx
call esi
mov edi, 0x4bddd70d
lea esi, [ebp - 0x230]
mov dword [ebp - 0x238], eax
call fcn.1001ab10
push eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x238]
push 0xc
lea ecx, [ebp - 0x244]
mov esi, eax
xor eax, eax
push ecx
push edx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x21c], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp - 0x23c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [ebx + 8], edx
mov eax, ebx
pop esi
call fcn.1001e772
mov esp, ebp
pop ebp
ret 4

Function at 0x10002cc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10028c78
push 0x1001edb9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1002c018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], 0
push 0xa
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
push 0xa
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [edi]
mov dword [esi], edx
mov al, byte [edi + 4]
mov byte [esi + 4], al
add esi, 5
mov byte [esi], 0xe9
mov ecx, edi
sub ecx, esi
mov dword [esi + 1], ecx
lea edx, [ebp - 0x1c]
push edx
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edi], 0xe9
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 5
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esi - 5]
jmp 0x10002dd9
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [esi + 5]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
lea eax, [esi + 5]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [esi + 5]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
push ebx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
lea edx, [ebp - 4]
push edx
add ebx, esi
push 0x40
mov eax, edi
sub eax, ebx
push esi
lea ecx, [eax + esi - 5]
push edi
mov byte [ebx], 0xe9
mov dword [ebx + 1], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edi
mov byte [edi], 0xe9
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, ebx
sub eax, esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002ea0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push eax
push esi
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10002ef0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002f36
push str.Error:_Unable_to_create_toolhelp_snapshot_
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e772
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10002f24
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x10002f60
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002f88
test dl, dl
je 0x10002f84
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002f88
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002f68
xor eax, eax
jmp 0x10002f8d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002faf
lea ecx, [ebp - 0x130]
push ecx
push esi
call ebx
test eax, eax
jne 0x10002f60
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001e772
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e772
mov esp, ebp
pop ebp
ret