Function at 0xd281ad0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x924
mov eax, dword [0xd2b0418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x920], ecx
mov ecx, dword [ecx + 4]
push 0x76
push eax
mov dword [ebp - 0x91c], eax
mov dword [ebp - 0x924], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, dword [sym.imp.msvcrt.dll_wcstol]
mov esi, eax
test esi, esi
je 0xd281c43
push 0x12c
lea edx, [ebp - 0x25c]
push edx
push esi
call edi
push 0xa
lea eax, [ebp - 0x918]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call ebx
mov edx, dword [ebp - 0x918]
movzx ecx, word [edx]
add esp, 0xc
test cx, cx
je 0xd281b76
cmp cx, 0x20
je 0xd281b5d
cmp cx, 9
jne 0xd281b70
add edx, 2
mov dword [ebp - 0x918], edx
movzx ecx, word [edx]
test cx, cx
jne 0xd281b51
jmp 0xd281b76
cmp word [edx], 0
jne 0xd281b85
test eax, eax
jle 0xd281b85
cmp eax, 0xffff
jle 0xd281c43
push 0x12c
lea edx, [ebp - 0x4b4]
push edx
push 0xae22
call fcn.0d29fa20
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffff0000
push 0
push 0xb1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x920]
mov ecx, dword [eax + 4]
push 0x12c
lea edx, [ebp - 0x25c]
push edx
mov edx, dword [ecx + 0xac]
mov eax, dword [edx + 8]
push eax
call fcn.0d29fa20
push 0x104
lea ecx, [ebp - 0x6bc]
push ecx
push 0xadd9
call fcn.0d29fa20
lea edx, [ebp - 0x25c]
push edx
lea eax, [ebp - 0x6bc]
push eax
lea ecx, [ebp - 0x914]
push 0x12c
push ecx
call sub.msvcrt.dll_swprintf_s
mov ecx, dword [ebp - 0x91c]
add esp, 0x10
push 0x30
lea edx, [ebp - 0x914]
push edx
lea eax, [ebp - 0x4b4]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x91c]
push 0xa4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0xd281ceb
push 0x12c
lea ecx, [ebp - 0x25c]
push ecx
push esi
call edi
push 0xa
lea edx, [ebp - 0x918]
push edx
lea eax, [ebp - 0x25c]
push eax
call ebx
mov edx, dword [ebp - 0x918]
movzx ecx, word [edx]
add esp, 0xc
test cx, cx
je 0xd281cb6
cmp cx, 0x20
je 0xd281c9d
cmp cx, 9
jne 0xd281cb0
add edx, 2
mov dword [ebp - 0x918], edx
movzx ecx, word [edx]
test cx, cx
jne 0xd281c91
jmp 0xd281cb6
cmp word [edx], 0
jne 0xd281cd5
test eax, eax
jl 0xd281cd5
mov ecx, eax
and ecx, 0x800000ff
jns 0xd281ccc
dec ecx
or ecx, 0xffffff00
inc ecx
jne 0xd281cd5
cmp eax, 0xfffffff
jle 0xd281ceb
push 0x12c
lea edx, [ebp - 0x4b4]
push edx
push 0xae23
jmp 0xd281b96
mov eax, dword [ebp - 0x91c]
push 0x81
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0xd281d96
push 0x12c
lea ecx, [ebp - 0x25c]
push ecx
push esi
call edi
push 0xa
lea edx, [ebp - 0x918]
push edx
lea eax, [ebp - 0x25c]
push eax
call ebx
mov edx, dword [ebp - 0x918]
movzx ecx, word [edx]
add esp, 0xc
test cx, cx
je 0xd281d65
lea esp, [esp]
cmp cx, 0x20
je 0xd281d4c
cmp cx, 9
jne 0xd281d5f
add edx, 2
mov dword [ebp - 0x918], edx
movzx ecx, word [edx]
test cx, cx
jne 0xd281d40
jmp 0xd281d65
cmp word [edx], 0
jne 0xd281d80
test eax, eax
jle 0xd281d80
mov ecx, dword [ebp - 0x920]
mov edx, dword [ecx + 4]
cmp byte [edx + 0xa8], 0x16
jne 0xd281d96
cmp eax, 0x10
jle 0xd281d96
push 0x12c
lea eax, [ebp - 0x4b4]
push eax
push 0xae24
jmp 0xd281b96
mov edi, dword [ebp - 0x924]
cmp byte [edi + 0xa8], 0x19
jne 0xd281ea4
mov eax, dword [edi + 0x10]
test eax, eax
jne 0xd281dc6
mov eax, dword [edi + 0x2c]
test eax, eax
je 0xd281ea4
push eax
call fcn.0d2c3d49
jmp 0xd281e85
cmp dword [edi + 0x2c], 0
je 0xd281e7c
push 0xd271a78
push eax
call dword [sym.imp.msvcrt.dll_wcspbrk]
add esp, 8
test eax, eax
jne 0xd281e7c
mov edx, dword [edi + 0x2c]
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd281df0
sub eax, esi
sar eax, 1
add eax, 0xffffffff
je 0xd281e22
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xd281e10
sub eax, esi
sar eax, 1
dec eax
jmp 0xd281e24
xor eax, eax
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0xd281e58
cmp ax, 0x2f
je 0xd281e58
mov ecx, dword [edi + 0x10]
push ecx
push edx
push 0xd271a6c
lea edx, [ebp - 0x6bc]
push 0x104
push edx
call sub.msvcrt.dll_swprintf_s
mov edx, dword [edi + 0x10]
add esp, 0x14
push edx
jmp 0xd281e80
mov eax, dword [edi + 0x10]
push eax
push edx
push 0xd271a60
lea ecx, [ebp - 0x6bc]
push 0x104
push ecx
call sub.msvcrt.dll_swprintf_s
mov edx, dword [edi + 0x10]
add esp, 0x14
push edx
jmp 0xd281e80
mov eax, dword [edi + 0x10]
push eax
call fcn.0d29de70
test eax, eax
jne 0xd281ea4
push 0x12c
lea ecx, [ebp - 0x4b4]
push ecx
push 0xae13
call fcn.0d29fa20
jmp 0xd281bb5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0d2a6cd9
mov esp, ebp
pop ebp
ret 4