joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bda27
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x554008]
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 0x472140
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.00403af0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041da00
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.00403af0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push dword [ebp - 0x30]
push str.__s_
push eax
call fcn.004038c0
mov byte [ebp - 4], 5
add esp, 0x18
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x555558
call dword [eax + 4]
mov esi, dword [0x558f94]
mov byte [ebp - 4], 6
mov ecx, 0x555558
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.0049adb4
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.0041d3b0
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.004039c0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.StringStorage.0
call fcn.004039c0
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 0x43ba70
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push esi
push 0x43bb00
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 0x43bac1
mov eax, dword [edi]
push eax
push dword [eax]
call fcn.0043bd40
mov ecx, edi
call fcn.0043bce0
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 0x43bf30
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bddf9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x554008]
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 0x472140
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 [0x558f7c]
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 [0x558f80]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0x558f84
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.0041e0f0
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 0x43d0d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdffb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x554008]
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.004430c0
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x1c]
mov dword [ebx], vtable.HooksUpdateDetector.0
call fcn.0041e0f0
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 0x472140
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.0041e0f0
push ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.0041e0f0
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 0x524da8
push 0x524da8
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 4
call fcn.0041d3b0
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.00405f20
push 0x10
mov byte [ebp - 4], 6
call fcn.0049adb4
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.00420700
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebx + 0x24], esi
mov dword [ebp - 4], 5
jmp 0x43d241
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x14
mov esi, eax
call fcn.0049adb4
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.004b0692
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 0x43dac0
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 0x43e2d0
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be1ed
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x554008]
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 0x472140
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.0041e0f0
push ecx
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 2
call fcn.0041e0f0
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.00474160
mov byte [ebp - 4], 6
mov ecx, 0x555558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
mov esi, dword [0x558f94]
mov byte [ebp - 4], 7
mov ecx, 0x555558
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 0x43e49e
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 0x43e4c0
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 0x43ed10
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 0x441330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x554008]
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 0x4414c5
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.004419f0
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.004419f0
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 0x4413f0
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 0x4430c0
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 0x472140
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 0x444af0
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 0x444b32
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 0x444b32
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.00403f20
add esp, 8
lea eax, [ebp - 0x14]
push 0x552038
push eax
call fcn.0049c518
int3

Function at 0x444d00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be9e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x554008]
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 0x444d5e
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.00405ec0
add esp, 8
cmp byte [esi + 0x1a], 0
je 0x444e21
push str.Unloading_mirror_driver...
push dword [esi + 0x10dc]
call fcn.00405ec0
add esp, 8
mov ecx, esi
push 0
call fcn.00444af0
xor edi, edi
mov dword [esi + 0x430], 0
mov dword [esi + 0x434], 0
cmp dword [0x558e38], edi
jne 0x444dc1
push 0x558e38
mov dword [0x558e38], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and dword [0x558e38], eax
cmp dword [0x558e3c], 5
jne 0x444dd2
cmp dword [0x558e40], edi
je 0x444dd8
lea edi, [esi + 0x384]
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00444b60
push str.Mirror_driver_is_unloaded
push dword [esi + 0x10dc]
call fcn.00405ec0
add esp, 8
jmp 0x444e21
push 0xcdc
lea eax, [esi + 0x384]
push 0
push eax
call fcn.0049c300
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 0x446830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beaa6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x554008]
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.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov word [edi + 0x2c], pe_nt_image_headers32
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 0x44c190
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 0x44c1ca
sub eax, 1
je 0x44c1c3
sub eax, 1
jne 0x44c1cf
mov edx, 0xc0000000
jmp 0x44c1cf
mov edx, 0x40000000
jmp 0x44c1cf
mov edx, bind
mov eax, dword [ebp + 0x10]
xor bl, bl
cmp eax, 5
ja case.default.0x44c1d9
jmp dword [eax*4 + 0x44c288]
mov bl, 1
mov eax, 4
jmp 0x44c209
mov eax, 2
jmp 0x44c209
mov eax, 1
jmp 0x44c209
mov eax, 3
jmp 0x44c209
mov eax, 5
jmp 0x44c209
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 0x44c254
test bl, bl
je 0x44c24c
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 0x44c24c
test eax, eax
jne 0x44c26c
and byte [esi + 0x5b], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
call fcn.0041ce10
push 0x552164
lea eax, [esp + 0x14]
push eax
call fcn.0049c518
push eax
lea ecx, [esp + 0x14]
call fcn.0041ced0
push 0x552164
lea eax, [esp + 0x14]
push eax
call fcn.0049c518
nop dword [eax]
loopne 0x44c24b
inc esp
add cl, ch
rol dword [eax + eax - 0x10], 0xc1
inc esp
add bh, dh
rol dword [eax + eax - 0x1e], 0xc1
inc esp
add dh, bh
rol dword [eax + eax + 0x55], 0x8b
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 0x44c2ce
jl 0x44c301
cmp dword [esp + 0x10], eax
jb 0x44c301
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 0x44c2fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44c322
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.00403f20
add esp, 8
lea eax, [esp + 0x18]
push 0x552038
push eax
call fcn.0049c518
push str.Cannot_set_file_pointer_to_specified_position
lea ecx, [esp + 0x1c]
call fcn.0041cf90
push 0x552164
lea eax, [esp + 0x1c]
push eax
call fcn.0049c518
int3
Function at 0x44c288
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 0x44c1ca
sub eax, 1
je 0x44c1c3
sub eax, 1
jne 0x44c1cf
mov edx, 0xc0000000
jmp 0x44c1cf
mov edx, 0x40000000
jmp 0x44c1cf
mov edx, bind
mov eax, dword [ebp + 0x10]
xor bl, bl
cmp eax, 5
ja case.default.0x44c1d9
jmp dword [eax*4 + 0x44c288]
mov bl, 1
mov eax, 4
jmp 0x44c209
mov eax, 2
jmp 0x44c209
mov eax, 1
jmp 0x44c209
mov eax, 3
jmp 0x44c209
mov eax, 5
jmp 0x44c209
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 0x44c254
test bl, bl
je 0x44c24c
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 0x44c24c
test eax, eax
jne 0x44c26c
and byte [esi + 0x5b], bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x10]
call fcn.0041ce10
push 0x552164
lea eax, [esp + 0x14]
push eax
call fcn.0049c518
push eax
lea ecx, [esp + 0x14]
call fcn.0041ced0
push 0x552164
lea eax, [esp + 0x14]
push eax
call fcn.0049c518
nop dword [eax]
loopne 0x44c24b
inc esp
add cl, ch
rol dword [eax + eax - 0x10], 0xc1
inc esp
add bh, dh
rol dword [eax + eax - 0x1e], 0xc1
inc esp
add dh, bh
rol dword [eax + eax + 0x55], 0x8b
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 0x44c2ce
jl 0x44c301
cmp dword [esp + 0x10], eax
jb 0x44c301
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 0x44c2fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44c322
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.00403f20
add esp, 8
lea eax, [esp + 0x18]
push 0x552038
push eax
call fcn.0049c518
push str.Cannot_set_file_pointer_to_specified_position
lea ecx, [esp + 0x1c]
call fcn.0041cf90
push 0x552164
lea eax, [esp + 0x1c]
push eax
call fcn.0049c518
int3