Function at 0x482630
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push str.Submit
push esi
mov dword [esp + 0x28], ecx
call fcn.004b218a
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.0x48266c
jmp dword [eax*4 + 0x482f64]
cmp byte [edi + 5], 0
mov eax, dword [edi]
push 0
push 0
jge 0x4826a6
push 0x472
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
push 0x18
cdq
push edx
push eax
call fcn.00401520
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_SendMessageA]
mov ecx, dword [ebp + 8]
cwde
push 0x18
cdq
push edx
push eax
call fcn.00401520
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_SendMessageA]
push eax
push edi
call fcn.00486440
mov ecx, dword [ebp + 8]
push 0x18
cdq
push edx
push eax
call fcn.00401520
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x482f55
push 0
push 0
push 0x408
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
push 0x18
cdq
push edx
push eax
call fcn.00401520
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_SendMessageA]
test eax, eax
jne 0x482772
lea edx, [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.0049a270
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov eax, 0x4d0335
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea ecx, [esp + 0x24]
and eax, 2
mov eax, dword [edi]
push ecx
push 0
je 0x4827ee
push 0x1005
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.0049a270
lea edx, [esp + 0x34]
mov byte [esp + 0x68], 0x2d
lea ecx, [esp + 0x69]
call fcn.0049a270
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push 1
push 0
push 0x11
push eax
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x1001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.0049a270
mov ecx, dword [ebp + 8]
push 1
push 0
push 8
push eax
call fcn.0049e6b0
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_SendMessageA]
lea edx, [esp + 0x60]
mov ecx, eax
call fcn.004861f0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.Text
push esi
call fcn.004b218a
add esp, 8
test eax, eax
je case.0x482882.12
movzx eax, byte [edi + 4]
dec eax
cmp eax, 0x16
ja case.0x482882.12
movzx eax, byte [eax + 0x482f9c]
jmp dword [eax*4 + 0x482f7c]
push 0
push 0
push 0xf0
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 0
je 0x4828e4
sub eax, 1
je 0x4828c8
sub eax, 1
jne 0x482e42
mov ecx, dword [ebp + 8]
push 1
push eax
push 0xffffffffffffffff
push 0x4d5d84
call fcn.0049e6b0
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 0x4d07c0
call fcn.0049e6b0
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 0x4d03bc
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test byte [edi + 5], 2
je case.0x482882.12
push 0
push 0
push 0x147
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x482939
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
inc eax
push 0x18
cdq
push edx
push eax
call fcn.00401520
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push dword [edi]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4829a0
push 0x400
lea eax, [esp + 0x64]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je case.0x482882.12
lea eax, [esp + 0x60]
push eax
push ebx
push 0x158
push dword [edi]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je case.0x482882.12
test byte [edi + 5], 2
je 0x4829c4
mov ecx, dword [ebp + 8]
lea eax, [ebx + 1]
push 0x18
cdq
push edx
push eax
call fcn.00401520
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 0x482af3
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
push 0
call fcn.0049e6b0
cmp eax, 1
jne 0x482e42
push 0
push eax
mov ecx, esi
call fcn.00401680
push eax
push ebx
push 0x148
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x482a34
push 0
mov ecx, esi
call fcn.00427880
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x17], 0
jne 0x482a3f
mov edi, dword [esi + 0xc]
jmp 0x482a41
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x482a6b
test byte [edi + 0x15], 8
je 0x482a54
mov ecx, edi
call fcn.004015a0
add edi, 0xc
mov ecx, esi
push 0
mov dword [edi], ebx
call fcn.00427880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, 0x4eb4fc
mov ecx, esi
push 0
mov dword [edi], ebx
call fcn.00427880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x808
mov eax, dword [edi]
push 0
push 0
je 0x482ca5
push 0x190
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
cmp esi, 1
jl 0x482aef
lea eax, [esi*4]
push eax
call fcn.004b2c3e
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x482aef
push ebx
push esi
push 0x191
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 1
jge 0x482b08
push ebx
call fcn.004b2343
add esp, 4
push 1
push 0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
call fcn.0049e6b0
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 0x482bed
test esi, esi
jle 0x482b5b
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 fcn.004b20b1
lea ecx, [esp + 0x6c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x482b44
sub ecx, edx
inc edi
add ebx, ecx
cmp edi, esi
jl 0x482b25
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
mov esi, dword [ebp + 8]
mov ecx, esi
push 1
push 0
push ebx
push 0
call fcn.0049e6b0
cmp eax, 1
jne 0x482e42
push 0
push eax
mov ecx, esi
call fcn.00401680
test byte [edi + 5], 2
mov esi, eax
je 0x482c36
xor edi, edi
cmp dword [esp + 0x14], edi
jle 0x482c94
mov ebx, dword [esp + 0x18]
nop dword [eax + eax]
test edi, edi
je 0x482bae
mov eax, dword [esp + 0x20]
mov al, byte [eax + 0x46]
mov byte [esi], al
inc esi
mov eax, dword [ebx + edi*4]
push 0xa
inc eax
push esi
push eax
call fcn.004b20b1
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x482bc3
sub ecx, edx
inc edi
add esi, ecx
cmp edi, dword [esp + 0x14]
jl 0x482ba0
push dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
call fcn.004b2343
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x482d1b
xor esi, esi
cmp dword [esp + 0x14], esi
jle 0x482b5b
nop dword [eax]
mov eax, dword [esp + 0x18]
push 0
push dword [eax + esi*4]
push 0x18a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x482c2d
add ebx, eax
inc esi
mov dword [esp + 0x10], ebx
cmp esi, dword [esp + 0x14]
jl 0x482c00
jmp 0x482b5b
push dword [esp + 0x18]
jmp 0x482ae7
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
jle 0x482c92
test ebx, ebx
je 0x482c54
mov eax, dword [esp + 0x20]
mov al, byte [eax + 0x46]
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x18]
push esi
push dword [eax + ebx*4]
push 0x189
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x482c73
add dword [esp + 0x10], eax
add esi, eax
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x482c46
push dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
call fcn.004b2343
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x482d1b
mov ebx, eax
push dword [esp + 0x18]
call fcn.004b2343
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x482d1b
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x188
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x482aef
test byte [edi + 5], 2
jne 0x4829a6
push 0
push ebx
push 0x18a
push dword [edi]
call esi
push 1
push 0
cmp eax, 0xffffffff
je 0x482af3
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
push 0
call fcn.0049e6b0
cmp eax, 1
jne 0x482e42
push 0
push eax
mov ecx, esi
call fcn.00401680
push eax
push ebx
push 0x189
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x482a13
cmp byte [esi + 0x17], 0
jne 0x482d24
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 1
jne 0x482d4f
test byte [esi + 0x15], 8
je 0x482d37
mov ecx, esi
call fcn.004015a0
mov ecx, dword [ebp + 8]
add esi, 0xc
push 0
mov dword [esi], ebx
call fcn.00427880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov esi, 0x4eb4fc
push 0
mov dword [esi], ebx
call fcn.00427880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push dword [edi]
call esi
cmp eax, 0xffffffff
je 0x482aef
test byte [edi + 5], 2
je 0x482da7
mov ecx, dword [ebp + 8]
inc eax
push 0x18
cdq
push edx
push eax
call fcn.00401520
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 0x1305
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 0x482929
push dword [esp + 0x5c]
call fcn.0049e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x482f55
mov ecx, dword [edi]
call fcn.00473560
mov ecx, dword [ebp + 8]
test eax, eax
je 0x482923
push eax
call fcn.0049e9e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x482f55
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 8]
mov ebx, eax
push 1
push 0
push ebx
push 0
mov ecx, esi
call fcn.0049e6b0
cmp eax, 1
je 0x482e4d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebx + 1]
mov ecx, esi
push eax
push 0
push 1
call fcn.00401680
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov dword [esp + 0x1c], eax
jne 0x482e74
mov ebx, dword [esi + 0xc]
jmp 0x482e76
mov ebx, esi
cmp byte [ebx + 0x17], 1
jne 0x482e92
test byte [ebx + 0x15], 8
je 0x482e8d
mov ecx, ebx
call fcn.004015a0
mov eax, dword [esp + 0x1c]
add ebx, 0xc
jmp 0x482e97
mov ebx, 0x4eb4fc
mov dword [ebx], eax
test eax, eax
jne 0x482eac
push eax
push 1
mov ecx, esi
call fcn.00401680
mov byte [eax], 0
jmp 0x482f24
cmp byte [edi + 4], 0xc
jne 0x482f24
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4daa28
push 0
push 1
mov ecx, esi
call fcn.00401680
mov edx, 0x4da4d4
mov ecx, eax
call fcn.0049acc0
add esp, 0x18
mov ecx, esi
push 0
push 1
call fcn.00401680
mov edi, eax
lea eax, [edi + 1]
nop dword [eax + eax]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x482ef0
sub edi, eax
cmp byte [esi + 0x17], cl
jne 0x482f03
mov ebx, dword [esi + 0xc]
jmp 0x482f05
mov ebx, esi
cmp byte [ebx + 0x17], 1
jne 0x482f1d
test byte [ebx + 0x15], 8
je 0x482f18
mov ecx, ebx
call fcn.004015a0
add ebx, 0xc
jmp 0x482f22
mov ebx, 0x4eb4fc
mov dword [ebx], edi
cmp byte [esi + 0x17], 0
jne 0x482f2d
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x482f51
cmp dword [0x4e9a60], 0
je 0x482f51
push 1
mov ecx, 0x4e9a54
call fcn.00405bc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc