joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c7da
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x104e830]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x58
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x45c]
push edi
push eax
mov dword [ebp - 0x460], edi
call sub.msvcrt.dll_memset
add esp, 0xc
push 1
push dword [esi + 0x10]
mov dword [ebp - 0x464], edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x20
lea eax, [ebp - 0x444]
push eax
push 0x358
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push eax
call ebx
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0x359
push 0
call edi
push eax
call ebx
push 0xa
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
add esp, 0xc
push 0x48
push 0x5a
push dword [esi + 0x10]
mov edi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x100c8ba
push eax
push dword [esi + 0x10]
call edi
mov dword [ebp - 0x464], eax
push 0x5b391e
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x1001d78
lea eax, [ebp - 0x404]
push 0x200
push eax
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
push 0x1fb
lea eax, [ebp - 0x3fa]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x24
lea eax, [esi + 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x464], 0
je 0x100c928
push dword [ebp - 0x464]
push dword [esi + 0x10]
call edi
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 4
push 0
push dword [ebp - 0x468]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.01038325
leave
ret 8
Function at 0x100c951
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
mov dword [ebp - 8], eax
call esi
push 0xcc0020
push dword [ebp - 0x14]
mov dword [ebp + 8], eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push edi
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
push ebx
call esi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100ebe7
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 0xf8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp eax, 0x2fb
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
jg 0x100ec3e
push dword [ebp - 4]
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 0xc], eax
call edi
push dword [ebp - 0xc]
call ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x2fb
jle 0x100ec1d
mov eax, 0x2bc
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
jl 0x100ec6b
push dword [ebp - 4]
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 0xc], eax
call edi
push dword [ebp - 0xc]
call ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jle 0x100ec4b
push 0x431
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x430
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x42f
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x434
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x433
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x432
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp + 8]
sub eax, 0x2c3
je 0x100ed89
sub eax, 8
je 0x100ed72
sub eax, 0x10
je 0x100ed5b
sub eax, 0x20
jne 0x100ed9d
push 0x434
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x433
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x432
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x431
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x430
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x42f
push dword [ebp - 8]
call esi
mov esi, eax
push 5
push esi
call edi
push esi
call ebx
mov ecx, dword [ebp - 0x10]
call fcn.0100e834
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100f51a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x104e830]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov edi, 0x104
lea ecx, [esi + 0x18]
push edi
push ecx
mov dword [ebp - 0x218], eax
call fcn.01005c3e
lea ebx, [esi + 0x10]
push ebx
push edi
lea eax, [esi + 0x18]
push eax
call fcn.01005cad
lea eax, [ebp - 0x230]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x228]
push dword [esi + 4]
mov dword [ebp - 0x210], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x100f5e0
cmp dword [ebp - 0x210], 0
je 0x100f5a6
push dword [ebp - 0x210]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x220]
push eax
push dword [ebx]
lea eax, [esi + 0x18]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp dword [ebp - 0x210], 0
je 0x100f5e0
push dword [ebp - 0x210]
push dword [ebp - 0x214]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x228], eax
push dword [ebp - 0x210]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x214]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x220], eax
jg 0x100f638
push dword [ebp - 0x218]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x9b
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
jmp 0x100f687
cdq
idiv dword [esi + 0x14]
mov ecx, dword [ebx]
push eax
sub ecx, eax
lea eax, [esi + ecx*2 + 0x18]
push eax
lea eax, [ebp - 0x20c]
push edi
push eax
mov dword [esi + 0xc], ecx
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x9b
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
mov eax, dword [esi + 4]
push 0x9c
push eax
call edi
push eax
call ebx
mov ecx, esi
call fcn.0100f2aa
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01038325
leave
ret 4
Function at 0x101175e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x104e830]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x40
lea eax, [ebp - 0x84]
mov esi, ecx
push eax
push dword [esi + 0x410]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x88]
push eax
push 0x40
lea eax, [ebp - 0x84]
push eax
call fcn.01005cad
mov edi, eax
test edi, edi
jne 0x10117d8
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 8]
add eax, eax
mov word [ebp + eax - 0x84], cx
xor ecx, ecx
mov word [ebp + eax - 0x82], cx
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0x410]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
test edi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.01038325
leave
ret 4
Function at 0x10123f9
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x28]
push edi
mov dword [esi], eax
lea eax, [ebp - 0x10]
xor edi, edi
push eax
push ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x414], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x200
lea eax, [esi + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebp + 0x28], edi
je 0x101248c
mov eax, dword [ebp + 0x1c]
push 0xfffffffffffffff0
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xd
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdff
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x77
push edi
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1012537
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push 1
push 6
push 0x20
push eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi + 4], eax
lea eax, [ebp + 0x28]
push eax
movzx eax, word [ebp + 0x1c]
push 2
push 0x60
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.01034c26
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x28]
call fcn.010121f4
push edi
push eax
push dword [esi + 4]
mov dword [ebp + 0x1c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push edi
push 0x1602
push ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 4
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push edi
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10018f8
push ebx
mov dword [esi + 0x414], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [ebp + 0x24]
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x24
Function at 0x1012553
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x104e830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x408], ecx
je 0x10125a6
mov eax, dword [esi + 8]
test eax, eax
je 0x101258d
push eax
lea eax, [ebp + 0xc]
push eax
push ecx
call fcn.01012397
cmp dword [esi], 0
je 0x10125a6
push 0x200
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10125da
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, 0x200
push ebx
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x10]
call edi
test eax, eax
je 0x10125da
push ebx
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x10]
call edi
push 0x10018f8
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi + 0xc]
push dword [ebp - 0x408]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push dword [ebp - 0x408]
call edi
push 0x25
mov dword [ebp - 0x40c], eax
lea eax, [ebp + 0xc]
push eax
push 0xffffffffffffffff
lea ebx, [esi + 0x14]
push ebx
push dword [ebp - 0x408]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x40c]
push dword [ebp - 0x408]
call edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHStripMneumonicW]
push ebx
push dword [esi + 0x10]
call fcn.0102979f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01038325
leave
ret 0x14

Function at 0x1012b5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
mov ebx, 0x80004005
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1012bf0
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
shr esi, 1
je 0x1012c06
push dword [ebp + 0xc]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1012bf0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1012c06
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
xor ebx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01035ed2
add esi, esi
push esi
push dword [ebp + 0xc]
mov edi, eax
push edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0x10
xor eax, eax
push edi
mov word [esi + edi], ax
call fcn.01005641
push edi
call fcn.01035dd1
pop ecx
jmp 0x1012c06
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1012c04
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x101735e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
add eax, 0x2bc
push eax
push ebx
call esi
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ax, word [ebp + 0xc]
cmp word [ebp + 8], ax
je 0x101740c
mov word [ebp + 8], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea eax, [ebp - 0x14]
push eax
mov edi, 0x435
push edi
push ebx
call esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x101a580
Capabilities:
Get graphical window text

Disassembly:
push 0x3fc
mov eax, 0x1044d02
call fcn.010383ac
push 0xec
mov esi, ecx
call fcn.01017e85
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x147
push eax
mov dword [ebp - 0x3fc], eax
call edi
push eax
push 0x150
push dword [ebp - 0x3fc]
call edi
mov edi, dword [ebp + 8]
push 0xffffffffffffffeb
push edi
mov ecx, esi
mov dword [ebp - 0x404], eax
call fcn.01017e85
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x400], eax
push 0x1f4
lea eax, [ebp - 0x3f8]
push eax
push edi
mov ecx, esi
call fcn.01017e85
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x18], ebx
jne 0x101a6c3
mov ecx, dword [ebp - 0x400]
call fcn.0101383f
mov ecx, dword [ebp - 0x404]
push eax
call fcn.0101383f
mov ecx, dword [esi + 0x10]
push eax
call fcn.0100426a
push eax
lea ecx, [ebp - 0x408]
call fcn.01013e3c
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x408]
mov dword [ebp - 4], ebx
call fcn.01012993
test eax, eax
je 0x101a6b1
mov ecx, dword [ebp - 0x400]
push 1
call fcn.0101383f
mov ecx, dword [ebp - 0x404]
push eax
call fcn.0101383f
mov ecx, dword [esi + 0x10]
push eax
call fcn.010042a3
push 1
mov ecx, esi
call fcn.0101710c
mov ecx, dword [ebp - 0x400]
push eax
call fcn.01013886
push eax
lea eax, [ebp - 0x3fc]
push eax
call fcn.010146cb
push dword [eax]
add edi, 0xfffffff8
push edi
mov ecx, esi
call fcn.01017e85
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.010047b9
mov ecx, dword [ebp - 0x408]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.010047b9
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.0100571e
mov ecx, dword [ebp - 0x400]
lea eax, [ebp - 0x3fc]
push eax
mov dword [ebp - 4], 1
call fcn.0101383f
mov ecx, dword [ebp - 0x404]
push eax
call fcn.0101383f
mov ecx, dword [esi + 0x10]
push eax
call fcn.0100427d
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.010047b9
call fcn.0103843e
ret 4

Function at 0x101cc61
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 5
push dword [esi + 0x78]
call fcn.0102023a
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x80]
call edi
mov ecx, esi
call fcn.0101cb7e
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 0x78], 0
push 1
push 0x41b
push dword [esi + 0x7c]
call ebx
push eax
call edi
push 1
push 0x41c
push dword [esi + 0x7c]
call ebx
push eax
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x101cfa7
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x188
push dword [esi + 0x80]
mov dword [ebp - 4], edi
call ebx
cmp eax, edi
jl 0x101d0d3
cmp dword [esi + 0x78], edi
jne 0x101d0d3
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x198
push dword [esi + 0x80]
mov dword [esi + 0x88], eax
call ebx
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call dword [eax]
cmp dword [ebp - 4], edi
je 0x101d0d3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push edi
push dword [esi + 0x80]
push eax
mov eax, dword [ebp - 0xc]
dec eax
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0x50000046
push dword [ebp - 4]
push 0x1001a30
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [ebp - 4]
mov dword [esi + 0x78], eax
call fcn.01035dd1
pop ecx
push dword [esi + 0x8c]
push dword [esi + 0x78]
call fcn.0102023a
push dword [esi + 0x7c]
push 1
push 0x101c7db
push dword [esi + 0x78]
call sub.COMCTL32.dll_SetWindowSubclass
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xffffffffffffffeb
push dword [esi + 0x78]
call edi
push 0
push dword [esi + 0x4c]
push 0x30
push dword [esi + 0x78]
call ebx
push 0x19a
push 0xfffffffffffffff4
push dword [esi + 0x78]
call edi
push 5
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x41b
push dword [esi + 0x7c]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x41c
push dword [esi + 0x7c]
call edi
push eax
call ebx
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101dbaf
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98c
mov eax, dword [0x104e830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x64
lea eax, [ebp - 0xcc]
mov esi, ecx
push eax
push dword [esi + 0x78]
call edi
push dword [0x104e428]
lea eax, [ebp - 0xcc]
push 4
push 0x64
push eax
mov byte [ebp - 0x975], 0
call fcn.0102e825
xor ebx, ebx
mov dword [ebp - 0x97c], eax
cmp eax, ebx
je 0x101dc9a
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
lea eax, [ebp - 0x974]
push eax
push 0xdd
push ebx
call edi
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push eax
call ebx
cmp dword [ebp - 0x97c], 0x75
push 0x200
lea eax, [ebp - 0x574]
push eax
jne 0x101dc46
push 0x75
jmp 0x101dc4b
push 0xde
push 0
call edi
push eax
call ebx
lea eax, [ebp - 0x574]
mov dword [ebp - 0x984], eax
lea eax, [ebp - 0x974]
mov dword [ebp - 0x988], eax
lea eax, [ebp - 0x98c]
push eax
push 0
push 0x1503
push dword [esi + 0x78]
mov dword [ebp - 0x98c], 0x10
mov dword [ebp - 0x980], 3
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x101dd8b
push 0x64
lea eax, [ebp - 0xcc]
push eax
push dword [esi + 0x78]
call edi
cmp dword [ebp + 8], 0xd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x101dcba
cmp dword [ebp + 8], 9
jne 0x101dcc7
cmp word [ebp - 0xcc], bx
je 0x101dd5b
push ebx
push dword [esi + 0x88]
push 0x182
push dword [esi + 0x80]
call edi
cmp word [ebp - 0xcc], bx
je 0x101dd5b
mov eax, dword [0x104eff8]
mov ecx, dword [eax + 0x10]
call fcn.010049a3
test eax, eax
je 0x101dd2d
push 0x54
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0xcc]
push eax
push 0x2d
pop eax
xor ecx, ecx
cmp ax, word [ebp - 0xcc]
sete cl
push ecx
push dword [0x104e424]
push 0x104e43c
call fcn.0102cf44
lea eax, [ebp - 0x174]
jmp 0x101dd33
lea eax, [ebp - 0xcc]
push eax
push dword [esi + 0x88]
push 0x181
push dword [esi + 0x80]
call edi
push ebx
push dword [esi + 0x88]
push 0x186
push dword [esi + 0x80]
jmp 0x101dd7b
mov ebx, dword [esi + 0x88]
mov ecx, esi
call fcn.0101d9e1
push 0
cmp eax, ebx
jne 0x101dd6f
dec ebx
push ebx
push 0x186
push dword [esi + 0x80]
call edi
mov ecx, esi
call fcn.0101dad4
mov byte [ebp - 0x975], 1
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x975]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01038325
leave
ret 4