Function at 0x1001b590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3e8
jl 0x1001b5c2
cmp dword [ebp - 0x10], 0x400
jge 0x1001b5c2
mov eax, 1
jmp 0x1001ba9c
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
imul edx, dword [ebp - 0x38], 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx + 0x28]
mov dword [ebp - 8], ecx
imul edx, dword [ebp - 0x38], 0x14
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx + 0x30]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1001b220
add esp, 4
mov eax, dword [ebp - 0x10]
sar eax, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xd
ja case.0x1001b621.1
mov ecx, dword [ebp - 0x3c]
movzx edx, byte [ecx + 0x1001bac4]
jmp dword [edx*4 + 0x1001baa4]
push 0
imul ecx, dword [ebp - 8], 0x18
mov eax, dword [ebp - 4]
add ecx, dword [eax + 0xc44]
call fcn.10008b00
movsx ecx, ax
push ecx
push 0xf1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x1001b621.1
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, 0xff
movzx ecx, al
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 3
je 0x1001b671
cmp dword [ebp - 0x28], 4
jne 0x1001b694
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10010510
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000cd20
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x1001b7d0
lea ecx, [ebp - 0x90]
call fcn.1003f800
imul ecx, dword [ebp - 0xc], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10008d50
and eax, 0xffffdfff
push eax
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x90]
call fcn.1003fd90
imul ecx, dword [ebp - 0xc], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10008a60
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
push 1
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov dword [ebp - 0x1c], 0
jmp 0x1001b70e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x40]
jg 0x1001b777
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1001b370
add esp, 0x10
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
movzx eax, word [edx]
test eax, eax
je 0x1001b775
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
cmp dword [edx + 0x4c], 0
je 0x1001b760
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0x143
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1001b775
mov edx, dword [ebp - 0x24]
push edx
push 0
push 0x143
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001b705
cmp dword [ebp - 0x28], 5
jne 0x1001b7c5
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10008b00
cwde
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1001b7b0
movzx ecx, word [ebp - 0x2c]
push ecx
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10041730
push 0
mov eax, dword [ebp - 0x2c]
push eax
push 0x14e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x90]
call fcn.1003f860
jmp case.0x1001b621.1
cmp dword [ebp - 0xc], 0
je 0x1001b929
lea ecx, [ebp - 0x78]
call fcn.1003f800
imul ecx, dword [ebp - 0xc], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10008d50
and eax, 0xffffdfff
push eax
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x78]
call fcn.1003fd90
imul ecx, dword [ebp - 0xc], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10008a60
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 1
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov dword [ebp - 0x20], 0
jmp 0x1001b849
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x48]
jg 0x1001b8d9
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1001b370
add esp, 0x10
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14dc], 0
je 0x1001b893
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x78]
call fcn.1003f860
mov eax, dword [ebp - 0x58]
jmp 0x1001ba9c
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
test ecx, ecx
je 0x1001b8d4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
cmp dword [eax + 0x4c], 0
je 0x1001b8bf
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0x180
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1001b8d4
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0x180
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1001b840
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10008b00
cwde
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1001b90c
movzx ecx, word [ebp - 0x34]
push ecx
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10041730
push 0
mov eax, dword [ebp - 0x34]
push eax
push 0x186
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x78]
call fcn.1003f860
jmp case.0x1001b621.1
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10010510
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000cd20
add esp, 0xc
jmp case.0x1001b621.1
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x100a8384]
jne 0x1001b976
push 0
push 1
push 0xf1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1001b989
push 0
push 0
push 0xf1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x1001b621.1
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10008b00
cwde
mov dword [0x100a8384], eax
cmp dword [0x100a8384], 0
jne 0x1001b9c9
movzx ecx, word [0x100a8384]
push ecx
imul ecx, dword [ebp - 8], 0x18
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0xc44]
call fcn.10041730
jmp case.0x1001b621.1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 0
je 0x1001ba24
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5534]
mov dword [ebp - 0x50], edx
push 0
push 0
push 0xe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x10
push 0
push 0
push 0
mov ecx, dword [ebp - 0x50]
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [ebp - 0x18], eax
jmp 0x1001ba6f
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5534]
mov dword [ebp - 0x54], eax
push 0
push 0
push 0xe
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add eax, 1
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x10
push 0
push 0
push 0
mov edx, dword [ebp - 0x54]
push edx
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x172
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je case.0x1001b621.1
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, 1
mov esp, ebp
pop ebp
ret 8