joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d40f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a2ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x60f520]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [0x640968]
test eax, eax
je 0x4d4146
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d4146
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00555f90
add esp, 4
call fcn.00555f6f
mov esi, eax
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d4178
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push esi
lea eax, [esp + 0x14]
mov dword [esp + 0x54], 0
push str.x_GeneralNotify_lu
push eax
call fcn.00422de0
mov esi, dword [esp + 0x1c]
mov ecx, 0x640970
mov edi, esi
add esp, 0xc
mov edx, 0x104
sub edi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4d41d1
movzx eax, word [edi + ecx]
test ax, ax
je 0x4d41d1
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x4d41b3
jmp 0x4d41d5
test edx, edx
jne 0x4d41d8
sub ecx, 2
xor eax, eax
mov dword [esp + 0x14], 0x30
push 0x2c
push eax
mov word [ecx], ax
lea eax, [esp + 0x20]
push eax
call fcn.00559380
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], 0x640970
mov dword [esp + 0x20], 0x4d40d0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x5c9d18
push dword [esp + 0x64]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x640968], eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0xfffffff0
mov dword [esp + 0x50], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d427d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d5160
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
lea edi, [esi + 0x168]
mov dword [esi], vtable.HighestUserAddress.0
mov eax, dword [edi + 4]
movq qword [edi + 4], xmm0
mov dword [edi + 0xc], 0
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x4d51b5
test edi, edi
je 0x4d519b
push edi
push 0
call fcn.004b4e30
mov eax, dword [esi + 0x100]
test eax, eax
je 0x4d51b5
mov dword [esi + 0x100], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x4d51e5
test edi, edi
je 0x4d51cb
push edi
push 0
call fcn.004b4e30
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4d51e5
mov dword [esi + 0x104], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], vtable.tionProcess.0
mov ecx, dword [esi + 0x11c]
test ecx, ecx
je 0x4d51fb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x4d520b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x4d521b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x4d522b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x4d523b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4d524b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x4d525b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x4d526b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
mov ecx, esi
pop esi
jmp fcn.004b0150
Function at 0x4d5cf0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x150], 0
je 0x4d5e07
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x54]
mov ecx, esi
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
call dword [eax + 0xb0]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [esi + 0x5c]
mov eax, 0
sub edi, dword [esi + 0x54]
mov edx, dword [ebp - 0xc]
add edi, edx
mov ecx, dword [esi + 0x154]
sub ecx, edx
add ecx, dword [ebp - 0x14]
cmovs ecx, eax
mov eax, dword [esi + 0x134]
sub eax, dword [esi + 0x13c]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x4d5d8c
mov ecx, dword [esi + 0x134]
sub ecx, dword [esi + 0x13c]
sub ecx, edx
add ecx, edi
test ecx, ecx
jne 0x4d5db7
mov eax, dword [esi]
push ecx
mov dword [esi + 0x148], ecx
mov ecx, esi
push 0x4b2
call dword [eax + 0x24]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
sub eax, dword [esi + 0x13c]
sub eax, edx
add eax, dword [esi + 0x134]
cmp ecx, eax
mov eax, dword [esi + 0x144]
jne 0x4d5dd7
sub eax, edi
add eax, edx
jmp 0x4d5ddf
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x148], eax
mov ecx, esi
mov eax, dword [esi]
push 0
push 0x4b2
call dword [eax + 0x24]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movdqu xmm0, xmmword [esi + 0x134]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [ebp - 8]
movdqu xmmword [eax], xmm0
push dword [ebp - 0xc]
call fcn.004d5f90
test eax, eax
je 0x4d5e56
cmp dword [esi + 0x120], 1
je 0x4d5e8d
mov dword [esi + 0x120], 1
jmp 0x4d5e69
cmp dword [esi + 0x120], 0
je 0x4d5e8d
mov dword [esi + 0x120], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
test eax, eax
je 0x4d5e8d
mov ecx, dword [esi + 0x40]
sub esp, 0x10
movdqu xmm0, xmmword [esi + 0x54]
mov eax, esp
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x2c]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d6b50
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
lea edi, [esi + 0x168]
mov dword [esi], vtable.ad.0
mov eax, dword [edi + 4]
movq qword [edi + 4], xmm0
mov dword [edi + 0xc], 0
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x4d6ba5
test edi, edi
je 0x4d6b8b
push edi
push 0
call fcn.004b4e30
mov eax, dword [esi + 0x100]
test eax, eax
je 0x4d6ba5
mov dword [esi + 0x100], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x4d6bd5
test edi, edi
je 0x4d6bbb
push edi
push 0
call fcn.004b4e30
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4d6bd5
mov dword [esi + 0x104], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], vtable.eAddress.0
mov ecx, dword [esi + 0x11c]
test ecx, ecx
je 0x4d6beb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x4d6bfb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x4d6c0b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x4d6c1b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x4d6c2b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4d6c3b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x4d6c4b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x4d6c5b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
mov ecx, esi
pop esi
jmp fcn.004b0150
Function at 0x4d74e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x150], 0
je 0x4d75f7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x54]
mov ecx, esi
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
call dword [eax + 0xb0]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [esi + 0x60]
mov eax, 0
sub edi, dword [esi + 0x58]
mov edx, dword [ebp - 8]
add edi, edx
mov ecx, dword [esi + 0x154]
sub ecx, edx
add ecx, dword [ebp - 0x10]
cmovs ecx, eax
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x140]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x4d757c
mov ecx, dword [esi + 0x138]
sub ecx, dword [esi + 0x140]
sub ecx, edx
add ecx, edi
test ecx, ecx
jne 0x4d75a7
mov eax, dword [esi]
push ecx
mov dword [esi + 0x148], ecx
mov ecx, esi
push 0x4b0
call dword [eax + 0x24]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x138]
sub eax, dword [esi + 0x140]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x144]
jne 0x4d75c7
sub eax, edi
add eax, edx
jmp 0x4d75cf
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x148], eax
mov ecx, esi
mov eax, dword [esi]
push 0
push 0x4b0
call dword [eax + 0x24]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movdqu xmm0, xmmword [esi + 0x134]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [ebp - 8]
movdqu xmmword [eax], xmm0
push dword [ebp - 0xc]
call fcn.004d7780
test eax, eax
je 0x4d7646
cmp dword [esi + 0x120], 1
je 0x4d767d
mov dword [esi + 0x120], 1
jmp 0x4d7659
cmp dword [esi + 0x120], 0
je 0x4d767d
mov dword [esi + 0x120], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
test eax, eax
je 0x4d767d
mov ecx, dword [esi + 0x40]
sub esp, 0x10
movdqu xmm0, xmmword [esi + 0x54]
mov eax, esp
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x2c]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0055199a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d8d40
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x138]
mov dword [esi], vtable.sIoGetFileObjectGenericMapping.0
test eax, eax
je 0x4d8d5d
push eax
call edi
mov eax, dword [esi + 0x138]
mov dword [esi + 0x140], 0
test eax, eax
je 0x4d8d74
push eax
call edi
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x4d8d85
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x118]
mov dword [esi], vtable.aseFileSystemDeviceObject.0
test eax, eax
je 0x4d8da6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x114]
test eax, eax
je 0x4d8dbd
push eax
call edi
mov dword [esi + 0x114], 0
pop edi
mov dword [esi], 0x5c89c8
mov ecx, esi
pop esi
jmp fcn.004b0150
Function at 0x4db5f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2228
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
push eax
call fcn.0040b7d0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov dword [esi + 0x30], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4db653
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4dcb20
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
mov dword [esi], vtable._KeLeaveCriticalRegion.0
mov eax, dword [esi + 0x118]
test eax, eax
je 0x4dcb43
mov dword [esi + 0x118], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x114]
test eax, eax
je 0x4dcb5d
mov dword [esi + 0x114], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x124]
xorps xmm0, xmm0
movq qword [esi + 0x124], xmm0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x124], eax
mov dword [esi + method..7.virtual_0], vtable.lockedIncrementLong.0
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x4dcb98
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x4dcba8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0x5c89c8
mov ecx, esi
pop esi
jmp fcn.004b0150
Function at 0x4df490
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
mov dword [esi], vtable.iceDescriptorTable.0
mov eax, dword [esi + 0x1a4]
test eax, eax
je 0x4df4b3
mov dword [esi + 0x1a4], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x4df4cd
mov dword [esi + 0x1ac], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x4df4e7
mov dword [esi + 0x1cc], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x4df4f7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x1ac]
test ecx, ecx
je 0x4df507
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x4df517
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x180]
test ecx, ecx
je 0x4df527
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x17c]
test ecx, ecx
je 0x4df537
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x178]
test ecx, ecx
je 0x4df547
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x4df557
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x4df567
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x16c]
test ecx, ecx
je 0x4df577
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x168]
test ecx, ecx
je 0x4df587
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x4df597
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x4df5a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x15c]
test ecx, ecx
je 0x4df5b7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x158]
test ecx, ecx
je 0x4df5c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x154]
test ecx, ecx
je 0x4df5d7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x150]
test ecx, ecx
je 0x4df5e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x14c]
test ecx, ecx
je 0x4df5f7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x148]
test ecx, ecx
je 0x4df607
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x144]
test ecx, ecx
je 0x4df617
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, esi
pop esi
jmp fcn.004d8d40
Function at 0x4e2ac0
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x118]
mov dword [esi], vtable.itializeDpc.0
test ecx, ecx
je 0x4e2ae8
lea eax, [esi + 0x11c]
test eax, eax
je 0x4e2ae8
push eax
push 0x1f4
call fcn.004b4e30
mov eax, dword [esi + 0x114]
test eax, eax
je 0x4e2b02
mov dword [esi + 0x114], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x118]
test eax, eax
je 0x4e2b1c
mov dword [esi + 0x118], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x120]
xorps xmm0, xmm0
movq qword [esi + 0x120], xmm0
or ecx, 0xffffffff
mov dword [esi + 0x128], 0
mov dword [esi + 0x120], eax
mov edx, dword [esi + 0x12c]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e2b5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + method..7.virtual_0], vtable.pLockedPages.0
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x4e2b77
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x114]
test ecx, ecx
je 0x4e2b87
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0x5c979c
mov ecx, esi
pop esi
jmp fcn.004b0150

Function at 0x4e3040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x114]
test eax, eax
je 0x4e3085
cmp dword [ebp + 8], 0
jne 0x4e3068
push 0
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
call dword [eax + 0xb8]
test eax, eax
je 0x4e3085
mov eax, dword [esi + 0x114]
push 5
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4e4520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x4e4548
call fcn.004e4670
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e4567
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055199a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
call fcn.004e5030
test eax, eax
je 0x4e4553
push esi
lea eax, [ebp - 0x210]
push 0x5cb270
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x4e45cc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e45cc
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e4645
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x210]
call fcn.004e4950
test eax, eax
je 0x4e4645
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x4e4645
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x230]
jne 0x4e4645
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x4e4645
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x220]
jne 0x4e4645
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.004e5360
test al, al
jne 0x4e4655
mov eax, dword [edi + 4]
mov ecx, edi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.004e46d0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055199a
mov esp, ebp
pop ebp
ret 8

Function at 0x4e4c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x60]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x641988]
add esi, 0x10
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x641704]
lea eax, [ebp - 4]
push eax
call fcn.004e4f80
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x4e4c4f
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xf4]
mov dword [ebp - 4], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 4]
push eax
call fcn.004e4f00
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4e5054
cmp dword [esi + 4], 0
je 0x4e504d
push eax
call fcn.00551f79
add esp, 4
mov dword [esi + 0x10], 0
push 0x5c858c
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.0055712d
mov edi, eax
add esp, 8
test edi, edi
jne 0x4e507e
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.005572e0
push edi
call fcn.005576f3
push 0
push 0
push edi
mov ebx, eax
call fcn.005572e0
add esp, 0x1c
test ebx, ebx
jle 0x4e50be
push ebx
mov ecx, esi
call fcn.004e50e0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4e50be
push edi
push 1
push ebx
push eax
call fcn.00557924
add esp, 0x10
push edi
call fcn.00557a3c
add esp, 4
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x4e5360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.004e56f0
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
test eax, eax
je 0x4e53ec
push 0x5c858c
push eax
call fcn.0055712d
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
je 0x4e53ec
push dword [edi + 0x10]
call fcn.00557be4
add esp, 4
mov esi, eax
lea eax, [ebp - 0x18]
push edi
push 1
push 8
push eax
call fcn.00557924
add esp, 0x10
mov byte [ebp + 0xb], 0
cmp dword [ebp - 0x18], 0x78646972
jne 0x4e546f
cmp dword [ebp - 0x14], 0x8000
jb 0x4e53f7
push edi
call fcn.00557a3c
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add esi, 0xfffffff8
push esi
call fcn.00551ee7
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4e546f
push edi
push 1
push esi
push ebx
call fcn.00557924
lea edx, [ebx + esi]
mov ecx, ebx
xor ebx, ebx
mov dword [ebp + 8], edx
add esp, 0x10
cmp dword [ebp - 0x14], ebx
jle 0x4e545d
mov edi, dword [ebp - 8]
jmp 0x4e5430
mov esi, dword [ecx + 0xc]
add esi, 0x12
add esi, ecx
cmp esi, edx
ja 0x4e545a
push dword [ecx + 8]
lea eax, [ecx + 0x10]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
push eax
call fcn.004e5190
mov edx, dword [ebp + 8]
inc ebx
mov ecx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x4e5430
mov edi, dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00551f79
add esp, 4
cmp ebx, dword [ebp - 0x14]
sete byte [ebp + 0xb]
push edi
call fcn.00557a3c
mov al, byte [ebp + 0xb]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e9140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3e33
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x640d30
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.pperString.0
mov dword [ecx], 0x640d30
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x5b4f4e
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004ed640
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret