Function at 0x1002ee00
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x8e
push ebx
mov edi, edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x92
push ebx
mov dword [ebp - 0x828], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
mov dword [ebp - 0x830], eax
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x828]
push 0x188
push esi
mov dword [ebp - 0x834], eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1002f0a5
push 0
push eax
push 0x199
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0x95
push ebx
mov dword [ebp - 0x828], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x414]
test cx, cx
je 0x1002f0da
cmp cx, 0x20
je 0x1002f0da
cmp cx, 9
je 0x1002f0da
push 0x107
push ecx
call dword [sym.imp.msvcrt.dll_iswctype]
add esp, 8
test eax, eax
je 0x1002f0da
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1002ef08
cmp esi, edi
je 0x1002ef01
push dword [esi + 0xc]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1002f040
mov esi, dword [esi + 4]
test esi, esi
jne 0x1002eee2
mov esi, dword [ebp - 0x830]
push 0
push 0
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1002f144
push 0
push eax
push 0x150
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, ax
push 0x104
mov dword [ebp - 0x828], eax
lea eax, [ebp - 0x61c]
push eax
push 0x96
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
mov esi, eax
add esp, 0xc
mov eax, 0xaea7
cmp word [ebp - 0x828], ax
je 0x1002ef93
mov ecx, dword [edi + 8]
cmp dword [ecx + 8], 0xaea3
jne 0x1002eff7
mov ecx, dword [ebp - 0x82c]
movzx edx, word [ecx]
test dx, dx
je 0x1002efca
push 4
push edx
call dword [sym.imp.msvcrt.dll_iswctype]
mov ecx, dword [ebp - 0x82c]
add esp, 8
test eax, eax
je 0x1002efca
add ecx, 2
mov dword [ebp - 0x82c], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1002efa1
cmp word [ecx], 0
mov eax, dword [ebp - 0x828]
movzx eax, ax
jne 0x1002f0bd
cmp esi, dword [eax*8 + 0xffeb9f8]
jl 0x1002f0bd
cmp esi, dword [eax*8 + 0xffeb9fc]
jg 0x1002f0bd
lea edx, [ebp - 0x414]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002f000
sub edx, ecx
mov ecx, dword [ebp - 0x834]
sar edx, 1
lea eax, [ecx + 0x6c]
mov ecx, dword [ecx + 0x7c]
push eax
push edx
lea edx, [ebp - 0x414]
call fcn.10032a00
mov edx, eax
mov dword [ebp - 0x82c], edx
test edx, edx
jne 0x1002f07e
mov ecx, ebx
call fcn.10032430
jmp 0x1002f144
push 0x104
lea edx, [ebp - 0x824]
mov ecx, 0xaec6
call fcn.100332d0
mov eax, dword [ebp - 0x828]
push dword [eax]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
jmp 0x1002f132
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1002f095
push eax
call dword [sym.imp.msvcrt.dll_free]
mov edx, dword [ebp - 0x82c]
add esp, 4
mov eax, dword [ebp - 0x828]
mov dword [edi + 0xc], edx
mov word [edi + 0x10], ax
mov dword [edi + 0x14], esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003bd00
mov esp, ebp
pop ebp
ret 4
push 0x104
lea edx, [ebp - 0x61c]
mov ecx, 0xaec7
call fcn.100332d0
lea eax, [ebp - 0x61c]
jmp 0x1002f138
xor eax, eax
push 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0xaec5
push dword [0x10043578]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x20c], 0
jne 0x1002f132
mov esi, dword [0x1004338c]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xaec5
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x20c]
push 0x30
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003bd00
mov esp, ebp
pop ebp
ret 4