Function at 0x403fc5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x40b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
lea eax, [ebp - 0xd6]
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x434], esi
push 0
push eax
mov dword [ebp - 0x438], ebx
call sub.msvcrt.dll_memset
and dword [ebp - 0x450], 0
lea edi, [ebp - 0x44c]
xor eax, eax
add esp, 0xc
stosd dword es:[edi], eax
push 0xc
stosd dword es:[edi], eax
pop ecx
push 0x33
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
lea edi, [ebp - 0xd8]
mov dword [ebp - 0x42c], eax
lea eax, [esi + 0x10]
mov esi, eax
mov dword [ebp - 0x43c], eax
rep movsd dword es:[edi], dword [esi]
push eax
push 0x3ea
push ebx
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x434]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x430], ecx
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x42c]
mov dword [esi + 0xc], eax
movzx ecx, byte [ecx + 0x40]
cmp eax, ecx
jae 0x404112
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x328]
push 0x40
push eax
push 0x67
push dword [0x40b3a4]
call esi
mov edi, 0x80
lea eax, [ebp - 0x428]
push edi
push eax
push 0x68
push dword [0x40b3a4]
call esi
mov ecx, dword [ebp - 0x42c]
movzx eax, byte [ecx + 0x3d]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x2a8]
push edi
push eax
call fcn.00401cd5
add esp, 0x10
xor eax, eax
mov word [ebp - 0x1aa], ax
lea eax, [ebp - 0x428]
push edi
push eax
push 0x6c
push dword [0x40b3a4]
call esi
push 0
push 0xfffe
push 0x20
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x328]
push eax
push dword [0x40b3a4]
push ebx
call dword [sym.imp.COMCTL32.dll_Ordinal_344]
mov ebx, 0x80070057
jmp 0x4042aa
push 0x33
lea eax, [ebp - 0x70]
push eax
push 0x41d
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0xc], eax
jne 0x404252
lea edi, [esi + 0x10]
lea ecx, [ebp - 0x70]
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40415e
test dx, dx
je 0x40415a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40415e
add eax, 4
add ecx, 4
test dx, dx
jne 0x404138
xor eax, eax
jmp 0x404163
sbb eax, eax
or eax, 1
test eax, eax
jne 0x404252
push 0x65
lea eax, [ebp - 0x1a8]
push eax
push 0x41c
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x444], edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x450], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x1a8]
push 0x33
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x70]
push eax
push 0x67
push dword [0x40b3a4]
call edi
mov ecx, dword [esi]
lea edx, [ebp - 0x450]
call fcn.00408127
mov ebx, eax
lea eax, [ebp - 0x1a8]
push 0x65
push eax
test ebx, ebx
js 0x404206
push 0x9a
push dword [0x40b3a4]
call edi
push 0
push 0xfffd
push 0x20
push 0
jmp 0x404233
push 0x6f
push dword [0x40b3a4]
call edi
push ecx
mov ecx, dword [esi]
lea eax, [ebp - 0x2a8]
push eax
push 1
mov edx, ebx
call fcn.00405cf1
push 0
push 0xfffe
push 0x20
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [0x40b3a4]
push dword [ebp - 0x438]
call dword [sym.imp.COMCTL32.dll_Ordinal_344]
jmp 0x4042a6
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x70]
push 0x33
push eax
push 0x67
push dword [0x40b3a4]
call esi
push 0x65
lea eax, [ebp - 0x1a8]
push eax
push 0x9c
push dword [0x40b3a4]
call esi
push 0
push 0xfffe
push 0x20
push 0
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [0x40b3a4]
push ebx
call dword [sym.imp.COMCTL32.dll_Ordinal_344]
mov ebx, 0x80070057
test ebx, ebx
jns 0x4042cc
mov edi, dword [ebp - 0x43c]
lea esi, [ebp - 0xd8]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x430]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x434]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004097cb
mov esp, ebp
pop ebp
ret