joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101b5200
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x102c83f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.102b56d1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.102bb171
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.102bd232
test eax, eax
je 0x101b531c
mov ecx, dword [esp + 0x3c]
call fcn.102bb19e
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x101b52e0
push edi
mov ecx, esi
call fcn.102b86f4
mov ecx, esi
call fcn.101b54c0
cmp dword [esp + 0x38], 1
jne 0x101b5315
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.102b884a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x101b7510
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x101b7543
push esi
call fcn.101c5680
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x101b753c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x101b75c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x101b75b2
mov eax, dword [esi + 8]
test eax, eax
je 0x101b7567
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x101b75ae
cmp eax, 2
je 0x101b75b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x101b755a
cmp eax, 3
je 0x101b758d
cmp eax, 1
jne 0x101b755a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x101b755a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x101b755a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.101b75f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x101b75d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.101b75f0
add esp, 4
pop esi
ret

Function at 0x101b7e70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x101b7e91
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x101b7e91
mov eax, dword [eax + 0x44]
test eax, eax
je 0x101b7e91
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x101b82e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x101b82eb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x101b83ee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x103e3f30]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x103e3f30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x103e3f30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x103e3f30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x103e3f30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x103e3f30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x103e3f30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x103e3f30]
xor eax, edx
inc ecx
dec edi
jne 0x101b8306
pop edi
test esi, esi
je 0x101b8410
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x103e3f30]
xor eax, edx
inc ecx
dec esi
jne 0x101b83f2
pop esi
pop ebx
not eax
ret

Function at 0x101d18e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
sub esp, 0x10
push esi
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov ecx, dword [esp + 0x1c]
mov esi, eax
xor eax, eax
push ecx
mov dword [esp + 8], eax
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call sub.WS2_32.dll_inet_addr
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
push edx
call sub.WS2_32.dll_htons
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push esi
call sub.WS2_32.dll_connect
test eax, eax
jne 0x101d193f
mov eax, esi
pop esi
add esp, 0x10
ret
push esi
call sub.WS2_32.dll_closesocket
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x101d1aa0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1ac
lea eax, [esp + 0x1c]
push ebx
push esi
push edi
push eax
push 1
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x101d1bc3
mov ebx, dword [esp + 0x1c0]
test ebx, ebx
jl 0x101d1bc3
cmp ebx, 0xffff
jg 0x101d1bc3
mov edi, dword [esp + 0x1c4]
push edi
call fcn.101d3080
add esp, 4
cmp eax, 1
jne 0x101d1b10
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x101d1b26
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.101d3270
add esp, 8
test eax, eax
je 0x101d1bc3
mov esi, dword [esp + 0x1bc]
xor edx, edx
lea ecx, [esp + 0x14]
push ebx
lea eax, [esi + 0x34]
push ecx
push esi
mov dword [eax], edx
mov byte [eax + 4], dl
call fcn.101d18e0
add esp, 0xc
mov dword [esi + 0xc], eax
test eax, eax
je 0x101d1bc3
push eax
call fcn.101d2270
push esi
lea edx, [esp + 0x18]
push 0x101d1950
push edx
mov dword [esi + 0x10], 0
call fcn.101d33f0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x101d1bac
push esi
lea ecx, [esp + 0x10]
push 0x101d19c0
push ecx
call fcn.101d33f0
mov edx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x1c]
push 0x101d1a30
push eax
mov dword [esi + 0x18], edx
call fcn.101d33f0
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov dword [esi + 0x1c], ecx
call fcn.101d1830
mov dword [esi + 8], eax
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1ac
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1ac
ret
Function at 0x101d2270
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0xc], 1
call sub.WS2_32.dll_ioctlsocket
xor edx, edx
test eax, eax
setge dl
mov eax, edx
pop ecx
ret
Function at 0x101d3270
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x101d327f
ret
mov ecx, dword [eax + 0xc]
push esi
push edi
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret

Function at 0x101d32c0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x15c
mov eax, dword [esp + 0x160]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x38]
push str._Msg0001_4__Msg0001__s
push ecx
call fcn.10285353
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x104dd9d4]
repne scasb al, byte es:[edi]
mov eax, dword [str.0001]
mov dword [esp + 0x2c], edx
not ecx
dec ecx
mov dword [esp + 0x30], eax
mov ebx, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
lea eax, [ebx + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.10284357
mov ebp, eax
mov ecx, 5
lea esi, [esp + 0x30]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea esi, [esp + 0x44]
mov edx, ecx
lea edi, [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x174]
xor esi, esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x68]
push eax
push 0
push ecx
lea eax, [edi + 1]
push 0
push eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x186a0
call sub.WS2_32.dll_select
test eax, eax
jl 0x101d33d0
je 0x101d33c2
lea edx, [esp + 0x68]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x101d33c2
mov ebx, dword [esp + 0x10]
add ebp, esi
sub ebx, esi
push 0
push ebx
push ebp
push edi
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_send
mov esi, eax
test esi, esi
jl 0x101d33d0
cmp esi, ebx
jge 0x101d33d0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x101d3357
push ebp
call fcn.1028426e
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret

Function at 0x101d33f0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 4]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], eax
mov eax, edx
ret

Function at 0x101d3420
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x101d3439
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x101d4660
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x101d4703
test eax, eax
jbe 0x101d4703
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x101d4703
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x101d46ae
xor esi, esi
jmp 0x101d46b4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x101d46df
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.1021b940
add esi, eax
push esi
mov ebx, esi
call fcn.1021b940
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x101d46c0
pop ebp
test edi, edi
pop edi
jne 0x101d4703
test ebx, ebx
je 0x101d4703
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10284170
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x101d4820
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x101d493d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x101d493d
mov eax, dword [esi + 0x3c]
push eax
call fcn.102b5b23
mov esi, eax
test esi, esi
je 0x101d493d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x101d493d
mov ecx, esi
call fcn.101d47b0
cmp edi, eax
jge 0x101d493d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x101d48c3
mov dword [esp + 0x34], 1
jmp 0x101d491e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x101d493d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.101d3d60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x101dd130
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101dd1a3
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101dd198
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.10285ba1
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x101ee580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x102c9ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x104fa380]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
push 0x104ddc50
push ecx
mov byte [esp + 0x2c], 1
call fcn.102b0bc9
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push 0x104ddc4c
push eax
call fcn.102b4272
push 0x104ddc48
lea ecx, [esp + 0x30]
mov bl, 2
push eax
push ecx
mov byte [esp + 0x2c], bl
call fcn.102b41fe
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.102b40a2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call fcn.102b3fb5
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.102b3fb5
mov edi, dword [esi + 0x110]
mov eax, dword [esi + 0x10c]
cmp edi, eax
jge 0x101ee6d8
push ebp
mov ebp, dword [esp + 0x2c]
mov al, byte [esp + 0x34]
test al, al
je 0x101ee64c
push 1
push 0x1052471c
jmp 0x101ee6bf
push ebp
lea edx, [esp + 0x34]
push edi
push edx
mov ecx, esi
call fcn.101ea6c0
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
push eax
mov byte [esp + 0x28], 4
call fcn.10283612
push ecx
lea eax, [esp + 0x1c]
fstp qword [esp]
push ebx
push eax
call fcn.102b0bc9
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call fcn.102b3fb5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10283612
fcomp qword [0x103e6ba0]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x101ee6b8
mov eax, dword [esi + 0x340]
test eax, eax
jne 0x101ee6c8
push 1
push 0x1052471c
jmp 0x101ee6bf
mov edx, dword [esp + 0x14]
push 1
push edx
push ebp
push edi
mov ecx, esi
call fcn.101e4660
mov eax, dword [esi + 0x10c]
inc edi
cmp edi, eax
jl 0x101ee63b
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.102b3fb5
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.102b3fb5
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x101f0b20
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x102c9e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x104fa380]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.102b64c6
cmp dword [0x10524728], ebx
je 0x101f0b90
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.102b3fb5
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x104fa380]
push ebp
push edi
mov edi, 1
mov dword [0x10524728], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x101f0bb9
mov dword [esp + 0x20], ebx
jmp 0x101f0bc0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.102b8736
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.102b40a2
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x101f0c1e
mov dword [esp + 0x14], ebx
jmp 0x101f0c25
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x101f0c3f
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x101f0c39
cmp eax, 2
jne 0x101f0c3f
mov dword [esp + 0x18], edi
jmp 0x101f0c43
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x101f0c51
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.102b5afc
mov edi, eax
cmp edi, ebx
jne 0x101f0c61
xor eax, eax
jmp 0x101f0c64
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x101f0c8c
mov ecx, esi
call fcn.102b8736
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x101f0ca4
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x10524728], 0
test eax, eax
je 0x101f0ccd
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x101f0ccd
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.102b3fb5
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.102b3fb5
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x101f2d00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x102ca068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.102baec9
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.101f2c40
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.102badf7
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x101f2dc7
cmp dword [esp + 0x40], 1
jne 0x101f2dc5
cmp ecx, eax
jge 0x101f2dc7
mov eax, ecx
cmp eax, 0x12c
jge 0x101f2dd3
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.101f2e20
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.102baf3b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x101f7260
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x102ca556
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x104fa380]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.102b64c6
mov edx, dword [0x104fa380]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x101f72ba
mov dword [esp + 0x1c], ebx
jmp 0x101f72c1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.102b8736
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.102b40a2
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x101f7312
mov dword [esp + 0x14], ebx
jmp 0x101f7319
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x101f7334
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x101f732e
cmp eax, 2
jne 0x101f7334
mov dword [esp + 0x18], edi
jmp 0x101f7338
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x101f7346
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.102b5afc
mov edi, eax
cmp edi, ebx
jne 0x101f7356
xor eax, eax
jmp 0x101f7359
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x101f7381
mov ecx, esi
call fcn.102b8736
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x101f739d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x101f73bc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x101f73bc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.102b3fb5
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.102b3fb5
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret