joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405000
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0x4d7820
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 2]
mov word [eax + 2], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 4]
mov word [eax + 4], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 6]
mov word [eax + 6], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 8]
mov word [eax + 8], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0xa]
mov word [eax + 0xa], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0xc]
mov word [eax + 0xc], dx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx + 0xc]
mov word [eax], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0xe]
mov word [eax + 0xe], dx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx + 0xe]
mov word [eax + 2], dx
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 5], 0x10
movzx ecx, byte [ebp - 5]
cmp ecx, 0xb0
jge 0x4051a7
movzx edx, byte [ebp - 5]
and edx, reloc.WS2_32.dll_ntohs
jns 0x4050d6
dec edx
or edx, 0xfffffff0
inc edx
test edx, edx
jne 0x405149
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
mov cl, byte [ebp - 0x13]
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x12], al
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x14]
mov al, byte [edx + 0x4b4980]
mov byte [ebp - 0x14], al
movzx ecx, byte [ebp - 0x13]
mov dl, byte [ecx + 0x4b4980]
mov byte [ebp - 0x13], dl
movzx eax, byte [ebp - 0x12]
mov cl, byte [eax + 0x4b4980]
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x11]
mov al, byte [edx + 0x4b4980]
mov byte [ebp - 0x11], al
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
xor ecx, edx
mov edx, dword [ebp - 0x18]
mov word [edx], cx
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx - 0x10]
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
xor ecx, edx
mov edx, dword [ebp - 0x18]
mov word [edx], cx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax - 0xe]
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 2]
xor eax, ecx
mov ecx, dword [ebp - 0x18]
mov word [ecx + 2], ax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov cx, word [eax]
mov word [edx], cx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov cx, word [eax + 2]
mov word [edx + 2], cx
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 5]
add eax, 4
mov byte [ebp - 5], al
jmp 0x4050b5
mov esp, ebp
pop ebp
ret
Function at 0x4051d0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
pop ebp
ret
Function at 0x40b8d0
Capabilities:
Get disk information

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x10]
push ebp
xor ebp, ebp
call fcn.0040b8a0
mov dword [esp + 4], eax
test eax, eax
jne 0x40b8f4
mov eax, dword [esp + 0x1c]
mov dword [eax], ebp
xor eax, eax
pop ebp
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx]
push esi
mov esi, dword [sym.imp.MSVCR120.dll_malloc]
lea edx, [ecx*4 + 4]
push edi
push edx
call esi
mov edi, dword [esp + 0x28]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x40b924
pop edi
pop esi
mov dword [ebx], ebp
pop ebx
pop ebp
add esp, 0xc
ret
mov ecx, dword [ebx]
lea edx, [ecx*4 + 4]
push edx
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x8000
call esi
push 0x8000
mov esi, eax
push 0
push esi
mov dword [esp + 0x30], esi
call sub.MSVCR120.dll_memset
add esp, 0x1c
push 0x8000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x40b97b
push esi
mov dword [ebx], ebp
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0xc
ret
lea eax, [esi + 0x8000]
mov ebx, esi
cmp esi, eax
jae 0x40ba9f
jmp 0x40b990
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b995
sub eax, edx
je 0x40ba9f
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
jmp 0x40b9b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b9b0
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.MSVCR120.dll__memicmp]
add esp, 0xc
test eax, eax
jne 0x40ba7f
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b9d6
sub eax, edx
add eax, 9
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov ecx, dword [edi]
mov dword [ecx + ebp*4], eax
mov eax, ebx
add esp, 4
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b9f6
mov edx, dword [edi]
sub eax, esi
add eax, 4
push eax
mov eax, dword [edx + ebp*4]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, ebx
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ba18
mov ecx, dword [edi]
mov edx, dword [ecx + ebp*4]
sub eax, esi
add eax, 4
mov dword [edx], eax
mov eax, dword [edi]
mov eax, dword [eax + ebp*4]
mov ecx, dword [str.._]
add eax, 4
mov dword [eax], ecx
mov dl, byte [0x4b4c94]
mov byte [eax + 4], dl
mov eax, ebx
mov esi, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ba48
mov ecx, dword [edi]
mov edi, dword [ecx + ebp*4]
sub eax, esi
add edi, 3
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40ba60
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
inc ebp
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ba84
sub eax, edx
lea ebx, [ebx + eax + 1]
lea eax, [esi + 0x8000]
cmp ebx, eax
jb 0x40b990
mov edx, dword [esp + 0x28]
push esi
mov dword [edx], ebp
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0xc
ret
Function at 0x40d560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x188], ecx
mov eax, dword [ebp - 0x188]
mov dword [eax], 0x58
mov ecx, dword [ebp - 0x188]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x188]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x188]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x188]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x188]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x188]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x188]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x188]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x188]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x188]
mov dword [ecx + 4], 0
push 0x80
push 0
mov edx, dword [ebp - 0x188]
add edx, 0x2c
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 1
imul edx, ecx, 3
mov dword [ebp - 0x18c], edx
cmp dword [ebp - 0x18c], 0x80
jae 0x40d650
jmp 0x40d655
call fcn.00498f50
mov eax, dword [ebp - 0x18c]
mov byte [ebp + eax - 0x84], 0
push 0x80
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x194]
push edx
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x190]
push ecx
push 0x80
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x190]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret
Function at 0x4117c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x140], 0
mov eax, dword [str.EXPLORER.EXE]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4a5470]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x4a5474]
mov dword [ebp - 0xc], edx
mov al, byte [0x4a5478]
mov byte [ebp - 8], al
mov dword [ebp - 0x13c], 0
push 0x124
push 0
lea ecx, [ebp - 0x138]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xffffffff
jne 0x41183e
xor eax, eax
jmp 0x41193e
mov dword [ebp - 0x13c], 0x128
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x140]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x411873
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41193e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x134], eax
jne 0x41188d
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x144], edx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x411873
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x140]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4118cc
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41193e
mov edx, dword [ebp - 0x134]
cmp edx, dword [ebp - 0x144]
jne 0x411918
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCR120.dll__strrev]
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR120.dll__strrev]
add esp, 4
push 0xc
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCR120.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x411918
mov eax, 1
jmp 0x41193e
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4118cc
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret
Function at 0x431e10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b84c
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4e4640], 1
je 0x431f92
push 0xa0
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x164]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov dword [ebp - 4], 0
push 0x18
lea ecx, [ebp - 0x164]
call dword [sym.imp.mfc120.dll_Ordinal_8308]
mov ecx, dword [ebp - 0x164]
push ecx
push 0x4a7548
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
push 0x4a754c
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4000
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
je 0x431f7f
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4e4644], eax
cmp dword [0x4e4644], 0
jne 0x431f02
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x16c], eax
jmp 0x431f7f
push str.DSM_Entry
mov eax, dword [0x4e4644]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e464c], eax
cmp dword [0x4e464c], 0
jne 0x431f2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x16c], eax
jmp 0x431f7f
push 0x4e478c
push 0x301
push 4
push 1
push 0
push 0x4e4650
call dword [0x4e464c]
mov word [ebp - 0x160], ax
movzx ecx, word [ebp - 0x160]
mov dword [ebp - 0x168], ecx
cmp dword [ebp - 0x168], 0
je 0x431f69
jmp 0x431f75
mov dword [0x4e4640], 1
jmp 0x431f7f
mov dword [0x4e4640], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [0x4e4640]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret
Function at 0x440b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cb89
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4e2e58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x118], ecx
lea eax, [ebp - 0x110]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0x4aaf50
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x148]
call sub.mfc120.dll_Ordinal_970
mov dword [ebp - 4], 0
push 0
push 0x1002
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x148]
call sub.mfc120.dll_Ordinal_11792
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x118]
add ecx, 0x3a4
call fcn.004385e0
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
push 0x4aaf54
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0x148]
call sub.mfc120.dll_Ordinal_14451
mov dword [ebp - 0x11c], 0
jmp 0x440c6f
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp - 0x124]
jge 0x440d56
mov dword [ebp - 0x120], 0
jmp 0x440c9c
mov edx, dword [ebp - 0x120]
add edx, 1
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x418
call fcn.004928b0
cmp dword [ebp - 0x120], eax
jge 0x440d51
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x118]
add ecx, 0x3a4
call sub.mfc120.dll_Ordinal_5729
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov edx, dword [ebp - 0x114]
push edx
push 0x4aaf58
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea ecx, [ebp - 0x148]
call sub.mfc120.dll_Ordinal_14451
jmp 0x440c8d
jmp 0x440c60
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x118]
add ecx, 0x98
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov ecx, dword [ebp - 0x118]
call sub.mfc120.dll_Ordinal_10844
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call sub.mfc120.dll_Ordinal_1441
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499036
mov esp, ebp
pop ebp
ret
Function at 0x44bc70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, 0xd0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xf8], 0
jbe 0x44be39
mov edx, dword [ebp + 8]
imul eax, dword [edx + 0xfc], 0x5d2
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x10c]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add edx, 0x14
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x44bcde
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 1
je 0x44bd0c
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 2
jne 0x44be39
cmp dword [ebp + 0xc], 0
jne 0x44bd0c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call fcn.0044e0a0
add esp, 4
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x68]
jbe 0x44be39
movzx eax, word [0x4d6a48]
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 4]
cmp eax, edx
je 0x44bd3b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x58], ecx
mov eax, dword [ebp - 8]
mov cx, word [eax + 4]
mov word [0x4d6a48], cx
push 0
push 0
mov edx, dword [ebp - 8]
movzx eax, word [edx + 8]
add eax, 0xa
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2e0]
call ecx
add esp, 0x14
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x44bdcf
mov eax, dword [ebp + 8]
push eax
call fcn.0044d8b0
add esp, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov dword [edx + 0x68], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x68], 0x7d0
jbe 0x44bd93
mov dword [ebp - 0x10], 0x7d0
jmp 0x44bd9c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x68], ecx
cmp dword [ebp + 0xc], 0
jne 0x44bdba
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
cmp ecx, dword [eax + 0x5c]
jbe 0x44bdcf
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x19c], 0
je 0x44be17
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx + 0x1d0]
test eax, eax
je 0x44be17
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x184], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x174], 0
jge 0x44be39
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 6]
and ecx, 0xff00
je 0x44be39
mov dword [ebp - 0xc], 0
mov edx, dword [ebp + 8]
add edx, 0xd0
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4625a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x4625b8
mov eax, 1
jmp 0x4625ba
xor eax, eax
pop ebp
ret
Function at 0x100099a4
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100099df
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100099c6
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100099d7
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100099e1
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100099bc
xor eax, eax
pop edi
pop esi
ret

Function at 0x10009d32
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ss
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10009974
push eax
push esi
push dword [ebp + 8]
call fcn.10009929
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10009974
push eax
push esi
push dword [ebp + 8]
call fcn.10009929
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10009964
sar byte [esi - 0x6277a879], 1
jl 0x10009de9
invalid
invalid
Function at 0x1000ad6a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x1000adba
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x1000ad64
call fcn.10009964
cdq
out dx, eax
popal
salc
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.10009964
aad 0x46
ret
Function at 0x1000f720
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [0x1001e3a8], eax
jne 0x1000f740
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push 2
push 0x110
push 0xf01ff
push str.Uaoph_Udiupnzu_Uqwipff_R_e
push str.Tenkjc_Ekcda_laMp
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
mov dword [0x1001e3a4], eax
jne 0x1000f77a
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1001e3a8]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 4], str.WrjgtqlrTevoimmns_Uplhql_Lqvuglhh_Fon
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [0x1001e3a4]
lea eax, [ebp - 4]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000f7d0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
push 0xf003f
push str.Tenkjc_Ekcda_laMp
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xc], eax
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
mov eax, 1
mov dword [ebp - 0x14], 0x15180
mov dword [ebp - 0x28], 0x3e8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 3
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
lea edx, [ebp - 0x14]
push edx
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret