Function at 0x4841a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x854
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push str.Submit
push esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov edi, dword [ebp + 0xc]
add esp, 8
test eax, eax
sete bl
movzx eax, byte [edi + 4]
add eax, 0xfffffff3
cmp eax, 5
ja case.default.0x4841dd
jmp dword [eax*4 + 0x484b6c]
cmp byte [edi + 5], 0
mov eax, dword [edi]
push 0
push 0
jge 0x484217
push 0x472
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x468
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
cwde
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push 0x400
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call fcn.00488160
mov ecx, dword [ebp + 8]
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x484b5e
push 0
push 0
push 0x408
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x24]
push eax
push 0
push 0x1001
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4842e3
lea edx, [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.0049c370
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov eax, 0x4b9c10
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
lea ecx, [esp + 0x24]
and eax, 2
mov eax, dword [edi]
push ecx
push 0
je 0x484364
push 0x1005
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.0049c370
mov eax, 0x2d
lea edx, [esp + 0x34]
lea ecx, [esp + 0x72]
mov word [esp + 0x70], ax
call fcn.0049c370
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push 1
push 0
push 0x11
push eax
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x1001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.0049c370
mov ecx, dword [ebp + 8]
push 1
push 0
push 8
push eax
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push 0x402
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x60]
mov ecx, eax
call fcn.00487f00
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.Text
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je case.0x4843f9.12
movzx eax, byte [edi + 4]
dec eax
cmp eax, 0x16
ja case.0x4843f9.12
movzx eax, byte [eax + 0x484ba4]
jmp dword [eax*4 + 0x484b84]
push 0
push 0
push 0xf0
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 0
je 0x48445b
sub eax, 1
je 0x48443f
sub eax, 1
jne 0x484a49
mov ecx, dword [ebp + 8]
push 1
push eax
push 0xffffffffffffffff
push 0x4cffe0
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
push 0x4cffc4
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b9cc4
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test byte [edi + 5], 2
je case.0x4843f9.12
push 0
push 0
push 0x147
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x4844b0
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc eax
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push dword [edi]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x484517
push 0x400
lea eax, [esp + 0x64]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x4843f9.12
lea eax, [esp + 0x60]
push eax
push ebx
push 0x158
push dword [edi]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je case.0x4843f9.12
test byte [edi + 5], 2
je 0x48453b
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push ebx
push 0x149
push dword [edi]
call esi
push 1
push 0
cmp eax, 0xffffffff
je 0x4846c2
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
push 0
call fcn.004a05c0
cmp eax, 1
jne 0x484a49
push 0
push eax
mov ecx, esi
call fcn.00401670
push eax
push ebx
push 0x148
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov cl, byte [esi + 0x17]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4845e6
test cl, cl
jne 0x484596
mov eax, dword [esi + 0xc]
jmp 0x484598
mov eax, esi
cmp byte [eax + 0x17], 2
jne 0x4845ca
cmp dword [0x4e88b4], 0
je 0x4845ca
push ecx
mov ecx, 0x4e88a8
call fcn.00405f10
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and byte [eax + 0x15], 0x86
mov ecx, esi
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test cl, cl
jne 0x4845ef
mov edi, dword [esi + 0xc]
jmp 0x4845f1
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x484609
test byte [edi + 0x15], 8
je 0x484604
mov ecx, edi
call fcn.00401590
add edi, 0xc
jmp 0x48460e
mov edi, 0x4e9cf8
lea eax, [ebx + ebx]
mov dword [edi], eax
cmp byte [esi + 0x17], 0
jne 0x48461c
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x48463f
cmp dword [0x4e88b4], 0
je 0x48463f
push ecx
mov ecx, 0x4e88a8
call fcn.00405f10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and byte [esi + 0x15], 0x86
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x808
mov eax, dword [edi]
push 0
push 0
je 0x484885
push 0x190
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 1
jl 0x4846be
lea eax, [esi*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x4846be
push ebx
push esi
push 0x191
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 1
jge 0x4846d7
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 1
push 0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test byte [edi + 5], 2
lea eax, [esi - 1]
mov ebx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
je 0x4847be
test esi, esi
jle 0x484731
xor edi, edi
push 0xa
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + edi*4]
inc eax
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
lea ecx, [esp + 0x6c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484714
sub ecx, edx
inc edi
sar ecx, 1
add ebx, ecx
cmp edi, esi
jl 0x4846f4
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
push 1
push 0
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.004a05c0
cmp eax, 1
jne 0x484a49
push 0
push eax
mov ecx, ebx
call fcn.00401670
test byte [edi + 5], 2
mov esi, eax
je 0x484823
xor edi, edi
cmp dword [esp + 0x14], edi
jle 0x48486f
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x484783
mov eax, dword [esp + 0x20]
mov ax, word [eax + 0x46]
mov word [esi], ax
add esi, 2
mov eax, dword [ebx + edi*4]
push 0xa
inc eax
push esi
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4847a0
sub ecx, edx
inc edi
sar ecx, 1
lea esi, [esi + ecx*2]
cmp edi, dword [esp + 0x14]
jl 0x484771
jmp 0x48486c
xor esi, esi
cmp dword [esp + 0x14], esi
jle 0x484731
nop word [eax + eax]
mov eax, dword [esp + 0x18]
push 0
push dword [eax + esi*4]
push 0x18a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x4847fd
add ebx, eax
inc esi
mov dword [esp + 0x10], ebx
cmp esi, dword [esp + 0x14]
jl 0x4847d0
jmp 0x484731
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp + 8]
add esp, 4
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
jle 0x48486c
test ebx, ebx
je 0x484845
mov eax, dword [esp + 0x20]
mov ax, word [eax + 0x46]
mov word [esi], ax
add esi, 2
mov eax, dword [esp + 0x18]
push esi
push dword [eax + ebx*4]
push 0x189
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x484865
add dword [esp + 0x10], eax
lea esi, [esi + eax*2]
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x484833
mov ebx, dword [ebp + 8]
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x484b0f
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x188
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4846be
test byte [edi + 5], 2
je 0x4848c2
mov ecx, dword [ebp + 8]
lea eax, [esi + 1]
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push esi
push 0x18a
push dword [edi]
call ebx
push 1
push 0
cmp eax, 0xffffffff
je 0x4846c2
mov ebx, dword [ebp + 8]
mov ecx, ebx
push eax
push 0
call fcn.004a05c0
cmp eax, 1
jne 0x484a49
push 0
push eax
mov ecx, ebx
call fcn.00401670
push eax
push esi
push 0x189
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x484b0f
cmp byte [ebx + 0x17], 0
jne 0x484920
mov eax, dword [ebx + 0xc]
jmp 0x484922
mov eax, ebx
cmp byte [eax + 0x17], 2
jne 0x484954
cmp dword [0x4e88b4], 0
je 0x484954
push ecx
mov ecx, 0x4e88a8
call fcn.00405f10
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and byte [eax + 0x15], 0x86
mov ecx, ebx
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x130b
push dword [edi]
call esi
cmp eax, 0xffffffff
je 0x4846be
test byte [edi + 5], 2
je 0x4849ae
mov ecx, dword [ebp + 8]
inc eax
push 0x18
cdq
push edx
push eax
call fcn.00401510
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x60]
mov dword [esp + 0x44], 1
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x44]
push ecx
push eax
push 0x133c
push dword [edi]
mov dword [esp + 0x64], 0x3ff
call esi
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
test eax, eax
je 0x4844a0
push dword [esp + 0x5c]
call fcn.004a05c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x484b5e
mov ecx, dword [edi]
call fcn.00474f10
mov ecx, dword [ebp + 8]
test eax, eax
je 0x48449a
push eax
call fcn.004a0920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x484b5e
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, dword [ebp + 8]
mov esi, eax
push 1
push 0
push esi
push 0
mov ecx, ebx
call fcn.004a05c0
cmp eax, 1
je 0x484a54
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esi + 1]
mov ecx, ebx
push eax
push 0
push 1
call fcn.00401670
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [ebx + 0x17], 0
mov ecx, eax
mov dword [esp + 0x1c], ecx
jne 0x484a7d
mov esi, dword [ebx + 0xc]
jmp 0x484a7f
mov esi, ebx
cmp byte [esi + 0x17], 1
jne 0x484a9b
test byte [esi + 0x15], 8
je 0x484a96
mov ecx, esi
call fcn.00401590
mov ecx, dword [esp + 0x1c]
add esi, 0xc
jmp 0x484aa0
mov esi, 0x4e9cf8
lea eax, [ecx + ecx]
mov dword [esi], eax
test ecx, ecx
jne 0x484abd
push ecx
push 1
mov ecx, ebx
call fcn.00401670
xor ecx, ecx
mov word [eax], cx
jmp 0x484b3e
cmp byte [edi + 4], 0xc
jne 0x484b3e
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4d898c
push 0
push 1
mov ecx, ebx
call fcn.00401670
mov edx, 0x4d7f1c
mov ecx, eax
call fcn.0049ce20
add esp, 0x18
mov ecx, ebx
push 0
push 1
call fcn.00401670
mov esi, eax
lea eax, [esi + 2]
nop dword [eax]
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x484b00
sub esi, eax
sar esi, 1
cmp byte [ebx + 0x17], 0
jne 0x484b1a
mov edi, dword [ebx + 0xc]
jmp 0x484b1c
mov edi, ebx
cmp byte [edi + 0x17], 1
jne 0x484b34
test byte [edi + 0x15], 8
je 0x484b2f
mov ecx, edi
call fcn.00401590
add edi, 0xc
jmp 0x484b39
mov edi, 0x4e9cf8
lea eax, [esi + esi]
mov dword [edi], eax
cmp byte [ebx + 0x17], 0
jne 0x484b47
mov ebx, dword [ebx + 0xc]
cmp byte [ebx + 0x17], 2
jne 0x484b5a
cmp dword [0x4e88b4], 0
jne 0x48462b
and byte [ebx + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc