Function at 0x4034db
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov edx, 0x3f6
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00409b3b
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, 0xffffffff
jne 0x4035b5
push 0x100
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00415d10
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0x100
push 0xd
push 0x3f6
push dword [ebx + 0xc]
call edi
push eax
call esi
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str.__d__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x4035a9
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0x_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x4035a9
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0X_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x4035a9
cmp byte [ebp - 0x120], 0
jne 0x4035b5
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebp - 8]
mov dword [ecx + 0xd2], eax
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x120]
push eax
push 0x100
push 0xd
push 0x416
push dword [ebx + 0xc]
call edi
push eax
call esi
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0x_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x403640
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0X_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x403640
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str.__d__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x403640
cmp byte [ebp - 0x120], 0
jne 0x40364c
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebp - 8]
mov dword [ecx + 0xd6], eax
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x120]
push eax
push 0x100
push 0xd
push 0x417
push dword [ebx + 0xc]
call edi
push eax
call esi
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0x_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x4036d7
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0X_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x4036d7
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str.__d__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x4036d7
cmp byte [ebp - 0x120], 0
jne 0x4036e3
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebp - 8]
mov dword [ecx + 0xda], eax
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x120]
push eax
push 0x100
push 0xd
push 0x418
push dword [ebx + 0xc]
call edi
push eax
call esi
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0x_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x40376e
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str._0X_x__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x40376e
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push str.__d__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
je 0x40376e
cmp byte [ebp - 0x120], 0
jne 0x40377a
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebp - 8]
mov dword [ecx + 0xde], eax
lea eax, [ebp - 0x820]
push eax
push 0x400
push 0xd
push 0x415
push dword [ebx + 0xc]
call edi
push eax
call esi
xor esi, esi
lea ecx, [ebp - 0x820]
xor edi, edi
mov dword [ebp - 8], esi
and dword [ebp - 0x10], esi
push 0x10
mov dword [ebp - 0xc], edi
pop edx
mov al, byte [ecx]
test al, al
je 0x40383b
lea edx, [ebp - 0x420]
mov byte [ebp - 0x420], 0
xor esi, esi
sub edx, ecx
mov byte [ebp - 1], al
cmp al, 0x2c
je 0x4037db
mov byte [edx + ecx], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [ebp - 1], al
test al, al
jne 0x4037c6
cmp byte [ebp - 1], 0x2c
lea eax, [ecx + 1]
mov byte [ebp + esi - 0x420], 0
cmovne eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00402332
mov esi, dword [ebp - 8]
test al, al
je 0x403829
mov ecx, dword [ebp - 0x10]
lea esi, [ebp - 0x20]
lea edi, [ecx + 0xe2]
add edi, dword [ebx + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
inc esi
add ecx, 0xc
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
inc edi
push 0x10
pop edx
mov dword [ebp - 0xc], edi
cmp edi, edx
jb 0x4037ab
cmp esi, edx
jae 0x403865
imul edi, esi, 0xc
sub edx, esi
mov dword [ebp - 0xc], edi
mov ecx, dword [ebx + 0x40]
xor eax, eax
add ecx, 0xe2
add edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc]
add edi, 0xc
mov dword [ebp - 0xc], edi
sub edx, 1
jne 0x403847
mov esi, 0x41c
mov ecx, ebx
mov edx, esi
call fcn.00409b3b
cmp eax, 0xffffffff
jne 0x4038db
mov edi, 0x100
lea eax, [ebp - 0x120]
push edi
push 0
push eax
call fcn.00415d10
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push edi
push 0xd
push esi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebp - 0xc], 0
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x120]
push str.__d__c
push eax
call fcn.004158c4
add esp, 0x10
cmp eax, 1
jne 0x4038db
mov ecx, dword [ebx + 0x40]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x1aa], eax
pop edi
pop esi
pop ebx
leave
ret