joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb148
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x438e33
push str.nobody_is_ready_for_updates
push dword [esi + 0x84]
call fcn.00405520
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x5c]
call fcn.00432ac0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438e53
cmp dword [eax + 4], 0
je 0x438e72
push str.set_full_update_request_to_UpdateHandler
push dword [esi + 0x84]
call fcn.00405520
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x10]
add esp, 8
mov edx, dword [ecx]
push eax
call dword [edx + 8]
push str.extracting_updates_from_UpdateHandler
push dword [esi + 0x84]
call fcn.00405520
mov ecx, dword [esi + 0x3c]
lea edx, [ebp - 0x5c]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x438ec0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x438f22
cmp dword [eax + 4], 0
jne 0x438f22
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x438f22
cmp dword [eax + 4], 0
jne 0x438f22
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x438f22
cmp dword [eax + 4], 0
jne 0x438f22
cmp byte [ebp - 0x2c], 0
jne 0x438f22
cmp byte [ebp - 0x2b], 0
jne 0x438f22
cmp byte [ebp - 0x2a], 0
jne 0x438f22
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438f22
cmp dword [eax + 4], 0
jne 0x438f22
push str.UpdateContainer_is_empty
push dword [esi + 0x84]
call fcn.004054f0
add esp, 8
jmp 0x438f8a
push str.UpdateContainer_is_not_empty._Updates_will_be_given_to_all.
push dword [esi + 0x84]
call fcn.00405550
mov ecx, dword [esi + 0x78]
add esp, 8
mov eax, dword [esi + 0x3c]
add eax, 0x48
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
call dword [eax + 4]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438f66
cmp dword [eax], 0
je 0x438f66
push eax
call fcn.004a156f
add esp, 4
movzx eax, word [esi + 0x14]
mov word [esi + 0x18], ax
movzx eax, word [esi + 0x16]
mov word [esi + 0x1a], ax
mov dword [esi + 0x1c], 0x4fee84
mov byte [ebp - 4], 3
lea ecx, [esi + 0x20]
mov eax, dword [esi + 0x20]
call dword [eax + 8]
lea ecx, [ebp - 0x5c]
call fcn.00432b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb1e7
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x46f030
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], vtable.DesktopServerWatcher.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], eax
mov dword [ebp - 0x34], vtable.StringStorage.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049af00
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041d790
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
push 1
mov ecx, eax
call fcn.00403ad0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049af00
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push dword [ebp - 0x30]
push str.__s_
push eax
call fcn.004038a0
mov byte [ebp - 4], 5
add esp, 0x18
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x4fb558
call dword [eax + 4]
mov esi, dword [0x4fee8c]
mov byte [ebp - 4], 6
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x2c]
mov eax, dword [esi + 0x2c]
call dword [eax + 4]
mov al, byte [esi + 0xc6]
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 7
lea ecx, [esi + 0x2c]
mov eax, dword [esi + 0x2c]
call dword [eax + 8]
push 0x48
mov byte [ebp - 4], 5
call fcn.00497cd4
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 8
mov ecx, esi
mov ebx, dword [edi + 0x18]
push 0
push dword [ebp - 0x20]
call fcn.0041d140
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x20]
mov dword [esi], vtable.CurrentConsoleProcess.0
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], al
mov dword [edi + 0x10], esi
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.004039a0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.StringStorage.0
call fcn.004039a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43b500
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push esi
push 0x43b590
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
lea edi, [esi + 0x28]
lea ecx, [esi + 0x20]
cmp ecx, edi
je 0x43b551
mov eax, dword [edi]
push eax
push dword [eax]
call fcn.0043b7d0
mov ecx, edi
call fcn.0043b770
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
pop edi
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 4], eax
pop esi
pop ebp
ret 8

Function at 0x43b9c0
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb5b9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.ScreenDriver.0
lea esi, [edi + 4]
mov dword [ebp - 4], 0
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46f030
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [0x4fee74]
mov dword [edi], vtable.WinVideoRegionUpdaterImpl.0
mov dword [esi], vtable.WinVideoRegionUpdaterImpl.1.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], vtable.Region.0
mov dword [edi + 0x24], eax
mov eax, dword [0x4fee78]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0x4fee84
lea eax, [edi + 0x34]
mov dword [edi + 0x30], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 8]
push ecx
mov byte [ebp - 4], 3
lea ecx, [edi + 0x50]
mov dword [edi + 0x4c], eax
call fcn.0041de80
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43cb30
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb7ab
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.00442b20
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x1c]
mov dword [ebx], vtable.HooksUpdateDetector.0
call fcn.0041de80
lea esi, [ebx + 0x2c]
mov dword [ebx + 0x24], 0
lea eax, [esi + 8]
mov dword [ebx + 0x28], 0
push eax
push 4
push esi
push 0x46f030
mov dword [ebp + 0xc], esi
push 0
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
push ecx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
mov dword [esi], vtable.HookUpdateTimer.0
call fcn.0041de80
push ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.0041de80
push dword [esi + 4]
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
push 0x4cd35c
push 0x4cd35c
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 4
call fcn.0041d140
mov eax, dword [ebp + 0x10]
push str.Loading_the_screenhook_library_for_32bit_system
mov byte [ebp - 4], 5
push eax
mov dword [ebx + 0x90], eax
call fcn.00405550
push 0x10
mov byte [ebp - 4], 6
call fcn.00497cd4
mov esi, eax
add esp, 0xc
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 7
mov ecx, esi
push str.screenhooks32.dll
mov dword [esi], vtable.DynamicLibrary.0
mov dword [esi + 4], 0
call fcn.00420480
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebx + 0x24], esi
mov dword [ebp - 4], 5
jmp 0x43cca1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x14
mov esi, eax
call fcn.00497cd4
mov edi, eax
mov dword [ebp + 0xc], edi
push str.HookTargetWinClassName
mov dword [edi], vtable.MessageWindow.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 0
call fcn.004adeb2
mov dword [edi + 0x10], eax
add esp, 8
mov dword [ebx + 0x28], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43d520
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
push dword [edi + 0x60]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x68], al
push dword [edi + 0x100]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x108], al
pop edi
ret
Function at 0x43dd30
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb98d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.ScreenGrabber.0
xorps xmm0, xmm0
mov dword [edi + 4], vtable.Rect.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], vtable.FrameBuffer.0
mov dword [edi + 0x24], vtable.Dimension.0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x44], 0
movups xmmword [edi + 0x30], xmm0
mov word [edi + 0x40], 0
lea esi, [edi + 0x48]
mov dword [ebp - 4], 0
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46f030
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [esi + 4], eax
mov dword [esi], vtable.GuiThread.0
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
push ecx
lea ecx, [edi + 0x6c]
mov dword [edi], vtable.WindowsScreenGrabber.1.0
mov dword [esi], vtable.WindowsScreenGrabber.0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.0041de80
push ecx
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 2
call fcn.0041de80
mov dword [edi + 0x7c], vtable.Dimension.0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
lea ecx, [edi + 0x8c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
movups xmmword [ecx], xmm0
mov word [ecx + 0x10], 0
mov dword [ecx + 0x14], vtable.Rect.0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 5
call fcn.00471040
mov byte [ebp - 4], 6
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
mov esi, dword [0x4fee8c]
mov byte [ebp - 4], 7
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov byte [ebp - 4], 6
lea eax, [esi + 0x2c]
mov dword [edi + 0x88], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x43defe
mov eax, dword [edi]
lea ecx, [edi + 4]
push ecx
mov ecx, edi
call dword [eax + 0xc]
push dword [edi + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x54], al
mov eax, dword [edi + 0x70]
test eax, eax
je 0x43df20
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43e770
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
pop esi
ret
Function at 0x440d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbd58
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x50], vtable.Rect.0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], vtable.Rect.0
movups xmmword [ebp - 0x60], xmm0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x78], vtable.Rect.0
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x74], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x70], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x68], eax
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + edx*4]
mov dword [ebp + 0xc], eax
jbe 0x440f25
lea eax, [edx*8]
mov dword [ebp - 0x30], vtable.Dimension.0
sub eax, edx
mov dword [ebp - 0x3c], vtable.Dimension.0
shl eax, 3
lea ecx, [eax + 4]
add eax, 8
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
add ecx, dword [ebx + 0x80]
push dword [ebp + 0xc]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x4c], esi
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x48], ebx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x44], edx
sub edx, esi
mov edi, dword [ecx + 0x14]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], edi
sub edi, ebx
mov eax, dword [ecx]
add edx, eax
mov ecx, dword [ecx + 4]
add edi, ecx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebx + 0x8c]
add edi, ecx
mov dword [ebp - 0x60], eax
add esi, ecx
mov dword [ebp - 0x58], edx
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00441450
mov eax, dword [edi]
push dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00441450
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x60]
add dword [ebp - 0x4c], ecx
add edi, ecx
add dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x24]
add dword [ebp - 0x58], ecx
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x14]
add esi, edx
add dword [ebp - 0x48], edx
add dword [ebp - 0x40], edx
add dword [ebp - 0x54], edx
lea edx, [ebp - 0x50]
mov eax, dword [ecx]
push esi
push edi
push edx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], esi
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x3c]
lea edx, [ebp - 0x50]
push esi
push edi
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
sub dword [ebp + 8], 1
mov dword [ebp - 0x10], ecx
jne 0x440e50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x442b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46f030
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [esi + 4], eax
mov dword [esi], vtable.GuiThread.0
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, esi
mov dword [esi], vtable.UpdateDetector.0
pop esi
pop ebp
ret 8
Function at 0x444550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, ecx
movzx eax, bl
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x36c]
test eax, eax
je 0x444592
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push str.Attach.ToDesktop
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x444592
mov byte [esi + 0x1a], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x14]
push str.Cant_set_the_Attach.ToDesktop.
push eax
call fcn.00404c10
add esp, 8
lea eax, [ebp - 0x14]
push 0x4f7f10
push eax
call fcn.00499438
int3

Function at 0x444760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc180
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x1060]
test eax, eax
je 0x4447be
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push str.The_mirror_driver_device_context_released
push dword [esi + 0x10dc]
mov dword [esi + 0x1060], 0
call fcn.004054f0
add esp, 8
cmp byte [esi + 0x1a], 0
je 0x444881
push str.Unloading_mirror_driver...
push dword [esi + 0x10dc]
call fcn.004054f0
add esp, 8
mov ecx, esi
push 0
call fcn.00444550
xor edi, edi
mov dword [esi + 0x430], 0
mov dword [esi + 0x434], 0
cmp dword [0x4fed30], edi
jne 0x444821
push 0x4fed30
mov dword [0x4fed30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and dword [0x4fed30], eax
cmp dword [0x4fed34], 5
jne 0x444832
cmp dword [0x4fed38], edi
je 0x444838
lea edi, [esi + 0x384]
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004445c0
push str.Mirror_driver_is_unloaded
push dword [esi + 0x10dc]
call fcn.004054f0
add esp, 8
jmp 0x444881
push 0xcdc
lea eax, [esi + 0x384]
push 0
push eax
call fcn.00499220
mov eax, 0xdc
mov byte [esi + 0x19], 0
add esp, 0xc
mov word [esi + 0x3c8], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc246
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], vtable.Rect.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
lea eax, [edi + 0x1c]
mov dword [edi + 0x18], 0
lea esi, [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403ad0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x4cd35c
push ecx
call fcn.0049af00
add esp, 0xc
mov word [edi + 0x2c], 0x100
mov dword [edi + 0x30], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44bc20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
xor edx, edx
sub eax, edx
je 0x44bb4a
sub eax, 1
je 0x44bb43
sub eax, 1
jne 0x44bb4f
mov edx, 0xc0000000
jmp 0x44bb4f
mov edx, 0x40000000
jmp 0x44bb4f
mov edx, closesocket
mov eax, dword [ebp + 0x10]
xor bl, bl
cmp eax, 5
ja case.default.0x44bb59
jmp dword [eax*4 + 0x44bc08]
mov bl, 1
mov eax, 4
jmp 0x44bb89
mov eax, 2
jmp 0x44bb89
mov eax, 1
jmp 0x44bb89
mov eax, 3
jmp 0x44bb89
mov eax, 5
jmp 0x44bb89
mov eax, dword [esp + 0xc]
push 0
push 0x80
push eax
movzx eax, byte [ebp + 0x14]
push 0
push eax
push edx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x44bbd4
test bl, bl
je 0x44bbcc
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
jne 0x44bbcc
test eax, eax
jne 0x44bbec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
call fcn.0041cba0
push 0x4f803c
lea eax, [esp + 0x14]
push eax
call fcn.00499438
push eax
lea ecx, [esp + 0x14]
call fcn.0041cc60
push 0x4f803c
lea eax, [esp + 0x14]
push eax
call fcn.00499438
nop dword [eax]
pushal
mov ebx, -1150746556
inc esp
add byte [eax - 0x45], dh
inc esp
add byte [edi - 0x45], dh
inc esp
add byte [edx - 0x45], ah
inc esp
add byte [esi - 0x45], bh
inc esp
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push esi
mov esi, ecx
lea eax, [esp + 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [esp + 0x14], ecx
jg 0x44bc4e
jl 0x44bc81
cmp dword [esp + 0x10], eax
jb 0x44bc81
push 1
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push eax
push dword [esi + 4]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x44bc7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44bca2
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x18]
push str.Specified_file_pointer_position_is_more_than_file_length
push eax
call fcn.00404c10
add esp, 8
lea eax, [esp + 0x18]
push 0x4f7f10
push eax
call fcn.00499438
push str.Cannot_set_file_pointer_to_specified_position
lea ecx, [esp + 0x1c]
call fcn.0041cd20
push 0x4f803c
lea eax, [esp + 0x1c]
push eax
call fcn.00499438
int3