joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10b31e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
push edi
mov dword [esp + 8], 0x100
call fcn.10bd19f0
test eax, eax
je 0x10b31eb9
mov esi, dword [esp + 0x10]
push 0x10dee254
push esi
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b31ef1
mov esi, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [str.ToolboxBitmap32]
dec edi
mov dword [edi], eax
mov ecx, dword [0x10dee26c]
mov dword [edi + 4], ecx
mov edx, dword [0x10dee270]
mov dword [edi + 8], edx
mov eax, dword [0x10dee274]
mov dword [edi + 0xc], eax
mov cl, byte [0x10dee278]
mov byte [edi + 0x10], cl
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [esp + 8]
mov dword [esp + 8], 0x100
push edx
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x10b31f1e
mov ecx, dword [esp + 8]
test eax, eax
mov byte [ecx + edi], al
je 0x10b31f27
or eax, 0xffffffff
pop edi
pop esi
pop ecx
ret 0xc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov eax, ecx
pop esi
pop ecx
ret 0xc
Function at 0x10b330d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
lea eax, [esp + 4]
push ebp
push esi
push edi
push eax
push 0
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x10b330fd
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x208
ret 8
mov eax, dword [esp + 0x218]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov dword [esp + 0x1c], 0x100
call ebp
test eax, eax
jne 0x10b33134
mov edx, dword [esp + 0xc]
test eax, eax
mov byte [esp + edx + 0x14], al
je 0x10b3314d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x208
ret 8
call fcn.10bd19f0
test eax, eax
je 0x10b3316e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x114]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
jmp 0x10b33196
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
call fcn.10bd19f0
test eax, eax
je 0x10b331b7
lea ecx, [esp + 0x114]
push 0x10dee468
push ecx
call dword [sym.imp.MSVCRT.dll__mbscat]
add esp, 8
jmp 0x10b331d2
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
mov esi, str.ShellOpenCommand
repne scasb al, byte es:[edi]
dec edi
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 0x100
call ebp
test eax, eax
jne 0x10b33203
mov ecx, dword [esp + 0xc]
test eax, eax
mov byte [esp + ecx + 0x14], al
je 0x10b3321c
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x208
ret 8
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x14]
test al, al
je 0x10b3323c
cmp al, 0x20
je 0x10b33234
cmp al, 9
je 0x10b33234
cmp al, 0xa
jne 0x10b3323c
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x10b33228
mov al, byte [ecx]
mov edi, ecx
test al, al
je 0x10b33258
cmp al, 0x20
je 0x10b33258
cmp al, 9
je 0x10b33258
cmp al, 0xa
je 0x10b33258
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x10b33244
mov byte [ecx], 0
call fcn.10bd19f0
test eax, eax
je 0x10b33287
mov eax, dword [esp + 0x21c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbscpy]
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x208
ret 8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x21c]
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
pop ebp
add esp, 0x208
ret 8
Function at 0x10b335b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
cmp eax, 5
push edi
ja 0x10b335d7
je 0x10b335d0
cmp eax, 2
jb 0x10b335e3
cmp eax, 3
ja 0x10b335e3
mov ebp, 0x7eaf
jmp 0x10b335f6
mov ebp, 0x7eb0
jmp 0x10b335f6
cmp eax, 0x20
je 0x10b335f1
cmp eax, 0x7eae
je 0x10b335ea
mov ebp, 0x7eb2
jmp 0x10b335f6
mov ebp, 0x7eae
jmp 0x10b335f6
mov ebp, 0x7eb1
push 0x600
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x18], eax
je 0x10b33679
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov eax, dword [0x10e2ab30]
push 0x200
push esi
lea edi, [esi + 0x200]
push ebp
push eax
lea ebx, [edi + 0x200]
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x10b33667
mov ecx, dword [esp + 0x1c]
push ecx
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0x200
push ebx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x2000
push ebx
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x10b35560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
mov dword [esp + 0x10], 0
jne 0x10b3557b
mov esi, dword [0x10e2ab30]
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
and eax, 0xffff
push 2
push eax
push esi
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push esi
call ebp
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10b355d9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [0x10e2ab30]
push 2
push 0x7e51
push ecx
call edi
mov edx, dword [0x10e2ab30]
push eax
push edx
call ebp
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10b3564c
mov eax, dword [esi + 0x20]
mov edi, dword [esi]
test eax, eax
jne 0x10b355f3
mov cx, word [esi + 0xe]
cmp cx, 0x18
je 0x10b355f6
mov eax, 1
shl eax, cl
lea edi, [edi + eax*4]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10b35601
add edi, eax
jmp 0x10b3561c
mov edx, dword [esi + 4]
xor ecx, ecx
mov cx, word [esi + 0xe]
imul edx, ecx
add edx, 0x1f
sar edx, 3
and edx, 0xfffffffc
imul edx, dword [esi + 8]
add edi, edx
lea eax, [edi + 4]
push str.lpRet_in_PBROI_GetBitmapInfo
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10b03ce0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10b3564c
mov ecx, edi
mov dword [eax], edi
mov edx, ecx
lea edi, [eax + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10b358c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0x14]
test esi, esi
push edi
jne 0x10b358d0
mov esi, dword [0x10e2ab30]
mov eax, dword [esp + 0xc]
push 2
and eax, 0xffff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.10b35660
add esp, 0xc
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret

Function at 0x10b35920
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x480
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
push str.lpszFile_in_PBROI_CopyFileName___PBROI_AllocAppMem
inc esi
lea eax, [esp + 0x14]
push esi
push eax
call fcn.10b03ce0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10b359a8
push ebp
push esi
push eax
push ebx
mov ebp, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x83b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push ebp
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ebx, dword [esp + 0x18]
push esi
push ebx
push 0x300
push edi
call fcn.10b310a0
add esp, 0x10
push esi
push ebx
push 0x200
push edi
call fcn.10b310a0
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call fcn.10b03d40
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10b36c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x398
mov eax, dword [esp + 0x3a0]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
jne 0x10b36c3e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0x10
mov word [eax], si
mov eax, dword [esp + 0x3b8]
cmp eax, esi
jne 0x10b36c7b
lea eax, [esp + 0x3b8]
push eax
push esi
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
je 0x10b36c73
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0x10
mov dword [esp + 0x18], 1
mov ebp, dword [esp + 0x3ac]
lea ecx, [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov ebx, dword [sym.imp.MSVCRT.dll_wcstombs]
push 0x100
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x1ac]
push edx
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x1a8]
lea edx, [esp + 0x128]
push ecx
push str.CLSID_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x3c0]
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x3bc]
lea edx, [esp + 0x12c]
push ecx
push edx
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
test edi, edi
jne 0x10b36d02
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x28], al
mov eax, dword [esp + 0x3b0]
lea edx, [esp + 0x28]
push esi
push edx
push eax
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
test edi, edi
je 0x10b36dcf
mov ecx, dword [esp + 0x3b0]
push esi
push str.Unknown_Type
push ecx
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
test edi, edi
je 0x10b36dcf
push ebp
call dword [sym.imp.ole32.dll_CoIsOle1Class]
test eax, eax
je 0x10b36dcf
lea edx, [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.ole32.dll_ProgIDFromCLSID]
push 0x100
lea ecx, [esp + 0x2ac]
mov eax, dword [esp + 0x20]
mov ebp, 1
push eax
push ecx
mov dword [esp + 0x1c], esi
call ebx
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2a8]
push edx
mov edx, dword [esp + 0x3bc]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
test edi, edi
jne 0x10b36daa
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x28], 0
mov edx, dword [esp + 0x3b0]
lea ecx, [esp + 0x28]
push esi
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
test edi, edi
je 0x10b36dd3
mov dword [esp + 0x10], 0
jmp 0x10b36dd3
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x14]
push eax
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
test eax, eax
jne 0x10b36e10
test ebp, ebp
je 0x10b36df7
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10b36e26
mov edx, dword [esp + 0x3b8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x398
ret 0x10
Function at 0x10b37dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
mov ecx, dword [eax]
mov eax, dword [esp + 0x80]
xor esi, esi
push edi
cmp eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
je 0x10b37dfc
mov dword [eax], esi
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x10]
push ecx
push 0x10dc4ee0
mov edx, dword [eax]
push eax
call dword [edx]
mov ecx, dword [esp + 0x10]
cmp ecx, esi
jne 0x10b37e26
mov eax, 0x80070057
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x20
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
cmp ebx, 4
mov word [esp + 0x30], si
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], esi
jne 0x10b37e55
cmp ebp, esi
mov eax, 1
jne 0x10b37e5a
mov eax, 2
mov edx, dword [ecx]
lea edi, [esp + 0x20]
push edi
push eax
lea eax, [esp + 0x38]
push eax
push ecx
call dword [edx + 0xc]
mov edi, eax
cmp edi, esi
jge 0x10b37e87
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x20
mov edx, dword [esp + 0x6c]
cmp ebx, 4
mov dword [edx], ebx
jne 0x10b37ed9
cmp ebp, esi
je 0x10b37ed9
mov eax, 0x20
lea edx, [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push esi
push edx
lea edx, [esp + 0x38]
mov word [esp + 0x38], 3
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x10b37eea
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x10b37eea
mov dword [eax], 1
cmp dword [esp + 0x7c], esi
je 0x10b37f29
mov edi, dword [esp + 0x80]
cmp edi, esi
je 0x10b37f29
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x14]
push edx
push 0x10dc4f00
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10b37f29
mov ecx, dword [eax]
push edi
push esi
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
cmp dword [esp + 0x78], esi
je 0x10b37f83
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp eax, esi
jne 0x10b37f75
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x44]
push esi
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
cmp eax, esi
jne 0x10b37f75
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jne 0x10b37f42
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
jmp 0x10b37f42
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x10b37f83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x10b37f91
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0x20
Function at 0x10b3b850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov dword [0x10e2cbb0], ebx
mov dword [0x10e2c724], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 4
mov ecx, 0xa
sbb eax, eax
lea edi, [esp + 0xc]
inc eax
push 0x7f00
mov dword [0x10e2cda0], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [0x10e2cbb0]
push eax
mov dword [esp + 0x18], sym.PBVM90.dll_shImageBrowserWnd
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 0x4000
call dword [sym.imp.USER32.dll_LoadCursorA]
lea edx, [esp + 0xc]
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x34], 0x10dee94c
call dword [sym.imp.USER32.dll_RegisterClassA]
call sym.PBVM90.dll_pbshr_intl
mov eax, dword [0x10e2cbb0]
push 0x100
push 0x131
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x10b3b915
mov ecx, dword [0x10e2cbb0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x10e2cbb0]
push esi
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov dword [0x10e2cdc8], eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x10b3b91f
mov dword [0x10e2cdc8], 0
call fcn.10d8ae20
mov esi, eax
call fcn.10b8aff0
call fcn.10b8d810
call fcn.10b86bb0
call fcn.10b96e60
call fcn.10b82650
call fcn.10b92010
call fcn.10b43250
call fcn.10b86f20
call fcn.10b90c60
test esi, esi
je 0x10b3b962
push ebx
call fcn.10bbdbf0
add esp, 4
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x10b445b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, ecx
push 0xb
call edi
mov ebx, dword [esi + 0x5c]
push 0x26
sub ebx, eax
call edi
add ebx, eax
push 0xc
mov dword [esi + 0x64], ebx
call edi
mov ebx, dword [esi + 0x60]
push 0x27
sub ebx, eax
call edi
add ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esi + 0x68], ebx
je 0x10b4467f
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push 6
push 0x10deedd4
push ecx
mov dword [esi + 0x78], 0x60
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
jg 0x10b4461b
mov eax, ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0xd8]
xor ebx, ebx
test eax, eax
jle 0x10b44663
xor ebp, ebp
mov edx, dword [esp + 0x1c]
mov edi, dword [esi + 0xd4]
push ebx
push edx
mov ecx, esi
add edi, ebp
call fcn.10b446c0
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x3c]
sub eax, ecx
mov ecx, dword [esi + 0x78]
cmp ecx, eax
jle 0x10b44652
mov eax, ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xd8]
inc ebx
add ebp, 0x5c
cmp ebx, eax
jl 0x10b4462c
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
add ecx, eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x78], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov eax, dword [esi + 0xd8]
xor edi, edi
test eax, eax
jle 0x10b446a3
mov ebx, dword [esp + 0x1c]
push edi
push ebx
mov ecx, esi
call fcn.10b446c0
mov eax, dword [esi + 0xd8]
inc edi
cmp edi, eax
jl 0x10b4468f
mov dword [esi + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x10b49b00
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x30
push ebx
mov ebx, ecx
call fcn.10b46d50
mov edx, dword [ebx + 0x30]
test edx, edx
je 0x10b49b9f
mov eax, dword [ebx + 0xc8]
push edi
push esi
lea edi, [esp + 0x18]
lea ecx, [eax + eax*2]
push edx
shl ecx, 3
sub ecx, eax
mov eax, dword [ebx + 0xd4]
lea esi, [eax + ecx*4]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea edi, [eax + 1]
push edi
call sub.libjsybheap.dll_Ordinal_13
mov ecx, dword [ebx + 0x30]
add esp, 4
mov esi, eax
push edi
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0xc]
push 0xffffffffffffff96
push edx
mov ecx, ebx
mov dword [esp + 0x34], esi
call fcn.10b46ca0
push esi
call sub.libjsybheap.dll_Ordinal_16
mov eax, dword [ebx + 0x30]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebx + 0xc8]
mov dword [ebx + 0x30], 0
push ecx
mov ecx, ebx
call fcn.10b46ad0
pop esi
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x10b4b600
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp eax, 0xfffffff0
mov esi, ecx
jne 0x10b4b72a
push edi
push ebp
mov ebp, dword [esp + 0x14]
push ebx
mov ebx, 3
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebp]
xor ecx, dword [ebp + 4]
test bl, cl
je 0x10b4b668
mov edx, eax
and edx, ebx
cmp dl, 1
je 0x10b4b653
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10b4b653
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10b4b653
mov eax, dword [esi + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, esi
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], eax
call fcn.10b46c60
test byte [ebp], 4
jne 0x10b4b6b3
test byte [ebp + 4], 4
je 0x10b4b6b3
mov eax, dword [esi + 0xd8]
xor edi, edi
test eax, eax
jle 0x10b4b6b3
xor ebp, ebp
cmp edi, dword [esi + 0xc8]
je 0x10b4b6a1
mov ecx, dword [esi + 0xd4]
test byte [ecx + ebp + 0xc], bl
je 0x10b4b6a1
push ebx
push 0
push edi
mov ecx, esi
call fcn.10b46d70
mov eax, dword [esi + 0xd8]
inc edi
add ebp, 0x5c
cmp edi, eax
jl 0x10b4b682
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp]
mov ecx, dword [ebp + 4]
xor edx, ecx
test dh, 0x20
je 0x10b4b6fc
mov eax, dword [esi + 4]
test ah, 0x20
jne 0x10b4b6fc
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x18]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push ecx
push edi
call ebp
push edi
mov ecx, esi
mov ebx, eax
call fcn.10b44ae0
push ebx
push edi
call ebp
mov edx, dword [esi]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
xor eax, edx
test ah, 0x40
je 0x10b4b720
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10b4b720
mov ecx, dword [esi + 0x2c]
test ecx, ecx
jle 0x10b4b720
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.10b46c40
pop ebx
pop ebp
pop edi
pop esi
ret 8
Function at 0x10b4caf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10b4cb13
mov ecx, dword [eax]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0x18]
mov eax, dword [edx + 8]
test eax, eax
je 0x10b4cb13
mov esi, dword [eax + 8]
jmp 0x10b4cb15
xor esi, esi
mov ebp, dword [esp + 0x14]
test esi, esi
je 0x10b4cba6
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x10b4cb60
mov ecx, dword [esi + 0x1c]
push 5
push sym.PBVM90.dll_PBTabShowChildWindows
push ecx
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x1c]
or al, 1
push 5
push edx
mov dword [esi + 4], eax
call ebx
push esi
push edi
push ebp
call fcn.10b4ccd0
add esp, 0xc
jmp 0x10b4cb74
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10b4cb6c
push 0
push eax
call ebx
mov eax, dword [esi + 4]
and al, 0xfe
mov dword [esi + 4], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10b4cba0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10b4cb8c
cmp ecx, dword [eax + 4]
je 0x10b4cb8c
mov ecx, dword [ecx + 4]
jmp 0x10b4cb8e
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x10b4cba0
mov esi, dword [eax + 8]
jmp 0x10b4cba2
xor esi, esi
test esi, esi
jne 0x10b4cb27
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
pop ebx
ret