Function at 0x1002f2d0
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 0x1002f575
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 0x1002f5aa
cmp cx, 0x20
je 0x1002f5aa
cmp cx, 9
je 0x1002f5aa
push 0x107
push ecx
call dword [sym.imp.msvcrt.dll_iswctype]
add esp, 8
test eax, eax
je 0x1002f5aa
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1002f3d8
cmp esi, edi
je 0x1002f3d1
push dword [esi + 0xc]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x1002f510
mov esi, dword [esi + 4]
test esi, esi
jne 0x1002f3b2
mov esi, dword [ebp - 0x830]
push 0
push 0
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1002f614
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 0x1002f463
mov ecx, dword [edi + 8]
cmp dword [ecx + 8], 0xaea3
jne 0x1002f4c7
mov ecx, dword [ebp - 0x82c]
movzx edx, word [ecx]
test dx, dx
je 0x1002f49a
push 4
push edx
call dword [sym.imp.msvcrt.dll_iswctype]
mov ecx, dword [ebp - 0x82c]
add esp, 8
test eax, eax
je 0x1002f49a
add ecx, 2
mov dword [ebp - 0x82c], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1002f471
cmp word [ecx], 0
mov eax, dword [ebp - 0x828]
movzx eax, ax
jne 0x1002f58d
cmp esi, dword [eax*8 + 0xffeb988]
jl 0x1002f58d
cmp esi, dword [eax*8 + 0xffeb98c]
jg 0x1002f58d
lea edx, [ebp - 0x414]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1002f4d0
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.10032f70
mov edx, eax
mov dword [ebp - 0x82c], edx
test edx, edx
jne 0x1002f54e
mov ecx, ebx
call fcn.10032980
jmp 0x1002f614
push 0x104
lea edx, [ebp - 0x824]
mov ecx, 0xaec6
call fcn.100338a0
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 0x1002f602
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1002f565
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.1003c3b0
mov esp, ebp
pop ebp
ret 4
push 0x104
lea edx, [ebp - 0x61c]
mov ecx, 0xaec7
call fcn.100338a0
lea eax, [ebp - 0x61c]
jmp 0x1002f608
xor eax, eax
push 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0xaec5
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x20c], 0
jne 0x1002f602
mov esi, dword [0x1004332c]
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.1003c3b0
mov esp, ebp
pop ebp
ret 4