Function at 0x483970
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 + 0x48], ecx
call fcn.004b626e
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.0x4839ac
jmp dword [eax*4 + 0x48440c]
cmp byte [edi + 5], 0
mov eax, dword [edi]
push 0
push 0
jge 0x4839cf
push 0x472
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
jmp 0x4839de
push 0x468
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movsx edi, ax
mov esi, dword [ebp + 8]
cmp byte [esi + 0x17], 0
jne 0x4839ea
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x483a03
and cl, 0x3d
mov byte [esi + 0x15], cl
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov cl, byte [esi + 0x15]
mov eax, edi
cdq
and cl, 0x9b
mov dword [esi], eax
or cl, 0x18
mov dword [esi + 4], edx
mov byte [esi + 0x15], cl
jge 0x48427a
mov ecx, esi
call fcn.004013b0
and byte [esi + 0x15], 0x8f
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 0x400
push dword [edi]
call esi
cmp byte [edi + 5], 0
mov ebx, eax
jge 0x483a73
push 0
push 0
push 0x402
push dword [edi]
call esi
push 0
push 0
push 0x401
push dword [edi]
mov esi, eax
sub esi, ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [esi + eax]
mov esi, dword [ebp + 8]
cmp byte [esi + 0x17], 0
jne 0x483a7f
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x483a98
and cl, 0x3d
mov byte [esi + 0x15], cl
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov cl, byte [esi + 0x15]
mov eax, ebx
jmp 0x483a05
test bl, bl
jne 0x4843fc
push 0
push 0
push 0x408
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
jmp 0x4839de
lea eax, [esp + 0x20]
push eax
push 0
push 0x1001
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x483b2c
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
lea eax, [esp + 0x78]
push str._04d_02d_02d_02d_02d_02d
push eax
call fcn.004053b0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x80]
add esp, 0x20
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
mov eax, 0x4d5231
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a2730
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 + 0x20]
and eax, 2
mov eax, dword [edi]
push ecx
push 0
je 0x483c04
push 0x1005
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
lea eax, [esp + 0x78]
push str._04d_02d_02d_02d_02d_02d
push eax
call fcn.004053b0
movzx eax, word [esp + 0x5c]
push eax
movzx eax, word [esp + 0x5e]
push eax
movzx eax, word [esp + 0x60]
push eax
movzx eax, word [esp + 0x62]
push eax
movzx eax, word [esp + 0x62]
push eax
movzx eax, word [esp + 0x64]
push eax
lea eax, [esp + 0xa1]
mov byte [esp + 0xa0], 0x2d
push str._04d_02d_02d_02d_02d_02d
push eax
call fcn.004053b0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xa0]
add esp, 0x40
push 1
push 0
push 0x11
push eax
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x1001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push eax
lea eax, [esp + 0x78]
push str._04d_02d_02d_02d_02d_02d
push eax
call fcn.004053b0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x80]
add esp, 0x20
push 1
push 0
push 8
push eax
call fcn.004a2730
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.00487b00
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.Text
push esi
call fcn.004b626e
add esp, 8
test eax, eax
je case.0x483cc8.12
movzx eax, byte [edi + 4]
dec eax
cmp eax, 0x16
ja case.0x483cc8.12
movzx eax, byte [eax + 0x484444]
jmp dword [eax*4 + 0x484424]
push 0
push 0
push 0xf0
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
sub eax, 0
je 0x483d2a
sub eax, 1
je 0x483d0e
sub eax, 1
jne 0x4842ff
mov ecx, dword [ebp + 8]
push 1
push eax
push 0xffffffffffffffff
push 0x4d9c10
call fcn.004a2730
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 0x4d9c00
call fcn.004a2730
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 0x4d5290
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test byte [edi + 5], 2
je case.0x483cc8.12
push 0
push 0
push 0x147
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 0xffffffff
je 0x483f63
mov esi, dword [ebp + 8]
cmp byte [esi + 0x17], 0
jne 0x483d78
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x483d91
mov eax, dword [esi]
and cl, 0x3d
mov byte [esi + 0x15], cl
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov cl, byte [esi + 0x15]
lea eax, [edi + 1]
jmp 0x483a05
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 0x483de7
push 0x400
lea eax, [esp + 0x64]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je case.0x483cc8.12
lea eax, [esp + 0x60]
push eax
push ebx
push 0x158
push dword [edi]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je case.0x483cc8.12
test byte [edi + 5], 2
je 0x483e1a
mov esi, dword [ebp + 8]
cmp byte [esi + 0x17], 0
jne 0x483df9
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x483e12
and cl, 0x3d
mov byte [esi + 0x15], cl
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov cl, byte [esi + 0x15]
lea eax, [ebx + 1]
jmp 0x483a05
push 0
push ebx
push 0x149
push dword [edi]
call esi
push 1
push 0
cmp eax, 0xffffffff
je 0x483f67
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
push 0
call fcn.004a2730
cmp eax, 1
jne 0x4842ff
push 0
push eax
mov ecx, esi
call fcn.00401550
push eax
push ebx
push 0x148
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov cl, byte [esi + 0x17]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x483ec6
test cl, cl
jne 0x483e75
mov eax, dword [esi + 0xc]
jmp 0x483e77
mov eax, esi
cmp byte [eax + 0x17], 2
jne 0x483eaa
cmp dword [0x4ed820], 0
je 0x483eaa
push 1
mov ecx, 0x4ed814
call fcn.004056b0
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.004a2730
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.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test cl, cl
jne 0x483ecf
mov edi, dword [esi + 0xc]
jmp 0x483ed1
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x483eee
test byte [edi + 0x15], 8
je 0x483ee4
mov ecx, edi
call fcn.004013b0
add edi, 0xc
mov dword [edi], ebx
jmp 0x4843dc
mov edi, 0x4ef2a8
mov dword [edi], ebx
jmp 0x4843dc
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x808
mov eax, dword [edi]
push 0
push 0
je 0x4840d3
push 0x190
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
cmp ebx, 1
jl 0x483f63
lea eax, [ebx*4]
push eax
call fcn.004b6720
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x483f63
push esi
push ebx
push 0x191
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], eax
cmp eax, 1
jge 0x483f7c
push esi
call fcn.004b6427
add esp, 4
push 1
push 0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
dec eax
test byte [edi + 5], 2
mov dword [esp + 0x18], eax
mov ebx, eax
je 0x483fcb
xor edi, edi
nop dword [eax + eax]
push 0xa
lea eax, [esp + 0x64]
push eax
mov eax, dword [esi + edi*4]
inc eax
push eax
call fcn.004b6198
lea ecx, [esp + 0x6c]
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483fb0
sub ecx, edx
inc edi
add ebx, ecx
cmp edi, dword [esp + 0x1c]
jl 0x483f90
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
jmp 0x483ffc
xor esi, esi
nop dword [eax]
mov eax, dword [esp + 0x14]
push 0
push dword [eax + esi*4]
push 0x18a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x4840ca
add ebx, eax
inc esi
mov dword [esp + 0x10], ebx
cmp esi, dword [esp + 0x1c]
jl 0x483fd0
push 1
push 0
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.004a2730
cmp eax, 1
jne 0x4842ff
push 0
push eax
mov ecx, ebx
call fcn.00401550
test byte [edi + 5], 2
mov esi, eax
je 0x484067
mov ebx, dword [esp + 0x14]
xor edi, edi
nop
test edi, edi
je 0x48403e
mov eax, dword [esp + 0x40]
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.004b6198
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x484053
sub ecx, edx
inc edi
add esi, ecx
cmp edi, dword [esp + 0x1c]
jl 0x484030
jmp 0x4840a5
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x48407f
mov eax, dword [esp + 0x40]
mov al, byte [eax + 0x46]
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x14]
push esi
push dword [eax + ebx*4]
push 0x189
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x48409e
add dword [esp + 0x10], eax
add esi, eax
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x484071
push dword [esp + 0x14]
mov ebx, dword [ebp + 8]
call fcn.004b6427
mov esi, dword [esp + 0x14]
add esp, 4
cmp byte [ebx + 0x17], 0
jne 0x4841a8
mov edi, dword [ebx + 0xc]
jmp 0x4841aa
push dword [esp + 0x14]
jmp 0x483f5b
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x188
push eax
call esi
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, 0xffffffff
je 0x483f63
test byte [edi + 5], 2
jne 0x483ded
push 0
push ebx
push 0x18a
push dword [edi]
call esi
push 1
push 0
cmp eax, 0xffffffff
je 0x483f67
mov ebx, dword [ebp + 8]
mov ecx, ebx
push eax
push 0
call fcn.004a2730
cmp eax, 1
jne 0x4842ff
push 0
push eax
mov ecx, ebx
call fcn.00401550
push eax
push dword [esp + 0x1c]
push 0x189
push dword [edi]
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4840b8
cmp byte [ebx + 0x17], 0
jne 0x484157
mov eax, dword [ebx + 0xc]
jmp 0x484159
mov eax, ebx
cmp byte [eax + 0x17], 2
jne 0x48418c
cmp dword [0x4ed820], 0
je 0x48418c
push 1
mov ecx, 0x4ed814
call fcn.004056b0
push 1
push 0
push 0xffffffffffffffff
mov ecx, ebx
push 0
call fcn.004a2730
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.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, ebx
cmp byte [edi + 0x17], 1
jne 0x4841c2
test byte [edi + 0x15], 8
je 0x4841bd
mov ecx, edi
call fcn.004013b0
add edi, 0xc
jmp 0x4841c7
mov edi, 0x4ef2a8
mov dword [edi], esi
cmp byte [ebx + 0x17], 0
jne 0x4841d2
mov ebx, dword [ebx + 0xc]
cmp byte [ebx + 0x17], 2
jne 0x4841f6
cmp dword [0x4ed820], 0
je 0x4841f6
push 1
mov ecx, 0x4ed814
call fcn.004056b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
and byte [ebx + 0x15], 0x86
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 0x130b
push dword [edi]
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x483f63
test byte [edi + 5], 2
jne 0x483ded
lea eax, [esp + 0x60]
mov dword [esp + 0x44], 1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push ebx
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 0x483f6c
push dword [esp + 0x5c]
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [0x4eb748], 0
je 0x4843fc
mov ecx, esi
call fcn.004013b0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x4843fc
mov ecx, dword [edi]
call fcn.00471390
mov ecx, dword [ebp + 8]
test eax, eax
je 0x4842c1
push eax
call fcn.004a2ae0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test bl, bl
jne 0x4843fc
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.004a2730
cmp eax, 1
je 0x48430a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push 1
mov ecx, esi
call fcn.00401550
lea ecx, [ebx + 1]
push ecx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi + 0x17], 0
mov dword [esp + 0x18], eax
jne 0x484331
mov ebx, dword [esi + 0xc]
jmp 0x484333
mov ebx, esi
cmp byte [ebx + 0x17], 1
jne 0x48434f
test byte [ebx + 0x15], 8
je 0x48434a
mov ecx, ebx
call fcn.004013b0
mov eax, dword [esp + 0x18]
add ebx, 0xc
jmp 0x484354
mov ebx, 0x4ef2a8
mov dword [ebx], eax
test eax, eax
jne 0x484369
push eax
push 1
mov ecx, esi
call fcn.00401550
mov byte [eax], 0
jmp 0x4843dc
cmp byte [edi + 4], 0xc
jne 0x4843dc
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4df27c
push 0
push 1
mov ecx, esi
call fcn.00401550
mov edx, 0x4deca8
mov ecx, eax
call fcn.0049e8b0
add esp, 0x18
mov ecx, esi
push 0
push 1
call fcn.00401550
mov edi, eax
lea eax, [edi + 1]
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x4843a8
sub edi, eax
cmp byte [esi + 0x17], cl
jne 0x4843bb
mov ebx, dword [esi + 0xc]
jmp 0x4843bd
mov ebx, esi
cmp byte [ebx + 0x17], 1
jne 0x4843d5
test byte [ebx + 0x15], 8
je 0x4843d0
mov ecx, ebx
call fcn.004013b0
add ebx, 0xc
jmp 0x4843da
mov ebx, 0x4ef2a8
mov dword [ebx], edi
cmp byte [esi + 0x17], 0
jne 0x4843e5
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4843f8
cmp dword [0x4ed820], 0
jne 0x4841e1
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc