Function at 0x1001f99
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1001780
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
push 0x7f00
push ebx
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x54], 0x4003
mov dword [ebp - 0x50], 0x1001ee2
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
mov edi, 0x100176c
push eax
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push ebx
push esi
push ebx
push ebx
mov eax, 0x1f4
push eax
push eax
push ebx
mov esi, 0x80000000
push esi
push 0x2cf0000
push 0x100174c
push edi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x50000
call edi
cmp eax, ebx
mov dword [0x1004320], eax
je 0x10021c4
push ebx
push dword [ebp - 0x28]
push 0x64
push eax
push 0x1e
push 0x46
push 0xa
push 0xa
push 0x50000001
push 0x1001744
push 0x100173c
push ebx
call edi
push ebx
push dword [ebp - 0x28]
mov dword [0x100432c], eax
push 0x65
push dword [0x1004320]
push 0x1e
push 0x46
push 0x64
push 0xa
push 0x50000001
push 0x1001734
push 0x100173c
push ebx
call edi
push ebx
push dword [ebp - 0x28]
mov dword [0x1004334], eax
push 0x66
push dword [0x1004320]
push esi
push esi
push esi
push esi
push 0x502008c4
push ebx
push 0x100172c
push 0x200
call edi
push ebx
push 0x1001724
push 0x31
push 1
push 2
push 1
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push 8
push 0xd
mov dword [0x1004328], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
push 0x30
push dword [0x1004328]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0x14]
push dword [0x1004320]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x1004320]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [0x1004320]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 4
call sub.libusb0.dll_usb_set_debug
pop ecx
call sub.libusb0.dll_usb_init
call sub.libusb0.dll_usb_find_busses
call fcn.01001c3e
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x20], 5
mov esi, 0x100114c
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push eax
push dword [0x1004320]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationA]
mov esi, 0x100115c
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [0x1004330], eax
push ebx
lea eax, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
push eax
push dword [0x1004320]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov dword [0x1004324], eax
jmp 0x100219d
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
call esi
test eax, eax
jne 0x1002189
push dword [0x1004320]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0x28]
push 0x100176c
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.010024fe
leave
ret 0x10