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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4fb008]
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 0x438c33
push str.nobody_is_ready_for_updates
push dword [esi + 0x84]
call fcn.004063c0
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.00432820
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438c53
cmp dword [eax + 4], 0
je 0x438c72
push str.set_full_update_request_to_UpdateHandler
push dword [esi + 0x84]
call fcn.004063c0
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.004063c0
mov ecx, dword [esi + 0x3c]
lea edx, [ebp - 0x5c]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x438cc0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x438d22
cmp dword [eax + 4], 0
jne 0x438d22
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x438d22
cmp dword [eax + 4], 0
jne 0x438d22
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x438d22
cmp dword [eax + 4], 0
jne 0x438d22
cmp byte [ebp - 0x2c], 0
jne 0x438d22
cmp byte [ebp - 0x2b], 0
jne 0x438d22
cmp byte [ebp - 0x2a], 0
jne 0x438d22
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438d22
cmp dword [eax + 4], 0
jne 0x438d22
push str.UpdateContainer_is_empty
push dword [esi + 0x84]
call fcn.00406390
add esp, 8
jmp 0x438d8a
push str.UpdateContainer_is_not_empty._Updates_will_be_given_to_all.
push dword [esi + 0x84]
call fcn.004063f0
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 0x438d66
cmp dword [eax], 0
je 0x438d66
push eax
call fcn.0049ffd5
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], 0x4ffe7c
mov byte [ebp - 4], 3
lea ecx, [esi + 0x20]
mov eax, dword [esi + 0x20]
call dword [eax + 8]
lea ecx, [ebp - 0x5c]
call fcn.004328d0
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 0x439020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba377
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4fb008]
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 0x46ef80
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.00404970
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cc34c
push ecx
call fcn.0049ae40
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041d510
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.00404970
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cc34c
push ecx
call fcn.0049ae40
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push dword [ebp - 0x30]
push str.__s_
push eax
call fcn.00404740
mov byte [ebp - 4], 5
add esp, 0x18
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x4fc558
call dword [eax + 4]
mov esi, dword [0x4ffe84]
mov byte [ebp - 4], 6
mov ecx, 0x4fc558
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.00497c14
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.0041cec0
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.00404840
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.StringStorage.0
call fcn.00404840
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 0x43b300
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push esi
push 0x43b390
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 0x43b351
mov eax, dword [edi]
push eax
push dword [eax]
call fcn.0043b5d0
mov ecx, edi
call fcn.0043b570
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 0x43b7c0
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba749
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fb008]
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 0x46ef80
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 [0x4ffe6c]
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 [0x4ffe70]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0x4ffe7c
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.0041dc00
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 0x43c960
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba94b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fb008]
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.00442960
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x1c]
mov dword [ebx], vtable.HooksUpdateDetector.0
call fcn.0041dc00
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 0x46ef80
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.0041dc00
push ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.0041dc00
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 0x4cc34c
push 0x4cc34c
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 4
call fcn.0041cec0
mov eax, dword [ebp + 0x10]
push 0x4d7ad8
mov byte [ebp - 4], 5
push eax
mov dword [ebx + 0x90], eax
call fcn.004063f0
push 0x10
mov byte [ebp - 4], 6
call fcn.00497c14
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.00420200
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebx + 0x24], esi
mov dword [ebp - 4], 5
jmp 0x43cad1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x14
mov esi, eax
call fcn.00497c14
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.004ad0f2
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 0x43d350
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 0x43db60
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab3d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fb008]
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 0x46ef80
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.0041dc00
push ecx
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 2
call fcn.0041dc00
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.00470fa0
mov byte [ebp - 4], 6
mov ecx, 0x4fc558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
mov esi, dword [0x4ffe84]
mov byte [ebp - 4], 7
mov ecx, 0x4fc558
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 0x43dd2e
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 0x43dd50
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 0x43e5a0
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 0x440bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baf08
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x4fb008]
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 0x440d55
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.00441280
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.00441280
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 0x440c80
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 0x442960
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 0x46ef80
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 0x444390
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 0x4443d2
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 0x4443d2
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.00405ab0
add esp, 8
lea eax, [ebp - 0x14]
push 0x4f88b0
push eax
call fcn.00499378
int3

Function at 0x4445a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb330
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fb008]
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 0x4445fe
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.00406390
add esp, 8
cmp byte [esi + 0x1a], 0
je 0x4446c1
push str.Unloading_mirror_driver...
push dword [esi + 0x10dc]
call fcn.00406390
add esp, 8
mov ecx, esi
push 0
call fcn.00444390
xor edi, edi
mov dword [esi + 0x430], 0
mov dword [esi + 0x434], 0
cmp dword [0x4ffd28], edi
jne 0x444661
push 0x4ffd28
mov dword [0x4ffd28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and dword [0x4ffd28], eax
cmp dword [0x4ffd2c], 5
jne 0x444672
cmp dword [0x4ffd30], edi
je 0x444678
lea edi, [esi + 0x384]
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00444400
push str.Mirror_driver_is_unloaded
push dword [esi + 0x10dc]
call fcn.00406390
add esp, 8
jmp 0x4446c1
push 0xcdc
lea eax, [esi + 0x384]
push 0
push eax
call fcn.00499160
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 0x4460c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb3f6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4fb008]
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.00404970
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x4cc34c
push ecx
call fcn.0049ae40
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 0x44bb20
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 0x44ba4a
sub eax, 1
je 0x44ba43
sub eax, 1
jne 0x44ba4f
mov edx, 0xc0000000
jmp 0x44ba4f
mov edx, 0x40000000
jmp 0x44ba4f
mov edx, bind
mov eax, dword [ebp + 0x10]
xor bl, bl
cmp eax, 5
ja case.default.0x44ba59
jmp dword [eax*4 + 0x44bb08]
mov bl, 1
mov eax, 4
jmp 0x44ba89
mov eax, 2
jmp 0x44ba89
mov eax, 1
jmp 0x44ba89
mov eax, 3
jmp 0x44ba89
mov eax, 5
jmp 0x44ba89
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 0x44bad4
test bl, bl
je 0x44bacc
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 0x44bacc
test eax, eax
jne 0x44baec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
call fcn.0041c920
push 0x4f89dc
lea eax, [esp + 0x14]
push eax
call fcn.00499378
push eax
lea ecx, [esp + 0x14]
call fcn.0041c9e0
push 0x4f89dc
lea eax, [esp + 0x14]
push eax
call fcn.00499378
nop dword [eax]
pushal
mov edx, -1167523772
inc esp
add byte [eax - 0x46], dh
inc esp
add byte [edi - 0x46], dh
inc esp
add byte [edx - 0x46], ah
inc esp
add byte [esi - 0x46], 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 0x44bb4e
jl 0x44bb81
cmp dword [esp + 0x10], eax
jb 0x44bb81
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 0x44bb7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44bba2
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.00405ab0
add esp, 8
lea eax, [esp + 0x18]
push 0x4f88b0
push eax
call fcn.00499378
push str.Cannot_set_file_pointer_to_specified_position
lea ecx, [esp + 0x1c]
call fcn.0041caa0
push 0x4f89dc
lea eax, [esp + 0x1c]
push eax
call fcn.00499378
int3