joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call ebx
push esi
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push eax
push eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push edx
push edx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push ecx
push ecx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push esi
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x210]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push esi
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
lea esp, [ebp - 8]
lea eax, [ebx - 3]
pop ebx
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.004014ab
test eax, eax
jne 0x401749
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x4021b2
sub eax, 0x401750
mov dword [esp], 0x401750
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401749
lea ebx, [ebp - 0x88]
mov dword [esp], 0
jmp loc.0046571e
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40642a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x406439
pop dword [ebp - 8]
mov eax, 0x406439
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x72eec496
sub dword [ebp - 0x18], 0x249c7f4b
mov dword [ebp - 0x14], 0x5f84b0
sub dword [ebp - 0x14], 0xce2c386b
mov dword [ebp - 0x10], 0x7d956446
sub dword [ebp - 0x10], 0x31492018
mov dword [ebp - 0xc], 0xd16276e4
add dword [ebp - 0xc], 0x2e9d891c
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6f8f9418
sub eax, 0x6f4ec3cc
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x8290bc99
sub dword [ebp - 0x18], 0xe1e5343
mov dword [ebp - 0x14], 0xbc75f954
add dword [ebp - 0x14], 0x84f66821
mov dword [ebp - 0x10], 0xd102e25
add dword [ebp - 0x10], 0x565f3e47
mov dword [ebp - 0xc], 0x568b4f8b
add dword [ebp - 0xc], 0xa974b075
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xa940955d
sub eax, 0xa8ffc515
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3e927
push 0
call eax
mov ecx, 0xa823ca3a
sub ecx, 0xa8236dfa
mov esi, eax
mov edi, 0x41b000
add edi, dword [ebp - 8]
mov edx, 0x6102cc24
mov ebx, dword [edi]
sub dword [ebp - 4], edx
sub ebx, edx
add dword [ebp - 4], ecx
mov dword [esi], ebx
xor dword [ebp - 4], 0xdd14e7b6
add esi, 0x7f8aaf92
add esi, 0x80755072
add edi, 0xe9ff8a1b
sub edi, 0xe9ff8a17
loop 0x40654a
add eax, 0x6fabb5a5
sub eax, 0x6faa51d2
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf7a9e0ec
sub ecx, 0xf769e0ec
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401670
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x401688
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4016e2
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x4016a9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x4016d3
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x4016c9
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x4016d1
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x4016a0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x42e8b4], ecx
jmp 0x40167f
mov esp, ebp
pop ebp
ret

Function at 0x4016f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret

Function at 0x401b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.004023e0
add esp, 8
lea edx, [ebp - 0x104]
push edx
call fcn.00401570
add esp, 4
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x406044
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402340
add esp, 8
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00402340
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402340
add esp, 8
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x401df0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 1
test eax, eax
je 0x401e13
push 0x80
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop ebp
ret
Function at 0x401e20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4045a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x39c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3a8]
push ecx
call fcn.004023e0
add esp, 8
lea edx, [ebp - 0x3a8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3a
jne 0x401eab
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x401eab
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x401eab
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
je 0x401f1d
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x401f12
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
lea edx, [ebp - 0x3a8]
push edx
call dword [0x42e8a4]
test eax, eax
jne 0x401efd
push 0
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x401efb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401efb
xor al, al
jmp 0x401f3d
jmp 0x401f0c
mov ecx, dword [ebp - 0x18]
and ecx, 0x10
cmp ecx, 0x10
je 0x401f0c
xor al, al
jmp 0x401f3d
mov edx, dword [ebp - 0x14]
mov byte [edx], 0x5c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x401eab
jmp 0x401f34
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], str.__OC_bsA_fG__j_D_n
mov eax, 0x40605f
sub eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [0x40605f]
sub eax, ecx
mov byte [ebp - 4], al
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, 0x100
sub eax, edx
mov byte [ebp - 4], al
mov ecx, 1
test ecx, ecx
je 0x4025e3
cmp dword [ebp - 8], 0x4062e4
jne 0x4025af
mov edx, dword [0x4062e4]
mov eax, dword [edx + 0x5fc]
add eax, 0x604
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 4]
add dl, byte [ebp - 0xc]
mov byte [ebp - 4], dl
jmp 0x402575
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4025b9
jmp 0x4025e3
mov ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 8]
mov byte [ecx], dl
mov dl, byte [ebp - 4]
add dl, 1
mov byte [ebp - 4], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x402575
mov esp, ebp
pop ebp
ret
Function at 0x4029d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jb 0x402a09
mov eax, dword [ebp + 0xc]
push eax
call fcn.004016f0
add esp, 4
and eax, 0xff
test eax, eax
jne 0x402a29
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401f50
add esp, 4
mov byte [eax - 1], 0
mov esp, ebp
pop ebp
ret
Function at 0x402850
Capabilities:
Hide graphical window

Disassembly:
xor eax, eax
cmp dword [edi + 0xc], eax
jne 0x4028be
test ecx, ecx
je 0x4028be
cmp dword [edi + 4], eax
jne 0x402863
mov dword [edi + 4], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push esi
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push 0
push ebx
push edx
mov edx, dword [esp + 0x1c]
push 0xc8
push eax
push ecx
push 0xcf0000
push edx
push str.brmfcmon
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x4028b2
push 0
push esi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop esi
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x28], eax
mov eax, esi
pop esi
ret 0x10

Function at 0x402b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x426d0b
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4323e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CDevice.0
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 4], vtable.CDeviceWindow.0
mov dword [esi + 0x30], ebx
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x18], ebx
call fcn.00407f90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x37c], ebx
mov eax, 0xf
mov dword [esi + 0x380], eax
mov byte [esi + 0x36c], bl
mov dword [esi + 0x39c], eax
mov dword [esi + 0x398], ebx
mov byte [esi + 0x388], bl
mov dword [esi + 0x3a8], ebx
mov dword [esi + method.CLocalMonitorRegistry.virtual_0], vtable.CLocalMonitorRegistry.0
mov dword [esi + 0x3ac], 0x1f4
mov dword [esi + 0x3b0], 0x2710
mov dword [esi + 0x3b4], 4
mov dword [esi + 0x3dc], eax
mov dword [esi + 0x3d8], ebx
mov byte [esi + 0x3c8], bl
mov dword [esi + method.CTimer.virtual_0], vtable.CTimer.0
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e8], ebx
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x364], ecx
mov dword [esi + 0x360], edx
mov dword [esi + 0x3b8], ebx
mov dword [esi + 0x3bc], ebx
mov word [esi + 0x3a0], bx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x402c40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42635c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4323e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CDevice.0
mov dword [esp + 0x18], 6
movzx eax, word [esi + 0x3a0]
push eax
push str.0x_4X__:_CDevice__r_n
push 0x40000
push 0x433970
call fcn.00410c40
mov ecx, dword [esi + 0x364]
xor ebx, ebx
add esp, 0x10
cmp ecx, ebx
mov dword [esi + 0x30], ebx
je 0x402cad
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esi + 0x360]
cmp ecx, ebx
je 0x402cbf
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esi + 0x3e8]
mov edx, dword [esi + 0x3e4]
push ecx
push edx
mov dword [esi + method.CTimer.virtual_0], vtable.CTimer.0
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e8], ebx
cmp dword [esi + 0x3dc], 0x10
jb 0x402d01
mov eax, dword [esi + 0x3c8]
push eax
call fcn.00413c50
add esp, 4
mov dword [esi + 0x3dc], 0xf
mov dword [esi + 0x3d8], ebx
mov byte [esi + 0x3c8], bl
mov dword [esi + method.CLocalMonitorRegistry.virtual_0], vtable.CLocalMonitorRegistry.0
cmp dword [esi + 0x39c], 0x10
jb 0x402d39
mov ecx, dword [esi + 0x388]
push ecx
call fcn.00413c50
add esp, 4
mov dword [esi + 0x39c], 0xf
mov dword [esi + 0x398], ebx
mov byte [esi + 0x388], bl
cmp dword [esi + 0x380], 0x10
jb 0x402d67
mov edx, dword [esi + 0x36c]
push edx
call fcn.00413c50
add esp, 4
mov dword [esi + 0x380], 0xf
mov dword [esi + 0x37c], ebx
lea ecx, [esi + 0x34]
mov byte [esi + 0x36c], bl
call fcn.00408150
mov eax, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esi + 4], vtable.CWindowBase.0
je 0x402da2
push eax
call fcn.00413c50
add esp, 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x402e10
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
cmp dword [esi + 0x3b8], 0
jne 0x402e6d
lea eax, [esp]
push eax
push 4
push esi
push 0x402e80
push 0
push 0
call fcn.00413fc7
add esp, 0x18
test eax, eax
mov dword [esi + 0x3b8], eax
je 0x402e43
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp]
mov edx, dword [esi + 0x3b8]
movzx eax, word [esi + 0x3a0]
push ecx
push edx
push eax
push str.0x_4X__:_CreateThread_ThreadHandle0x_X__dwChildThreadID0x_X
push 0x40000
push 0x433970
call fcn.00410c40
add esp, 0x18
mov eax, dword [esi + 0x3b8]
pop ecx
ret
Function at 0x404900
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4267b0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4323e0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x4323e0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 0x14], eax
mov dword [esp + 0x10], eax
je 0x404a74
push 0xffffffffffffffff
push eax
lea ebx, [edi + 4]
push ecx
mov ecx, ebx
call fcn.00401690
push ebx
lea esi, [esp + 0x18]
call fcn.00405060
add esp, 4
push 0xffffffffffffffff
push 0
lea esi, [edi + 0x20]
push eax
mov ecx, esi
mov dword [esp + 0x74], 0
call fcn.00401690
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x404999
mov eax, dword [esp + 0x18]
push eax
call fcn.00413c50
add esp, 4
push esi
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00412b40
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 1
call fcn.00412cf0
test al, al
je 0x404a67
cmp dword [ebx + 0x18], 0x10
jb 0x4049dd
mov ebx, dword [ebx + 4]
jmp 0x4049e0
add ebx, 4
push ebx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x404a58
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x404a51
push esi
lea ecx, [edi + 0x3c]
call fcn.00401770
lea edx, [esi + 0x104]
push edx
lea ecx, [edi + 0x58]
call fcn.00401770
mov eax, dword [esi + 0x20c]
mov dword [edi + 0x74], eax
mov cl, byte [esi + 0x208]
mov byte [edi + 0x78], cl
mov dl, byte [esi + 0x209]
mov byte [edi + 0x79], dl
mov al, byte [esi + 0x20a]
push esi
mov byte [edi + 0x7a], al
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x404a67
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x30]
call fcn.00412bb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00413bbc
mov esp, ebp
pop ebp
ret 4
Function at 0x4053b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x426de5
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4323e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov dword [esi], vtable.CLocalMonitor.0
lea ebx, [esi + 4]
call fcn.00406cb0
mov dword [ebx + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
xor edi, edi
mov dword [eax + 8], eax
mov dword [ebx + 8], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], vtable.CLocalMonitorWindow.0
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], vtable.CLocalMonitorRegistry.0
mov dword [esi + 0x4c], 0x1f4
mov dword [esi + 0x50], 0x2710
mov dword [esi + 0x54], 4
mov dword [esi + 0x58], vtable.CTimer.0
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov byte [esp + 0x18], 3
lea ecx, [esi + 0x6c]
mov dword [esi + 0x68], edi
mov dword [ecx], vtable.CWtsapi32Dll.0
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], edi
call fcn.00410b30
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], vtable.CTimer.0
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov byte [esp + 0x18], 5
mov dword [esi + 0x9c], edi
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
call fcn.00406780
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edi
mov dword [eax], eax
mov ebx, dword [ebx + 4]
mov dword [ebx + 8], ebx
mov dword [esi + 0x40], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x406e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push edi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareBrotherBrmfcmonSettings_
push 0x80000001
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x406e49
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x406e4d
mov edi, dword [esp + 0x10]
test edi, edi
mov dword [ebp + 4], eax
je 0x406f40
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push str.Scan_Time
push edi
call esi
mov ebx, 4
cmp dword [esp + 0x10], ebx
jne 0x406eab
cmp dword [esp + 0x20], ebx
ja 0x406eab
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.Scan_Time
push edi
call esi
test eax, eax
jne 0x406eab
mov eax, dword [esp + 0x14]
mov dword [ebp + 8], eax
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push str.Scan_Time_LPT
push edi
call esi
cmp dword [esp + 0x10], ebx
jne 0x406ef1
cmp dword [esp + 0x20], ebx
ja 0x406ef1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.Scan_Time_LPT
push edi
call esi
test eax, eax
jne 0x406ef1
mov eax, dword [esp + 0x14]
mov dword [ebp + 0xc], eax
lea ecx, [esp + 0x20]
push ecx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push str.Read_Retry
push edi
call esi
cmp dword [esp + 0x10], ebx
jne 0x406f37
cmp dword [esp + 0x20], ebx
ja 0x406f37
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.Read_Retry
push edi
call esi
test eax, eax
jne 0x406f37
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x10], eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0xc
ret 4
Function at 0x40cd10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4260fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4323e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004133f5
push 4
mov dword [esp + 0x20], 0
call fcn.00413daa
mov edi, eax
add esp, 4
test edi, edi
je 0x40cd90
call fcn.004130ca
mov dword [edi], eax
call fcn.00412efe
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004133bd
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40cd85
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004133de
jmp 0x40cd92
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x411c20
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi + 4], 0
jne 0x411ce2
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 4], eax
je 0x411cdf
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenA
push eax
call edi
mov ecx, dword [esi + 4]
push str.CloseA
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 4]
push str.TraceWriteA
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.DumpWriteA
push eax
call edi
mov ecx, dword [esi + 4]
push str.OpenW
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 4]
push str.CloseW
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.TraceWriteW
push eax
call edi
mov ecx, dword [esi + 4]
push str.DumpWriteW
push ecx
mov dword [esi + 0x20], eax
call edi
cmp dword [esi + 8], 0
mov dword [esi + 0x24], eax
pop edi
je 0x411cdf
cmp dword [esi + 0xc], 0
je 0x411cdf
cmp dword [esi + 0x10], 0
je 0x411cdf
cmp dword [esi + 0x14], 0
je 0x411cdf
cmp dword [esi + 0x18], 0
je 0x411cdf
cmp dword [esi + 0x1c], 0
je 0x411cdf
cmp dword [esi + 0x20], 0
je 0x411cdf
test eax, eax
jne 0x411ce2
xor eax, eax
ret
mov eax, 1
ret