joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45610d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
mov byte [ebp - 1], dl
push 0x208
push eax
mov dword [ebp - 8], ecx
or ebx, 0xffffffff
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4561ef
push 0x104
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x4561cb
push 0x208
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4561cb
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x4561cb
mov ecx, esi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x456185
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x4561a3
xor eax, eax
mov word [esi + ecx*2 - 2], ax
xor eax, eax
cmp byte [ebp - 1], al
push ebx
push 0x80
sete al
push 3
dec eax
push ebx
and eax, 0xc0000000
push 7
add eax, 0x80000000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
je 0x4561ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x456231
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x475280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, ecx
mov dword [ebp - 0x484], edx
xor edi, edi
mov dword [ebp - 0x47c], eax
push 0x5c
mov ebx, eax
mov esi, edi
pop eax
push eax
lea eax, [ebx + 2]
push eax
call sub.msvcrt.dll_wcschr
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4563b3
inc esi
push 0x5c
pop eax
cmp esi, 2
jb 0x456260
mov esi, 0x104
lea ecx, [ebp - 0x270]
push 0x40ac94
mov edx, esi
add ebx, 2
call fcn.00422ab9
mov ecx, dword [ebp - 0x47c]
mov eax, ebx
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x270]
call fcn.0042f2e2
push 0x32
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x4562fc
lea eax, [ebp - 0x488]
push eax
push esi
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x4562f7
cmp word [ebp - 0x478], di
je 0x4562f7
lea esi, [ebp - 0x478]
jmp 0x456302
lea esi, [ebp - 0x68]
jmp 0x456302
lea esi, [ebp - 0x270]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x456307
sub ecx, edx
sar ecx, 1
je 0x456329
push 0x5c
pop eax
cmp word [esi + ecx*2 - 2], ax
jne 0x456329
xor eax, eax
mov word [esi + ecx*2 - 2], ax
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x45632e
sub ecx, edx
mov edx, ebx
sar ecx, 1
lea eax, [edx + 2]
mov dword [ebp - 0x47c], eax
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x456348
sub edx, dword [ebp - 0x47c]
sar edx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 4]
push eax
push edi
mov dword [ebp - 0x47c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x480], eax
test eax, eax
jne 0x45638b
mov edi, 0x8007000e
jmp 0x4563af
push ebx
push esi
push 0x40acb4
push dword [ebp - 0x47c]
push eax
call fcn.00455f22
mov ecx, dword [ebp - 0x484]
add esp, 0x14
mov eax, dword [ebp - 0x480]
mov dword [ecx], eax
mov eax, edi
jmp 0x4563b8
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00471d10
leave
ret
Function at 0x45680c
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov eax, ecx
mov dword [esp + 8], eax
push esi
push edi
test eax, eax
je 0x4568a9
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4568a9
test edx, edx
je 0x4568a9
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4568a9
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0
mov ecx, eax
call fcn.00456643
mov esi, eax
cmp esi, 1
jne 0x456868
push 0x14
pop eax
mov byte [ebx], 0
inc ebx
sub eax, 1
jne 0x45685d
jmp 0x4568a5
test esi, esi
js 0x4568a5
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov edi, esp
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00456681
cmp dword [esp + 0xc], 0
mov esi, eax
je 0x4568a5
push dword [esp + 0xc]
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
jmp 0x4568ae
mov eax, 0x80070057
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x457659
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x457684
mov eax, dword fs:[0x30]
push edi
push dword [esi + 4]
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
pop edi
pop esi
ret
Function at 0x46a699
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, edi
cmp dword [esi + 4], edi
jbe 0x46a6be
mov edx, edi
mov eax, dword [esi + 8]
lea edx, [edx + 0x5c]
inc ecx
mov dword [eax + edx - 0x48], edi
mov dword [eax + edx - 0x54], edi
cmp ecx, dword [esi + 4]
jb 0x46a6aa
push dword [esi + 8]
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
test ecx, ecx
je 0x46a6e2
push 1
call fcn.0046a699
push esi
mov dword [esi + 0xc], edi
call fcn.00415510
pop ecx
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x46c8f5
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x46c93f
mov dword [edi + 4], eax
mov dword [edi], 3
xor eax, eax
jmp 0x46ca09
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x47744c]
mov ecx, dword [ebp - 4]
jmp 0x46c9f4
cmp ecx, 0x61
jb 0x46c95c
cmp ecx, 0x7a
jbe 0x46c9da
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x46c9da
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x46c9da
cmp ecx, 0x2f
ja 0x46c9a2
cmp ecx, 0x28
jae 0x46c9e0
cmp ecx, 0xa
je 0x46c9e0
cmp ecx, 0xd
je 0x46c9e0
cmp ecx, 0x1f
jbe 0x46c9c0
cmp ecx, 0x21
jbe 0x46c9e0
cmp ecx, 0x22
jbe 0x46c9c0
cmp ecx, 0x25
jbe 0x46c9e0
cmp ecx, 0x27
jne 0x46c9c0
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x46c9dc
cmp ecx, 0x3a
jb 0x46c9c0
cmp ecx, 0x3b
jbe 0x46c9e0
cmp ecx, 0x3d
je 0x46c9e0
cmp ecx, 0x3e
jbe 0x46c9c0
cmp ecx, 0x40
jbe 0x46c9e0
cmp ecx, 0x5f
je 0x46c9e0
mov eax, dword [ebp - 4]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
jmp 0x46c938
mov al, 1
test al, al
je 0x46c9c0
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 8]
mov dword [ebp - 4], edx
call dword [0x47744c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call esi
mov ecx, eax
mov dword [ebp - 0x10], edx
cmp ecx, 0xffffffff
jne 0x46c952
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4717f7
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ebx
shr edi, 2
lea edx, [ecx + edi*4]
neg edi
je 0x471833
imul eax, dword [edx + edi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
imul esi, eax, 5
sub esi, 0x19ab949c
add edi, 1
jne 0x471810
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x471859
sub eax, 1
je 0x471850
sub eax, 1
jne 0x47186f
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ebx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret 4
Function at 0x471a80
Capabilities:
Terminate process

Disassembly:
call fcn.004722e5
jmp 0x471a8a
push 0x58
push 0x4746a0
call fcn.00472398
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x476c34
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x471adc
cmp eax, esi
jne 0x471acf
xor esi, esi
inc esi
mov edi, esi
jmp 0x471adf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x471ab3
xor esi, esi
inc esi
cmp dword [0x476c38], esi
jne 0x471af1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x471b2b
cmp dword [0x476c38], ebx
jne 0x471b25
mov dword [0x476c38], esi
push 0x401b34
push 0x401b28
call fcn.00471c69
pop ecx
pop ecx
test eax, eax
je 0x471b2b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x471c59
mov dword [0x475594], esi
cmp dword [0x476c38], esi
jne 0x471b4e
push 0x401b24
push 0x401acc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x476c38], 2
test edi, edi
jne 0x471b5b
xor eax, eax
mov ecx, 0x476c34
xchg dword [ecx], eax
cmp dword [0x476c44], 0
je 0x471b87
push 0x476c44
call fcn.004721f0
pop ecx
test eax, eax
je 0x471b87
push ebx
push 2
push ebx
mov esi, dword [0x476c44]
mov ecx, esi
call dword [0x47744c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x471be5
test cl, cl
je 0x471bb4
test edi, edi
jne 0x471be5
test cl, cl
je 0x471bb4
cmp cl, 0x20
ja 0x471bb4
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x471ba3
test byte [ebp - 0x3c], 1
je 0x471bc0
movzx eax, word [ebp - 0x38]
jmp 0x471bc3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x475590], eax
cmp dword [0x4755a8], 0
jne 0x471c3e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x471bf6
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x471c09
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x471b94
cmp dword [0x475594], 0
jne 0x471c52
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x475590]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4720d4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4746e0
call fcn.00472398
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x472134
cmp eax, 0xffffffff
je 0x472134
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x47212d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x47212d
cmp edx, 0x10000000
jae 0x47212d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x47212a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4721a0
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 0x4721de
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4721d6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4721e0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4721c6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4722b0
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 0x4722e1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4722e1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4722e1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1839d10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x10ac015
lea edi, [esi - 0xcab015]
push edi
or ebp, 0xffffffff
jmp 0x1839d32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1839d39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1839d28
mov eax, 1
add ebx, ebx
jne 0x1839d4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1839d40
jne 0x1839d5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1839d40
xor ecx, ecx
sub eax, 3
jb 0x1839d70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1839de2
mov ebp, eax
add ebx, ebx
jne 0x1839d7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1839d88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1839dac
inc ecx
add ebx, ebx
jne 0x1839d98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1839d8d
jne 0x1839da9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1839d8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1839dcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1839dbd
jmp 0x1839d2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1839dcc
add edi, ecx
jmp 0x1839d2e
pop esi
mov edi, esi
mov ecx, 0x27969
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1839dea
cmp byte [edi], 0x6d
jne 0x1839dea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1839def
lea edi, [esi + 0x1405000]
mov eax, dword [edi]
or eax, eax
je 0x1839e5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1439000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1439028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1839e1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1439030]
or eax, eax
je 0x1839e58
mov dword [ebx], eax
add ebx, 4
jmp 0x1839e39
call dword [esi + 0x143902c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1839e98
cmp al, 0xef
ja 0x1839e82
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1839e64
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x1839e71
mov eax, dword [edi]
add edi, 4
jmp 0x1839e71
mov ebp, dword [esi + 0x1439034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1839ecc
sub esp, 0xffffff80
jmp 0x461210
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x621f0a17
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x36350eef
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401900
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x44900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00413550
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x401967
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_install_service___d__n
call fcn.00401e50
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410da8
mov esp, ebp
pop ebp
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4019a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed___d__n
call fcn.00401e50
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410da8
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 1
push 2
push 0x10
push 0xf01ff
push 0x442960
push 0x442960
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
jne 0x4019fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateService_failed___d__n
call fcn.00401e50
add esp, 8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410da8
mov esp, ebp
pop ebp
ret
push str.Service_installed_successfully_n
call fcn.00401e50
add esp, 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410da8
mov esp, ebp
pop ebp
ret

Function at 0x401b40
Capabilities:
Create thread
Print debug messages

Disassembly:
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x44b440], eax
test eax, eax
jne 0x401b9d
push 0x44b448
push dword [0x44b444]
mov dword [0x44b44c], 1
mov dword [0x44b454], 0
mov dword [0x44b460], 0
mov dword [0x44b450], 1
mov dword [0x44b45c], 0
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
xor eax, eax
ret
push str.start_start
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x44b8d4], 0
jne 0x401bdd
push 0
push 0
push 0x44b8d4
push 0x401f20
push 0
push 0
mov byte [0x44b8dc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x44b8d4], eax
test eax, eax
je 0x401b57
push 0x44b448
push dword [0x44b444]
mov dword [0x44b44c], 4
mov dword [0x44b454], 0
mov dword [0x44b460], 0
mov dword [0x44b450], 1
mov dword [0x44b45c], 0
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push 0xffffffffffffffff
push dword [0x44b440]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x44b8d4
call fcn.004057b0
push 0x44b448
push dword [0x44b444]
mov dword [0x44b44c], 1
mov dword [0x44b454], 0
mov dword [0x44b460], 0
mov dword [0x44b450], 1
mov dword [0x44b45c], 0
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov eax, 1
ret
Function at 0x401d00
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x44900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xa0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xac], 0
push 0
push eax
mov dword [ebp - 0xa8], 0
call fcn.00413550
add esp, 0xc
push 0x442960
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x401daf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegisterServiceCtrlHandler
push str._s_failed_with__d
lea eax, [ebp - 0xa4]
push 0x50
push eax
call fcn.00401dc0
add esp, 0x14
mov dword [ebp - 0xac], 0x442960
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
push 0
push eax
push 0
push 2
push 0
push 0xc0020001
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00410da8
mov esp, ebp
pop ebp
ret
Function at 0x401f40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43454f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x44900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0x2c
call fcn.004115b3
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00405a50
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xc], eax
test eax, eax
je 0x402114
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 8
push eax
mov dword [ebp - 0x24], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 0xc
call fcn.00402b80
mov ebx, eax
test ebx, ebx
js 0x402114
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0x442b04
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x78]
mov esi, dword [0x44b414]
add esi, 0x10
mov dword [ebp - 0x2c], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x44b91c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402b10
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [edi + 0xc]
xorps xmm0, xmm0
push dword [ebp - 0x24]
movups xmmword [ebp - 0x20], xmm0
lea eax, [esi + 0x20]
push eax
push 0x4499e8
call fcn.004023b0
add esp, 8
movzx eax, ax
push eax
push 0
push 0x188
push 0x80000000
push 0x44187c
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004021f0
test eax, eax
je 0x4020f2
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
push 0
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push 0x4076e0
push 0
push 0
mov byte [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x38], eax
call fcn.00402a20
call fcn.004028d0
mov eax, dword [edi + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004057b0
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4020e8
push eax
call esi
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4020f2
push eax
call esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x402100
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0xc], 0
call fcn.00402740
lea ecx, [ebp - 0x78]
call fcn.00402140
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410da8
mov esp, ebp
pop ebp
ret