Function at 0x10050dcc
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008a418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
push 0x43
push eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [ebp - 0x2c], esi
jne 0x10050e42
test edi, edi
jne 0x10050e09
mov edi, 0x10005b90
xor ebx, ebx
push ebx
push ebx
push 0x14b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x14e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x100511ed
mov ebx, 0x320
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebx
mov edi, eax
push 0x40
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x320
mov ebx, eax
push 0x40
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x320
push 0x40
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x100511cd
test ebx, ebx
je 0x100511cd
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100511cd
test eax, eax
je 0x100511cd
xor edx, edx
mov word [eax], dx
mov word [ecx], dx
xor ecx, ecx
push 0x190
push eax
mov word [ebx], cx
push esi
mov word [edi], cx
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor ebx, ebx
push ebx
push ebx
push 0x14b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x14]
call fcn.1005c2c8
mov ecx, dword [ebp - 0x14]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 8], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10050ee6
sub edx, dword [ebp - 8]
sar edx, 1
je 0x10050f06
push ecx
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x190
push edi
push 0xacd
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x190
push dword [ebp - 0x24]
push 0xace
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x190
push dword [ebp - 0x20]
push 0xad1
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x640
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
test eax, eax
je 0x100510a8
mov edx, dword [ebp - 0x20]
xor ecx, ecx
push ebx
push ebx
push dword [0x1008b464]
mov word [eax], cx
lea eax, [ebp - 8]
push 0x320
push eax
push ebx
push ebx
push dword [ebp - 0x24]
mov ecx, edi
call fcn.1005fa11
test eax, eax
je 0x10050fc5
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10050f95
sub edx, dword [ebp - 0x10]
sar edx, 1
je 0x10050fc5
push dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10050fc5
push dword [ebp - 0x1c]
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x1008b464]
mov eax, 0x1008b1f0
test ecx, ecx
jne 0x10050fd9
mov eax, 0x1008b270
mov edx, dword [ebp - 0x20]
push ebx
push eax
push ecx
push 0x320
lea eax, [ebp - 8]
mov ecx, edi
push eax
push ebx
push ebx
push dword [ebp - 0x24]
call fcn.1005fa11
test eax, eax
je 0x10051033
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10051003
sub edx, dword [ebp - 0x10]
sar edx, 1
je 0x10051033
push dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10051033
push dword [ebp - 0x1c]
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [ebp - 0x20]
push ebx
push ebx
mov word [eax], cx
xor eax, eax
cmp dword [0x1008b464], eax
mov ecx, edi
sete al
push eax
push 0x320
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push dword [ebp - 0x24]
call fcn.1005fa11
test eax, eax
je 0x100510a0
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x10051070
sub edx, dword [ebp - 0x10]
sar edx, 1
je 0x100510a0
push dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100510a0
push dword [ebp - 0x1c]
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1c]
call fcn.10037062
push 0x190
push edi
push 0xad2
push dword [ebp - 0x18]
xor eax, eax
mov word [edi], ax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, edi
call fcn.1005c2c8
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100510cd
sub ecx, edx
sar ecx, 1
je 0x100510fa
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100510fa
push edi
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp - 0x10], ebx
mov word [edi], ax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov edi, esp
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
push ecx
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x3a16001f
push SysReAllocStringLen
mov esi, dword [eax]
push ecx
push eax
mov ecx, dword [esi + 0x14]
call dword [0x1008c6d4]
call dword [esi + 0x14]
cmp edi, esp
je 0x10051146
mov ecx, 4
int 0x29
mov esi, dword [ebp - 0x28]
test eax, eax
mov eax, dword [ebp - 0x18]
js 0x1005116a
cmp dword [eax], 0x3a16001f
jne 0x1005116a
push dword [eax + 8]
mov edx, 0x190
mov ecx, esi
call fcn.1000b82d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10051174
push eax
call fcn.10033470
mov ecx, esi
call fcn.1005c2c8
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10051180
sub ecx, edx
sar ecx, 1
je 0x100511b2
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100511b2
push esi
mov esi, dword [ebp - 0x2c]
push ebx
push 0x143
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100511b5
mov esi, dword [ebp - 0x2c]
push ebx
push ebx
push 0x14e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x28]
call fcn.10037062
lea ecx, [ebp - 0x24]
call fcn.10037062
lea ecx, [ebp - 0x20]
call fcn.10037062
lea ecx, [ebp - 0x14]
call fcn.10037062
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10087900
mov esp, ebp
pop ebp
ret 8