Function at 0x10018ee0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x920
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [edx + 4]
mov eax, ecx
push esi
push edi
push 0x76
push eax
mov dword [ebp - 0x920], edx
mov dword [ebp - 0x91c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x10018fec
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
mov ecx, dword [ebp - 0x918]
add esp, 0xc
mov esi, eax
movzx edx, word [ecx]
test dx, dx
je 0x10018f7f
cmp dx, 0x20
je 0x10018f64
cmp dx, 9
jne 0x10018f79
add ecx, 2
mov dword [ebp - 0x918], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x10018f58
jmp 0x10018f7f
cmp word [ecx], 0
jne 0x10018f8b
test esi, esi
jle 0x10018f8b
cmp esi, 0xffff
jle 0x10018fec
xor eax, eax
push 0x12c
mov word [ebp - 0x4b4], ax
lea eax, [ebp - 0x4b4]
push eax
push 0xae22
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x4b4], 0
jne 0x10019187
push 0x12c
lea eax, [ebp - 0x4b4]
push eax
push 0xae22
mov esi, dword [0x1004332c]
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
jmp 0x10019187
push 0xa4
push dword [ebp - 0x91c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x100190d4
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
mov ecx, dword [ebp - 0x918]
add esp, 0xc
mov esi, eax
movzx edx, word [ecx]
test dx, dx
je 0x1001906a
cmp dx, 0x20
je 0x1001904f
cmp dx, 9
jne 0x10019064
add ecx, 2
mov dword [ebp - 0x918], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x10019043
jmp 0x1001906a
cmp word [ecx], 0
jne 0x1001908a
test esi, esi
js 0x1001908a
mov eax, esi
and eax, 0x800000ff
jns 0x10019080
dec eax
or eax, 0xffffff00
add eax, 1
jne 0x1001908a
cmp esi, 0xfffffff
jle 0x100190d4
xor eax, eax
push 0x12c
mov word [ebp - 0x4b4], ax
lea eax, [ebp - 0x4b4]
push eax
push 0xae23
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x4b4], 0
jne 0x10019187
push 0x12c
lea eax, [ebp - 0x4b4]
push eax
push 0xae23
jmp 0x10018fd0
push 0x81
push dword [ebp - 0x91c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x100191a6
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.msvcrt.dll_wcstol]
mov ecx, dword [ebp - 0x918]
add esp, 0xc
mov esi, eax
movzx edx, word [ecx]
test dx, dx
je 0x10019157
jmp 0x10019130
cmp dx, 0x20
je 0x1001913c
cmp dx, 9
jne 0x10019151
add ecx, 2
mov dword [ebp - 0x918], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x10019130
jmp 0x10019157
cmp word [ecx], 0
jne 0x10019172
test esi, esi
jle 0x10019172
mov eax, dword [ebp - 0x920]
mov eax, dword [eax + 4]
cmp byte [eax + 0xa8], 0x16
jne 0x100191a6
cmp esi, 0x10
jle 0x100191a6
push 0x12c
lea edx, [ebp - 0x4b4]
mov ecx, 0xae24
call fcn.100338a0
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffff0000
push 0
push 0xb1
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10019290
cmp byte [ebx + 0xa8], 0x19
jne 0x100191cc
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x2c]
test ecx, ecx
jne 0x100191e2
test eax, eax
je 0x100191cc
mov ecx, eax
call fcn.10032a20
test eax, eax
je 0x1001927b
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
test eax, eax
je 0x1001926b
push 0x100021bc
push ecx
call dword [sym.imp.msvcrt.dll_wcspbrk]
add esp, 8
test eax, eax
jne 0x1001926b
mov edx, dword [ebx + 0x2c]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019205
sub ecx, esi
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
je 0x10019232
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019220
sub ecx, esi
sar ecx, 1
dec ecx
jmp 0x10019234
xor ecx, ecx
movzx eax, word [edx + ecx*2]
cmp eax, 0x5c
je 0x1001924d
cmp eax, 0x2f
je 0x1001924d
push dword [ebx + 0x10]
push edx
push 0x100021c4
jmp 0x10019256
push dword [ebx + 0x10]
push edx
push 0x100021d0
lea eax, [ebp - 0x6bc]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x14
mov ecx, dword [ebx + 0x10]
call fcn.10032d60
test eax, eax
jne 0x100191cc
push 0x12c
lea edx, [ebp - 0x4b4]
mov ecx, 0xae13
call fcn.100338a0
mov eax, dword [ebp - 0x920]
push 0x12c
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xac]
mov esi, dword [eax + 8]
xor eax, eax
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25c]
push eax
push esi
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x25c], 0
jne 0x100192f2
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push esi
mov esi, dword [0x1004332c]
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
push 0x104
mov word [ebp - 0x6bc], ax
lea eax, [ebp - 0x6bc]
push eax
push 0xadd9
push dword [0x10043518]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp - 0x6bc], 0
jne 0x1001934a
mov esi, dword [0x1004332c]
lea eax, [ebp - 0x6bc]
push 0x104
push eax
push 0xadd9
mov ecx, esi
call dword [0x10044350]
call esi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x914]
push 0x12c
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x10
lea eax, [ebp - 0x914]
push 0x30
push eax
lea eax, [ebp - 0x4b4]
push eax
push dword [ebp - 0x91c]
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