joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ea24
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x41ea2e
sub esi, ecx
mov ecx, edi
push edi
mov edx, esi
call fcn.0041e941
push dword [0x5db64c]
mov eax, esi
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
call fcn.005400d8
pop ecx
xor esi, esi
pop ecx
test ebx, ebx
jle 0x41ea74
call fcn.005400b7
mov cl, byte [esi + edi]
add al, 0x11
xor cl, al
xor cl, 2
mov byte [esi + edi], cl
inc esi
cmp esi, ebx
jl 0x41ea5d
mov byte [ebx + edi], 0
pop edi
pop esi
pop ebx
ret

Function at 0x41ea7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x20c
lea eax, [ebp - 0x41c]
push esi
xor edi, edi
push edi
push eax
call fcn.00516180
push esi
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.00516180
add esp, 0x18
mov dword [ebp - 0x428], edi
mov ecx, 0x105
mov dword [ebp - 0x424], edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x420], edi
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x58bc64
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
pop edi
pop esi
test eax, eax
je 0x41eb0e
mov eax, dword [ebp - 0x420]
test eax, eax
jne 0x41eb13
mov eax, 0x7c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050eff9
mov esp, ebp
pop ebp
ret

Function at 0x426370
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4263a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x426390
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x42b860
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x42ba36
push ebx
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x42ba35
cmp eax, 0x29
jne 0x42b898
cmp dword [esi + 0x10], 0
jne 0x42ba35
test dword [esi + 0x50], 0x10000000
je 0x42ba41
cmp eax, 0x2e
jne 0x42b8f5
push 5
lea ecx, [esi + 0x24]
call fcn.0042bc50
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x42b8e9
cmp word [eax], 0x5c
jne 0x42b8e6
add eax, 2
cmp eax, ecx
je 0x42b8e6
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x42b8d2
movzx edx, word [eax]
cmp edx, 0x28
je 0x42b8e4
cmp edx, 0x29
je 0x42b8e4
test cl, 0x10
jne 0x42b8e6
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x42b8e4
cmp ecx, 0x7d
jne 0x42b8e6
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004292e0
jmp 0x42ba22
cmp eax, 0x5c
jne 0x42b95c
mov ecx, esi
call fcn.0042b810
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x42b928
cmp word [esi + 0x48], 0x62
jne 0x42b928
push 4
lea ecx, [esi + 0x24]
call fcn.0042bc50
mov ecx, esi
call fcn.0042b810
jmp 0x42ba29
test eax, eax
je 0x42b950
cmp word [esi + 0x48], 0x42
jne 0x42b950
push 4
lea ecx, [esi + 0x24]
call fcn.0042bc50
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042b810
jmp 0x42ba29
mov ecx, esi
call fcn.0042d170
jmp 0x42ba22
cmp eax, 0x5b
jne 0x42b97e
mov ecx, esi
call fcn.0042b810
mov ecx, esi
call fcn.0042d120
cmp dword [esi + 0x4c], 0x5d
je 0x42ba1b
jmp 0x42ba3a
cmp eax, 0x28
jne 0x42b9ae
mov ecx, esi
call fcn.0042b810
mov ecx, esi
call fcn.0042d240
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x42ba41
mov ecx, esi
call fcn.0042b810
test bl, bl
je 0x42ba29
jmp 0x42ba22
cmp eax, 0x5e
jne 0x42b9c6
push 2
lea ecx, [esi + 0x24]
call fcn.0042bc50
mov ecx, esi
call fcn.0042b810
jmp 0x42ba29
cmp eax, 0x24
jne 0x42b9de
push 3
lea ecx, [esi + 0x24]
call fcn.0042bc50
mov ecx, esi
call fcn.0042b810
jmp 0x42ba29
cmp eax, 0x2a
je 0x42ba4f
cmp eax, 0x2b
je 0x42ba4f
cmp eax, 0x3f
je 0x42ba4f
cmp eax, 0x7b
je 0x42ba4f
cmp eax, 0x7d
jne 0x42ba00
test dword [esi + 0x50], 0x10000000
je 0x42ba48
cmp eax, 0x5d
jne 0x42ba0e
test dword [esi + 0x50], 0x10000000
je 0x42ba3a
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042d490
mov ecx, esi
call fcn.0042b810
mov ecx, esi
call fcn.0042d300
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x42b870
pop ebx
mov al, cl
pop esi
ret
push 4
call fcn.004f53f1
push 5
call fcn.004f53f1
push 6
call fcn.004f53f1
push 0xa
call fcn.004f53f1
int3
Function at 0x4366f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x43670a
mov eax, dword [ecx]
push edi
call dword [eax + 0x100]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [esi + 0xe4], 0
je 0x43677d
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x43677d
test edi, edi
je 0x43673d
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, eax
test ebx, ebx
je 0x43677c
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43677c
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43677c
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x436790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x4367b3
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x436869
cmp dword [esi + 0xe0], 0
je 0x436869
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x436845
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436845
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436869
mov eax, dword [esi + 0xe0]
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 ecx, dword [esi + 0xe0]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x14], 5
add ecx, 0x38
sub dword [ebp - 0x10], 3
add dword [ebp - 0xc], 5
add dword [ebp - 8], 7
push 1
push eax
call fcn.00411d3a
jmp 0x436869
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436869
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov eax, dword [eax + 0x58]
cmp eax, method.CXWindow.virtual_88
jne 0x43688b
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], eax
xor ecx, ebp
pop edi
pop esi
call fcn.0050eff9
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call eax
jmp 0x436875
Function at 0x442620
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b5b6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5b1074]
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.00409c54
mov ecx, eax
test ecx, ecx
jne 0x442667
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x44267c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x44267e
call edx
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4426a0
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4426b5
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4426b7
call edx
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00444f90
mov dword [esi], eax
xorps xmm0, xmm0
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 [0x5db6b4]
cmp eax, dword [ecx + 4]
jle 0x44275f
push 0x5db6b4
call fcn.0050f5f6
add esp, 4
cmp dword [0x5db6b4], 0xffffffff
jne 0x44275f
push 0x5787b0
mov dword [0x5c4de0], 0x64
mov dword [0x5c4de4], 0x64
mov byte [0x5c4de8], 0
call fcn.0050f44b
push 0x5db6b4
call fcn.0050f5b7
add esp, 8
mov dword [edi + 0x30], 0x5c4de0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x443310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44a840
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]
mov eax, dword [esi]
mov edx, dword [eax + 0xcc]
cmp eax, vtable.CXStatic.0
jne 0x44a9a8
mov eax, dword [eax + 0x9c]
cmp eax, method.CXStatic.virtual_156
jne 0x44a8a6
cmp dword [esi + 0x44], 0
jne 0x44a8a1
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x44a8a1
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x44]
jmp 0x44a8aa
mov ecx, esi
call eax
test eax, eax
je 0x44a8b6
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 0x38]
jmp 0x44a8b8
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
xor ecx, ecx
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 + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x168]
sub ecx, dword [esi + 0x164]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x44a990
xor edi, edi
nop
mov eax, dword [esi + 0x164]
push dword [esp + 0x14]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x44a95b
mov eax, dword [esi + 0x164]
cmp dword [eax + edi + 0x20], 0
je 0x44a95b
push 1
mov dword [ebx], 1
mov eax, dword [esi + 0x164]
push 0
push 0
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x168]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x164]
add edi, 0x2c
inc dword [esp + 0xc]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc], eax
jae 0x44a98b
mov ebx, dword [esp + 0x10]
jmp 0x44a910
cmp dword [ebx], 0
jne 0x44a99d
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call edx
jmp 0x44a8b8
Function at 0x45b2e0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d158
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5b1074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or ebx, 0xffffffff
cmp dword [0x5c4d1c], ebx
jne 0x45b362
push ecx
mov edx, str.full.data
lea ecx, [ebp - 0x10]
call fcn.004d6860
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov dword [0x5c4d1c], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b362
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45b360
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45b362
call esi
cmp dword [0x5c4d1c], 1
mov edi, dword [ebp + 8]
jne 0x45b3fc
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x45b387
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45b39c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x45b39e
call edx
add eax, 0x10
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push str.ClientText:_s
push eax
call fcn.00418437
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45b3fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x45b3fa
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x45b3fc
call edx
mov esi, dword [0x5db1e0]
test esi, esi
je 0x45b48b
mov ebx, dword [0x5db1e8]
test ebx, ebx
je 0x45b48b
cmp ebx, esi
je 0x45b48b
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45b426
mov ecx, edi
call fcn.0045c3a0
mov dword [ebp + 8], eax
lea ecx, [esi + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0045ca90
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
je 0x45b48b
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 8]
test eax, eax
jne 0x45b474
push ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 8]
call fcn.0045ca40
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 8]
je 0x45b48b
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x14]
push esi
lea ecx, [ecx + 8]
call fcn.0045cbe0
mov eax, dword [esi]
mov eax, dword [eax + 4]
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
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 0x4723d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xb4], 0
je 0x47254b
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x472448
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
je 0x47252c
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x47252c
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xbc], 0
push dword [ebx + 0xb8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x47254b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push edx
push 0
push dword [ebp - 8]
mov dword [ebp - 0x20], vtable.Gdiplus::Bitmap.0
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov eax, dword [ebp - 4]
push 7
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push ecx
mov edx, 1
lea ecx, [ebp - 0x20]
call fcn.0046d150
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x472537
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x482be0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5b1074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x1c8]
test ecx, ecx
je 0x482c09
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18c], 1
push eax
push dword [esi + 0x16c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x198]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482c5d
test dx, dx
je 0x482c59
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482c5d
add eax, 4
add ecx, 4
test dx, dx
jne 0x482c37
xor eax, eax
jmp 0x482c62
sbb eax, eax
or eax, 1
test eax, eax
jne 0x482c7d
push 0x5884e4
push dword [esi + 0x16c]
mov dword [esi + 0x194], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x1fc
call dword [eax + 0x2c]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.0050eff9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4843c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x48443c
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4843f5
push edi
mov ecx, esi
call fcn.00409225
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x48441d
mov ecx, dword [esi]
test ecx, ecx
je 0x484421
push dword [ecx - 8]
push ecx
call fcn.0053e0cd
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x48443c
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x48443c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.0040b4a2
int3
Function at 0x48d940
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f59a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5b1074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00462380
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.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], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
xorps xmm0, xmm0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 0x1e
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 1
movq qword [edi + 0x1c0], xmm0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1c0], edi
mov dword [edi + method.TXEventObserverObj_class_CXVScrollBar_.virtual_0], vtable.TXEventObserverObj_class_CXVScrollBar_.0
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0xb4], 1
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0x14
cmp byte [ebx + 8], 0
je 0x48db0d
mov eax, dword [ebx]
cmp eax, 0x64
je 0x48db0d
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push dword [edi + 0xe0]
call esi
push 0x64
mov dword [edi + 0xe0], eax
push dword [ebx]
push dword [edi + 0xe4]
call esi
mov dword [edi + 0xe4], eax
push 0x320
call fcn.0050f042
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0044e1b0
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x150], esi
je 0x48db56
test esi, esi
je 0x48db40
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x150]
mov dword [edi + 0x150], esi
test eax, eax
je 0x48db56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x320
call fcn.0050f042
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0044e1b0
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x154], esi
je 0x48db9f
test esi, esi
je 0x48db89
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x154]
mov dword [edi + 0x154], esi
test eax, eax
je 0x48db9f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x1c4], 0x48f550
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
Function at 0x48e790
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x5b1074]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0
cmp dword [esi + 0x1a0], 0
push eax
je 0x48e88a
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00463760
mov ecx, dword [esi + 0x1a4]
mov eax, 0
mov edx, dword [esp + 0x50]
sub ecx, edx
add ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x58]
cmovs ecx, eax
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x48e820
mov ecx, dword [esi + 0x188]
sub ecx, dword [esi + 0x190]
sub ecx, edx
add ecx, edi
mov eax, dword [esi + 0x198]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x48e836
mov dword [esi + 0x198], ecx
jmp 0x48e864
mov eax, dword [esi + 0x188]
sub eax, dword [esi + 0x190]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x194]
jne 0x48e856
sub eax, edi
add eax, edx
jmp 0x48e85e
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x198], eax
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0x4b0
mov ecx, esi
call dword [eax + 0x2c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0050eff9
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
movups xmm0, xmmword [ecx + 0x184]
movaps xmmword [esp + 0x34], xmm0
call fcn.00463760
movaps xmm1, xmmword [esp + 0x30]
movd eax, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
push esi
add eax, dword [esp + 0x24]
mov dword [esp + 0x50], eax
movd eax, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
add eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
movd eax, xmm0
push edi
add eax, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
movd eax, xmm1
add eax, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x48e926
cmp dword [eax + 0x170], 1
je 0x48e940
mov dword [eax + 0x170], 1
jmp 0x48e939
cmp dword [eax + 0x170], 0
je 0x48e940
mov dword [eax + 0x170], 0
mov ecx, eax
call fcn.00463690
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0050eff9
mov esp, ebp
pop ebp
ret 0x10