Function at 0x41c83f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], 0x42c
push esi
push edi
mov esi, ecx
mov dword [eax], ebx
jne 0x41c986
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
mov dword [eax], 1
call fcn.0045bcba
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x14]
push eax
call fcn.0045c25b
mov eax, dword [ebp + 0x14]
cmp dword [eax - 8], ebx
je 0x41c971
cmp dword [esi + 0x44], ebx
jne 0x41c8a0
push dword [0x48a1e4]
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x41c971
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x488b68
push dword [esi + 0x28]
call edi
mov ecx, dword [ebp + 0x14]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0xc]
jl 0x41c8c7
push eax
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41c8d8
mov eax, dword [0x47e520]
push ecx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0040833f
push 0x47efc4
lea ecx, [ebp - 4]
call fcn.004013c8
push str.Dir__
lea ecx, [ebp + 0x10]
call fcn.004013c8
lea eax, [ebp - 4]
lea ebx, [esi + 0x34]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004015b6
push eax
lea eax, [ebp - 8]
push eax
call fcn.004015b6
push eax
mov ecx, ebx
call fcn.00401522
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
lea ecx, [ebp + 0x10]
call fcn.0040139c
lea ecx, [ebp - 4]
call fcn.0040139c
push dword [ebx]
push dword [esi + 0x38]
call edi
push 0
push 0x9b4
push 0x111
mov dword [0x48a1ec], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [0x48a1ec], 0
lea ecx, [ebp + 0xc]
call fcn.0040139c
lea ecx, [ebp + 0x14]
call fcn.0040139c
lea ecx, [ebp - 0x14]
call fcn.0045bcda
jmp 0x41cb3a
cmp dword [ebp + 0xc], 0x9b4
jne 0x41ca8e
cmp dword [esi + 0x44], ebx
jne 0x41c9ac
push dword [0x48a1e4]
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x41cb3a
mov edi, 0x400
lea ecx, [esi + 0x34]
push edi
call fcn.004016d4
push edi
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
call fcn.0040173c
cmp dword [0x48a1ec], ebx
jne 0x41ca28
lea eax, [ebp + 0x14]
push 0x61a80
push eax
mov dword [0x48a1ec], ebx
call fcn.0044bfce
mov edi, dword [eax]
lea eax, [ebp + 0xc]
push 0x4e
push eax
call fcn.0044bfce
mov eax, dword [eax]
add esp, 0x10
push 3
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp + 0xc]
setne bl
call fcn.0040139c
lea ecx, [ebp + 0x14]
call fcn.0040139c
test bl, bl
jne 0x41cb3a
push 0x488b68
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x48]
lea edi, [esi + 0x48]
mov ecx, edi
call dword [eax + 0xc]
push 0x47fdd0
lea ecx, [ebp + 0xc]
call fcn.004013c8
lea eax, [esi + 0x34]
add esi, 0x20
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.004015b6
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.004015b6
push dword [eax]
mov ecx, edi
call fcn.00416282
lea ecx, [ebp + 0x14]
call fcn.0040139c
lea ecx, [ebp + 0x10]
call fcn.0040139c
lea ecx, [ebp + 0xc]
jmp 0x41cb35
cmp dword [ebp + 0xc], 0x9b5
jne 0x41cb3a
cmp dword [esi + 0x44], ebx
je 0x41c998
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push str.help
push dword [esi + 0x38]
call ebx
mov edi, 0x400
lea ecx, [esi + 0x34]
push edi
call fcn.004016d4
push edi
push eax
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
call fcn.0040173c
push 0x488b68
push dword [esi + 0x28]
call ebx
mov eax, dword [esi + 0x48]
lea edi, [esi + 0x48]
mov ecx, edi
call dword [eax + 0xc]
push 0x47fdd8
lea ecx, [ebp + 0xc]
call fcn.004013c8
lea eax, [ebp + 0xc]
push str.help
push eax
add esi, 0x20
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.004015b6
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.00408569
push dword [eax]
mov ecx, edi
call fcn.00416282
lea ecx, [ebp + 0x14]
call fcn.0040139c
lea ecx, [ebp + 0x10]
call fcn.0040139c
lea ecx, [ebp + 0xc]
call fcn.0040139c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10