joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b17b8
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e3018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00489020
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x40d2c9
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x40d2c9
call fcn.0040b8c0
mov edi, eax
jmp 0x40d3e5
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40d2ec
call fcn.0040b8c0
jmp 0x40d3d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x40d30a
call fcn.0040b8c0
jmp 0x40d3d8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40d32b
mov edi, 0x8007000e
jmp 0x40d3da
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40d41e
jb 0x40d349
cmp eax, 0xffffffff
ja 0x40d41e
cmp eax, 0x400
jbe 0x40d35e
push eax
lea ecx, [ebp - 0x424]
call fcn.0040b890
jmp 0x40d384
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x40d384
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x40d39b
mov edi, 0x8007000e
jmp 0x40d3da
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40d3bb
call fcn.0040b8c0
jmp 0x40d3d8
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.0040d0b0
mov edi, eax
test esi, esi
je 0x40d3e5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40d3fe
lea ecx, [ebp - 0x424]
call fcn.0040b870
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404610
int3
Function at 0x40ed00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xf0], 0
je 0x40ed64
mov eax, dword [esi + 0xec]
test eax, eax
je 0x40ed64
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ed64
mov eax, dword [esi + 0xec]
push ebx
push edi
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x58]
lea edi, [esi + 0x58]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
test eax, eax
je 0x40ed62
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop ebx
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x40ed7e
mov dword [esi + 0xec], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x40ed9b
mov dword [esi + 0x68], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x40edaf
mov dword [esi + 0x6c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x40edc3
mov dword [esi + 0x70], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40ede6
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40ede6
mov dword [esi + 0x64], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x410320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e3018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], eax
push edi
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x410347
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xf0], 0
je 0x410493
mov eax, dword [esi + 0xec]
test eax, eax
je 0x410493
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410493
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x410482
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x410482
mov eax, dword [esi + 0xec]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [eax + 4], 0
je 0x4103de
mov ecx, dword [eax]
cmp ecx, 0x64
je 0x4103de
push 0x64
push ecx
push 5
call edi
mov ecx, eax
mov eax, dword [esi + 0x30]
jmp 0x4103e3
mov ecx, 5
sub dword [ebp - 0x14], ecx
cmp byte [eax + 4], 0
je 0x410401
mov ecx, dword [eax]
cmp ecx, 0x64
je 0x410401
push 0x64
push ecx
push 3
call edi
mov edx, eax
mov eax, dword [esi + 0x30]
jmp 0x410406
mov edx, 3
mov ecx, dword [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp byte [eax + 4], 0
je 0x41042c
mov edx, dword [eax]
cmp edx, 0x64
je 0x41042c
push 0x64
push edx
push 5
call edi
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [esi + 0x30]
jmp 0x410431
mov ebx, 5
mov edx, dword [ebp - 0xc]
add edx, ebx
mov dword [ebp - 0xc], edx
cmp byte [eax + 4], 0
je 0x410457
mov eax, dword [eax]
cmp eax, 0x64
je 0x410457
push 0x64
push eax
push 7
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 0x10]
jmp 0x41045c
mov edi, 7
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 8], eax
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x14]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi + 0xec]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x410493
mov eax, dword [esi + 0xec]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d4f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b234b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4e3018]
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.CXElement.0
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x41d630
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x41d63a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004869b5
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x4f85ac]
cmp eax, dword [ecx + 4]
jle 0x41d608
push 0x4f85ac
call fcn.00486b26
add esp, 4
cmp dword [0x4f85ac], 0xffffffff
jne 0x41d608
push 0x4ba100
mov dword [0x4f85b0], 0x64
mov byte [0x4f85b4], 0
call fcn.00486e5b
push 0x4f85ac
call fcn.00486adc
add esp, 8
mov dword [edi + 0x30], 0x4f85b0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x41dec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
push 0x80004005
call fcn.00404610
int3
Function at 0x420d00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x138]
sub ecx, dword [esi + 0x134]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x420e16
xor edi, edi
nop dword [eax + eax]
push dword [esp + 0x14]
mov eax, dword [esi + 0x134]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x420ddb
mov eax, dword [esi + 0x134]
cmp dword [eax + edi + 0x20], 0
je 0x420ddb
mov eax, dword [ebp + 0x14]
push 1
push 0
push 0
mov dword [eax], 1
mov eax, dword [esi + 0x134]
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x138]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x134]
add edi, 0x2c
mov ebx, dword [esp + 0xc]
imul ecx
inc ebx
sar edx, 3
mov eax, edx
mov dword [esp + 0xc], ebx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x420e0e
mov ebx, dword [esp + 0x10]
jmp 0x420d90
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x420e23
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42ae90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4e3018]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x5f7
je 0x42afa4
cmp eax, 0x5f8
je 0x42afa4
cmp eax, 0x201
jne 0x42aeeb
mov ecx, dword [esi + 0x138]
push 2
mov eax, dword [ecx]
call dword [eax + 0x158]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x202
jne 0x42b036
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 4]
add eax, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x42b02e
push 1
call dword [edx + 0x158]
push ecx
mov ecx, esi
call fcn.004297c0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x14
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov edx, dword [esp + 0x10]
push dword [esp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
push dword [esp + 8]
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx]
test eax, eax
je 0x42b02e
push 1
jmp 0x42b030
push 0
call dword [edx + 0x158]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x14
Function at 0x432aa0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x88]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00433dd0
mov ecx, eax
test ecx, ecx
jne 0x432ac4
mov eax, 0x80004005
pop esi
ret
lea eax, [esi + 0x108]
push eax
call fcn.00433d50
test eax, eax
je 0x432adf
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x110], 0
xor eax, eax
pop esi
ret

Function at 0x432af0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x4e3018]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x432b3e
sub esp, 8
mov eax, esp
push 0
push SysReAllocString
push 0
push ecx
mov dword [eax], 0
mov ecx, esi
mov eax, esp
push edi
mov dword [eax], 0
call fcn.0040ddd0
cmp byte [ebp + 0x1c], 0
je 0x432b50
mov ecx, dword [esi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.0042c9c0
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x8c]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x432b78
mov eax, dword [ebp + 0xc]
sub ecx, eax
push 1
push dword [esp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
jmp 0x432bcd
push 0
push edi
mov dword [esp + 0x20], 0x68
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
lea eax, [ebx + ecx]
cmp eax, edx
jle 0x432bae
mov ecx, edx
sub ecx, ebx
mov dword [ebp + 0xc], ecx
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
lea eax, [edi + edx]
cmp eax, dword [esp + 0x38]
jle 0x432bc7
mov edx, dword [esp + 0x38]
sub edx, edi
mov dword [ebp + 0x10], edx
push 1
push edi
push ebx
push edx
push ecx
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x84]
cmp dword [esi + 0x10c], 0
jne 0x432c37
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.00433dd0
mov edi, eax
test edi, edi
je 0x432c51
cmp dword [esi + 0x110], 0
je 0x432c1d
lea ecx, [esi + 0x108]
push ecx
mov ecx, edi
call fcn.00433d50
lea eax, [esi + 0x108]
mov ecx, edi
push eax
call fcn.00433cc0
mov dword [esi + 0x110], 1
jmp 0x432c51
mov ecx, dword [esi + 0x12c]
mov edx, 0x6a4
mov dword [esi + 0x10c], 0
call fcn.00437c20
mov ecx, dword [esp + 0x84]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486999
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4378f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b43bd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x4e3018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.00489020
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00498802
add esp, 4
call fcn.004987e1
mov esi, eax
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x437a89
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_timer_lu
push eax
call fcn.00403ab0
mov eax, dword [ebp - 0x10]
mov edx, 0x4e79f0
mov edi, eax
add esp, 0xc
mov esi, 0x104
sub edi, edx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x4379b1
movzx ecx, word [edi + edx]
test cx, cx
je 0x4379b1
mov word [edx], cx
add edx, 2
sub esi, 1
jne 0x437993
lea ecx, [edx - 2]
mov dword [ebp - 4], 0xffffffff
test esi, esi
cmovne ecx, edx
xor edx, edx
mov word [ecx], dx
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4379dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov dword [ebp - 0x18], 0x4e79f0
mov dword [ebp - 0x38], 0x4374f0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x4ca7c4
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4e79ec], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4f80e0]
mov eax, 0x2aaaaaab
sub ecx, dword [0x4f80dc]
imul ecx
mov dword [0x4e3ac8], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x437a76
push 0
push 0x32
push 1
push dword [0x4e79ec]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4e3ac8], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404610
int3
Function at 0x43a990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [esi + 0x120], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x124], 0
mov dword [esi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0x144], eax
mov dword [esi + 0x148], 1
call fcn.0043ab30
add esi, 0x11c
mov dword [ebp + 0xc], esi
call fcn.00457340
mov edi, eax
test esi, esi
je 0x43aa5d
push ebx
lea ebx, [edi + 0x10c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x100]
lea edx, [edi + 0xfc]
mov ecx, dword [edx]
cmp ecx, eax
je 0x43aa0f
cmp dword [ecx], esi
je 0x43aa2b
add ecx, 4
cmp ecx, eax
jne 0x43aa04
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x43aa1f
mov dword [eax], esi
add dword [edx + 4], 4
jmp 0x43aa2b
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, edx
call fcn.0041e340
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 0x108], 0
pop ebx
jne 0x43aa5d
push 0
push 0
push edi
push 0x4572e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x108], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x43be00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b46c5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e3018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x15c], 0
je 0x43be7b
call fcn.00404840
test eax, eax
je 0x43bf4f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x4c7c00
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004041f0
test al, al
jne 0x43bf2f
push 0
push 0x4c7c00
mov ecx, esi
call fcn.004044f0
jmp 0x43bf2f
call fcn.00404840
mov ecx, eax
test ecx, ecx
je 0x43bf4f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
push dword [edi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x43bf45
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x43bed0
push ebx
lea ecx, [ebp - 0x10]
call fcn.00404400
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [edi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x43beef
push dword [esi - 8]
push esi
call fcn.0048ee69
add esp, 8
test eax, eax
js 0x43bf45
cmp eax, dword [esi - 8]
jg 0x43bf45
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.00416960
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43bf2f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404610
push 0x80004005
call fcn.00404610
int3
Function at 0x442d20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4d1f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e3018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004169c0
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0x1e
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 1
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x18c], edi
mov dword [edi + method.TXEventObserver_class_CPageHome__class_IEventObserver_.virtual_0], vtable.TXEventObserverObj_class_CXVScrollBar_.0
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0xb0], 1
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0xa
cmp byte [ebx + 4], 0
je 0x442eec
mov eax, dword [ebx]
cmp eax, 0x64
je 0x442eec
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push dword [edi + 0xdc]
call esi
push 0x64
mov dword [edi + 0xdc], eax
push dword [ebx]
push dword [edi + 0xe0]
call esi
mov dword [edi + 0xe0], eax
push 0x2a8
call fcn.004869b5
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00422d30
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x11c]
cmp ecx, esi
je 0x442f37
test esi, esi
je 0x442f27
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x11c]
mov dword [edi + 0x11c], esi
test ecx, ecx
je 0x442f37
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 0x2a8
call fcn.004869b5
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00422d30
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x120]
cmp ecx, esi
je 0x442f82
test esi, esi
je 0x442f72
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x120]
mov dword [edi + 0x120], esi
test ecx, ecx
je 0x442f82
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x190], 0x444700
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