joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419180
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418e22

Function at 0x41918b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418fb1

Function at 0x419585
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409270
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004164e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4195c7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x419723
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004235a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47dd40]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041a755
mov ecx, dword [esi*4 + 0x47dd40]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41971c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41971c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41971c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041a755
add esp, 0x14
test edx, edx
jl 0x41971c
jg 0x419692
test eax, eax
jb 0x41971c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41971c
jl 0x4196ac
cmp dword [ebp - 0x1008], eax
ja 0x41971c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4196ca
test ebx, ebx
je 0x419703
cmp ecx, edi
jae 0x419703
mov al, byte [ecx]
cmp al, 0xd
jne 0x4196e4
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4196f0
cmp byte [ecx + 1], 0xa
jne 0x4196f0
inc ecx
jmp 0x4196f0
movzx eax, al
movsx eax, byte [eax + 0x42f300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4196ca
cmp edx, ebx
jne 0x4196ca
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x419721
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040833e
leave
ret
Function at 0x419bf3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x47dd40]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x419c33
cmp byte [ebx], 0xa
jne 0x419c33
or byte [eax + edi + 0x28], 4
jmp 0x419c38
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x419d36
mov al, byte [edx]
cmp al, 0x1a
je 0x419d18
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x419c67
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x419c8c
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x419c96
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x419c49
jmp 0x419d36
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419d13
cmp dword [ebp - 0xc], 0
je 0x419d13
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x47dd40]
test byte [eax + edi + 0x28], 0x48
je 0x419ced
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x419cd8
mov byte [esi], dl
jmp 0x419ce9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47dd40]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x419d36
cmp byte [ebp - 1], 0xa
jne 0x419cfc
cmp esi, ebx
jne 0x419cfc
mov byte [esi], 0xa
jmp 0x419d35
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041a773
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x419d36
mov byte [esi], 0xd
jmp 0x419d35
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x47dd40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419d32
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419d36
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x419d3f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x47dd40]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x419d82
cmp word [esi], dx
jne 0x419d82
or byte [edi + eax + 0x28], 4
jmp 0x419d87
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x419eda
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x419eba
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x419dc9
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x419dff
cmp eax, edx
jae 0x419e0b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x419da1
jmp 0x419eda
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419eb6
cmp dword [ebp - 0x14], 0
je 0x419eb6
mov eax, dword [ebx*4 + 0x47dd40]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x419e8e
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x419e57
mov word [esi], cx
jmp 0x419e8a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x47dd40]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x47dd40]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x47dd40]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x419eda
pop ebx
cmp word [ebp - 4], bx
jne 0x419e9f
cmp esi, dword [ebp + 0xc]
jne 0x419e9f
mov word [esi], bx
jmp 0x419ed7
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041a773
add esp, 0x10
cmp word [ebp - 4], bx
je 0x419eda
push 0xd
jmp 0x419ed3
mov ecx, dword [ebx*4 + 0x47dd40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x419ed1
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x419eda
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40b390
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42bb68]
jne 0x40b39a
repz ret
jmp fcn.0041362c

Function at 0x41e48c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42bb68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040de6d
and dword [ebp - 0x14], 0
cmp dword [0x462bc0], 0
mov dword [ebp - 0x18], eax
jne 0x41e53f
push 0x4038a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41e5e7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403894
push ebx
call edi
test eax, eax
je 0x41e5e7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403884
push ebx
mov dword [0x462bc0], eax
call edi
push eax
call esi
push 0x403870
push ebx
mov dword [0x462bc4], eax
call edi
push eax
call esi
push 0x403854
push ebx
mov dword [0x462bc8], eax
call edi
push eax
call esi
mov dword [0x462bd0], eax
test eax, eax
je 0x41e53f
push 0x40383c
push ebx
call edi
push eax
call esi
mov dword [0x462bcc], eax
mov eax, dword [0x462bcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41e598
cmp dword [0x462bd0], ecx
je 0x41e598
push eax
call esi
push dword [0x462bd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41e598
test ebx, ebx
je 0x41e598
call edi
test eax, eax
je 0x41e58f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41e58f
test byte [ebp - 8], 1
jne 0x41e598
or dword [ebp + 0x10], 0x200000
jmp 0x41e5cb
mov eax, dword [0x462bc4]
cmp eax, dword [ebp - 0x18]
je 0x41e5cb
push eax
call esi
test eax, eax
je 0x41e5cb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41e5cb
mov eax, dword [0x462bc8]
cmp eax, dword [ebp - 0x18]
je 0x41e5cb
push eax
call esi
test eax, eax
je 0x41e5cb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x462bc0]
call esi
test eax, eax
je 0x41e5e7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41e5e9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b390
leave
ret
Function at 0x4284d0
Capabilities:
Access the windows event log
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1804
call fcn.004253d0
cmp dword [0x803948], 0x37
jne 0x428592
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x404560
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x404590
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x4045f8
push 0
lea ecx, [esp + 0x80c]
push ecx
push 0x404618
push 0x404640
push 0x404660
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PrepareTape]
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea eax, [esp + 0x1008]
push eax
push 0x404698
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ecx, dword [0x80394c]
mov eax, dword [0x7ffdb8]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0x1804
ret
Function at 0x401020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fca7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x448178]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x43a680
mov dword [esi + 0x18], vtable.MA::LRefCountedObject.0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x24]
mov byte [esi + 0x28], 1
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.LClientConnection.0
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x401280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x4010b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
push dword [eax]
lea ecx, [esi + 0xc]
call fcn.00401f60
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4011f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430ffc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x448178]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x2c
mov dword [ebp - 0x10], 0
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40124c
push ecx
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
push edi
call fcn.00401020
jmp 0x40124e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
mov dword [esi], eax
call fcn.00401fe0
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4014f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, ecx
push 0
push dword [eax + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401577
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
test ecx, ecx
je 0x401576
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x401576
xor eax, eax
push esi
mov dword [ebp - 4], eax
push edi
mov edi, edi
test eax, eax
jne 0x401574
mov edi, dword [ebx]
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [edi + 4]
mov esi, eax
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, edi
push 0
mov edx, dword [ecx]
lea eax, [ebp - 4]
push eax
call dword [edx]
push eax
mov eax, dword [ebp - 8]
push esi
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401574
mov eax, dword [ebp - 4]
jmp 0x401530
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4040a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42fd98
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x448178]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [0x448178]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
push 0xe
push str.Logic_Error_:
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00403dd0
push str.CreateCopy___not_implemented_for_RefCountedObject
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x7c], 0
call fcn.004039d0
push str._:_MA::LRefCountedObject::CreateCopy_:_c:workingdirmtrack8_1.0.11_softmasterprojectmiu7_mtrack8win_tags01.00.011devicemaframeworkobjectbaseRefCountedObject.h_:_Line_225
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x88], 1
call fcn.004039d0
add esp, 0x18
mov byte [esp + 0x70], 2
cmp dword [eax + 0x14], 0x10
jb 0x40413d
mov eax, dword [eax]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x442ac0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], vtable.MA::Exception_class_std::logic_error_.0
mov dword [esp + 0x1c], vtable.MA::Exception_class_std::logic_error_.1.0
call sub.MSVCR110.dll__CxxThrowException
int3
Function at 0x4092b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43030c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x448178]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x408fd0
push 0
push 0
mov dword [esi], vtable.MA::RetriggerableThreader.0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x409302
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [ecx], 0
call fcn.004095b0
mov byte [ebp - 4], 2
mov byte [esi + 0x14], 0
mov byte [esi + 0x15], 0
lea ecx, [esi + 0x18]
push 0
call fcn.00409240
push 0
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
call fcn.004033a0
push 1
push dword [esi + 4]
mov dword [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4107a0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430e0d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x448178]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi], 0x43c3b8
mov dword [esi + 0x1c], vtable.MA::LRefCountedObject.0
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x28]
mov byte [esi + 0x2c], 1
mov eax, dword [esi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.MA::LEventGatedThreader.0
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x410780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x410837
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [eax]
lea ecx, [esi + 0xc]
mov dword [ecx], eax
call fcn.004095b0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov byte [esi + 0x10], 0
push dword [eax]
lea ecx, [esi + 0x14]
call fcn.00409240
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 3
push dword [eax]
lea ecx, [esi + 0x18]
call fcn.004033a0
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41a6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431d22
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x448178]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi + 4], 0x43d8fc
mov dword [esi + 0x24], vtable.MA::LRefCountedObject.0
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x30]
mov byte [esi + 0x34], 1
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [esi], vtable.LParameterizedModule.0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x18]
mov dword [eax + esi + 4], vtable.LParameterizedModule.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.IDevice.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [eax + 4]
push 0
mov dword [eax + esi + 4], vtable.IDevice.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.LDevice.1.0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [eax + esi + 4], vtable.LDevice.0
call fcn.0041c1f0
lea ecx, [esi + 0x1c]
push 0
mov dword [ebp - 4], 1
call fcn.0041c240
push 0
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.0041c290
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41ac30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431d67
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x448178]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [esi + 4], 0x43d888
mov dword [esi + 0x50], vtable.MA::LRefCountedObject.0
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x54]
mov dword [esi + 0x58], 0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x5c], 0
mov eax, dword [esi + 0x5c]
mov byte [esi + 0x60], 1
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [esi], vtable.LParameterizedModule.0
mov eax, dword [eax + 4]
lea ecx, [esi + 0x24]
mov dword [eax + esi + 4], vtable.LParameterizedModule.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.IRootModule.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [eax + 4]
push 0
mov dword [eax + esi + 4], vtable.IRootModule.1.0
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], vtable.IDriverNotificationReceiver.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.LRootModule.2.0
mov dword [esi + 0x1c], vtable.LRootModule.1.0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [eax + esi + 4], vtable.LRootModule.0
call fcn.0041c1a0
push 0
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.00404630
lea eax, [esi + 0x38]
push eax
mov byte [esi + 0x34], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41f170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f06b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x448178]
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
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 0x42c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 4], 0xffffffff
setne al
mov byte [ebp - 0x430], al
test al, al
jne 0x41f1cb
mov ecx, edi
call fcn.0041f880
mov esi, dword [edi + 4]
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
je 0x41f2d6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
mov dword [ebp - 0x428], 0x104
mov dword [ebp - 0x424], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebx]
push dword [ebp - 0x41c]
mov ecx, ebx
call dword [eax + 0x34]
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x41f2d2
xor esi, esi
test eax, eax
je 0x41f2d2
lea esp, [esp]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x418]
push eax
push esi
push dword [edi + 4]
mov dword [ebp - 0x420], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41f2d6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x64]
lea ecx, [eax + esi*8]
push 0x7ffffffe
lea eax, [ebp - 0x418]
push eax
call fcn.0040a930
inc esi
cmp esi, dword [ebp - 0x41c]
jb 0x41f280
xor esi, esi
jmp 0x41f2db
mov esi, 0x80004005
cmp byte [ebp - 0x430], 0
jne 0x41f2fa
mov ecx, dword [edi + 4]
cmp ecx, 0xffffffff
je 0x41f2fa
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 4], 0xffffffff
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
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.0042df3e
mov esp, ebp
pop ebp
ret 4