Function at 0x2108c58e
Capabilities:
Get graphical window text

Disassembly:
enter 0, 0
sub esp, 0x129c
cmp dword [0x401088], 0
jne 0x2108c5c1
push 0x30
push 0x2108803a
push 0x2108815f
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108cce9
lea eax, [ebp - 0x1258]
push eax
push dword [0x401088]
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [ebp - 0x1258], 0x103
je 0x2108c5ff
push 0x30
push 0x2108803a
push 0x21088094
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108cce9
push 0x7f02
push 0
call sub.USER32.DLL_LoadCursorA
push eax
push 0xfffffffffffffff4
push dword [0x401004]
call sub.USER32.DLL_SetClassLongA
push 0
push dword [0x401040]
call sub.USER32.DLL_EnableWindow
push 0x21088321
push dword [0x40101c]
call sub.USER32.DLL_SetWindowTextA
push 0
push 0
push 0xf
push dword [0x40101c]
call sub.USER32.DLL_SendMessageA
push 0x28
lea eax, [ebp - 0x129c]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0x1c
lea eax, [ebp - 0x1274]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0
push 0
push 0x1009
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
push 0x210880a9
push dword [0x40101c]
call sub.USER32.DLL_SetWindowTextA
push 0
push 0
push 0xb
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
push 0
push 0x2108e70d
push dword [0x401004]
push 0x12d
push dword [section..data_]
call sub.USER32.DLL_CreateDialogParamA
mov dword [0x401064], eax
mov dword [0x4010e0], 0
mov dword [0x4010e4], 0
mov dword [0x4010e8], 0
mov byte [ebp - 0x104a], 0
mov eax, dword [0x40108c]
mov dword [ebp - 0x100c], eax
mov eax, dword [0x401090]
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1040], 0
mov byte [ebp - 0x1041], 0
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
mov byte [ebp - 4], 0x2d
mov byte [ebp - 3], 0
push 0xb
lea eax, [ebp - 0x1054]
push eax
push dword [0x401014]
call sub.USER32.DLL_GetWindowTextA
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x1054]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x2108c836
lea eax, [ebp - 0x1054]
push eax
call fcn.21097ec5
mov dword [ebp - 0x1028], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1054]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x2108c7d9
cmp dword [ebp - 0x1028], 0xff
jg 0x2108c790
mov dword [ebp - 0x1030], 1
cmp dword [ebp - 0x1028], 0xff
jle 0x2108c7ba
cmp dword [ebp - 0x1028], 0xffff
jg 0x2108c7ba
mov dword [ebp - 0x1030], 2
cmp dword [ebp - 0x1028], 0xffff
jle 0x2108c7d4
mov dword [ebp - 0x1030], 3
jmp 0x2108c831
mov eax, 0xffffff01
cmp dword [ebp - 0x1028], eax
jl 0x2108c7f4
mov dword [ebp - 0x1030], 1
mov ebx, 0xffff0001
cmp dword [ebp - 0x1028], eax
jge 0x2108c81b
cmp dword [ebp - 0x1028], ebx
jl 0x2108c81b
mov dword [ebp - 0x1030], 2
cmp dword [ebp - 0x1028], ebx
jge 0x2108c831
mov dword [ebp - 0x1030], 3
jmp 0x2108c87b
mov dword [ebp - 0x1030], 4
wait
fninit
wait
fnstcw word [ebp - 0x1254]
and word [ebp - 0x1254], 0xf0ff
or word [ebp - 0x1254], 0x1000
fldcw word [ebp - 0x1254]
push 0x80
push 0
lea eax, [ebp - 0x1054]
push eax
call fcn.21097c00
fstp dword [ebp - 0x102c]
cmp dword [ebp - 0x1030], 1
jne 0x2108cb22
mov eax, dword [ebp - 0x1028]
mov byte [ebp - 0x101d], al
mov eax, dword [ebp - 0x1018]
cmp dword [ebp - 0x100c], eax
jg 0x2108cb05
push 0x1c
lea eax, [ebp - 0x1274]
push eax
push dword [ebp - 0x100c]
push dword [0x401088]
call sub.KERNEL32.DLL_VirtualQueryEx
cmp dword [ebp - 0x1264], 0x1000
jne 0x2108cae8
cmp dword [ebp - 0x1260], 4
je 0x2108c8ea
cmp dword [ebp - 0x1260], 0x40
jne 0x2108cae8
xor edx, edx
xor eax, eax
mov ebx, dword [ebp - 0x1268]
mov dword [ebp - 0x101c], ebx
xor ebx, ebx
mov ax, word [ebp - 0x101c]
mov dx, word [ebp - 0x101a]
mov bx, 0x1000
div bx
mov word [ebp - 0x1032], ax
mov eax, dword [ebp - 0x1274]
mov dword [ebp - 0x1010], eax
cmp word [ebp - 0x1032], 0
je 0x2108cae8
mov dword [ebp - 0x103c], 0
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1010]
push dword [0x401088]
call sub.KERNEL32.DLL_ReadProcessMemory
lea edi, [ebp - 0x1004]
mov dword [ebp - 0x1038], 0x1000
cmp dword [ebp - 0x1038], 0
je 0x2108cad2
mov al, byte [ebp - 0x101d]
scasb al, byte es:[edi]
jne 0x2108cabf
inc dword [0x4010e0]
cmp dword [0x4010e0], 0x64
jle 0x2108c9d7
mov edx, edi
cld
lea edi, [0x4011fc]
add edi, dword [0x4010e4]
mov eax, dword [ebp - 0x1010]
add eax, dword [ebp - 0x103c]
stosd dword es:[edi], eax
add dword [0x4010e4], 4
lea edi, [0x2a26bfc]
add edi, dword [0x4010e8]
mov al, 1
stosb byte es:[edi], al
inc dword [0x4010e8]
mov edi, edx
jmp 0x2108cabf
push 0x28
lea eax, [ebp - 0x129c]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov eax, dword [ebp - 0x1010]
add eax, dword [ebp - 0x103c]
mov dword [ebp - 0x1008], eax
mov dword [ebp - 0x129c], 7
mov eax, dword [0x4010e0]
dec eax
mov dword [ebp - 0x1298], eax
mov dword [ebp - 0x1294], 0
mov eax, dword [ebp - 0x1008]
mov dword [ebp - 0x127c], eax
mov dword [ebp - 0x1280], 1
push dword [ebp - 0x1008]
push 0x2108805f
lea eax, [ebp - 0x1049]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x1049]
mov dword [ebp - 0x1288], eax
lea eax, [ebp - 0x129c]
push eax
push 0
push 0x1007
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
push 0x28
lea eax, [ebp - 0x129c]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov dword [ebp - 0x129c], 1
mov eax, dword [0x4010e0]
dec eax
mov dword [ebp - 0x1298], eax
mov dword [ebp - 0x1294], 1
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x1288], eax
lea eax, [ebp - 0x129c]
push eax
push 0
push 0x1006
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
inc dword [ebp - 0x103c]
dec dword [ebp - 0x1038]
xor eax, eax
jmp 0x2108c96b
add dword [ebp - 0x1010], 0x1000
dec word [ebp - 0x1032]
jmp 0x2108c924
mov eax, dword [ebp - 0x100c]
add eax, dword [ebp - 0x1268]
mov dword [ebp - 0x100c], eax
mov eax, dword [ebp - 0x1018]
jmp 0x2108c89a
mov eax, dword [ebp - 0x1028]
push 0
push ax
call fcn.2108c184
mov eax, dword [ebp - 0x1028]
push eax
call fcn.2108bd85
cmp dword [ebp - 0x1030], 2
jne 0x2108cb4c
mov eax, dword [ebp - 0x1028]
push 0
push ax
call fcn.2108c184
mov eax, dword [ebp - 0x1028]
push eax
call fcn.2108bd85
cmp dword [ebp - 0x1030], 3
jne 0x2108cb65
mov eax, dword [ebp - 0x1028]
push eax
call fcn.2108bd85
cmp dword [ebp - 0x1030], 4
jne 0x2108cb7e
mov eax, dword [ebp - 0x102c]
push eax
call fcn.2108b965
push 0
push 1
push 0xb
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
lea eax, [0x2a26bfc]
mov eax, dword [0x4010e0]
mov dword [ebp - 0x1038], eax
push 0xff
lea eax, [ebp - 0x1252]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0xff
lea eax, [ebp - 0x1153]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov byte [ebp - 0x1154], 0
mov byte [ebp - 0x1055], 0
cmp dword [ebp - 0x1038], 0
jne 0x2108cc41
call fcn.2108a31a
push 0x2108838b
lea eax, [ebp - 0x1252]
push eax
call sub.KERNEL32.DLL_lstrcatA
push dword [ebp - 0x1038]
push 0x2108839e
lea eax, [ebp - 0x1153]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x1153]
push eax
lea eax, [ebp - 0x1252]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x1252]
push eax
push dword [0x40101c]
call sub.USER32.DLL_SetWindowTextA
mov dword [0x4010d4], 1
jmp 0x2108cc9b
push 0x2108838b
lea eax, [ebp - 0x1252]
push eax
call sub.KERNEL32.DLL_lstrcatA
push dword [ebp - 0x1038]
push 0x2108839e
lea eax, [ebp - 0x1153]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x1153]
push eax
lea eax, [ebp - 0x1252]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x1252]
push eax
push dword [0x40101c]
call sub.USER32.DLL_SetWindowTextA
mov dword [0x4010d4], 2
push 0x7f00
push 0
call sub.USER32.DLL_LoadCursorA
push eax
push 0xfffffffffffffff4
push dword [0x401004]
call sub.USER32.DLL_SetClassLongA
push 1
push dword [0x401040]
call sub.USER32.DLL_EnableWindow
push 0
push 0
push 0x10
push dword [0x401064]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0xf
push dword [0x401004]
call sub.USER32.DLL_SendMessageA
jmp 0x2108cce9
leave
ret 0