Function at 0x10039570
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10098456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0xec]
push eax
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x14]
call fcn.10011f50
lea ecx, [esp + 0x10]
mov dword [esp + 0x1fc], ebx
call fcn.1001a260
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jl 0x100395fa
push str.mstsc.exe
push ecx
call fcn.10076a37
add esp, 8
cmp eax, ebx
je 0x100395fa
mov ecx, dword [esp + 0x10]
sub eax, ecx
cmp eax, 0xffffffff
je 0x100395fa
lea eax, [ecx - 0x10]
jmp 0x10039677
xor eax, eax
mov byte [esp + 0x80], bl
mov ecx, 0x18
lea edi, [esp + 0x81]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x18], bl
mov ecx, 0x18
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov edx, eax
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
push 0x64
lea ecx, [esp + 0x84]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10039661
sub eax, edx
mov dword [esp + 0x14], eax
jne 0x100396a2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1fc], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100399a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x100399a1
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x10]
call fcn.10011f50
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push str.19TTycPF
mov byte [esp + 0x204], 1
call fcn.1003a410
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add esp, 8
cmp ecx, ebx
jl 0x10039786
lea edx, [esp + 0x18]
push edx
push eax
call fcn.10076a37
add esp, 8
cmp eax, ebx
je 0x10039786
sub eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10039786
mov edi, 1
mov dword [esi + 4], edi
call fcn.100363a0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [0x100dfc50], edi
mov byte [esp + 0x1fc], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039740
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1fc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x1f4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push str.zt695SvwMA
call fcn.1003a410
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add esp, 8
cmp ecx, ebx
jl 0x10039801
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.10076a37
add esp, 8
cmp eax, ebx
je 0x10039801
sub eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10039801
mov dword [esi + 4], 2
call fcn.100363a0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [0x100dfc4c], 1
mov byte [esp + 0x1fc], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x10039736
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push str.RmlyZVBob2VuaXggLSC78Lfvu8s
call fcn.1003a410
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add esp, 8
cmp ecx, ebx
jl 0x1003987a
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.10076a37
add esp, 8
cmp eax, ebx
je 0x1003987a
sub eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1003987a
lea edx, [esp + 0x18]
push edx
push str.CSoftHandler::IsSoftInfo
push str._s__find__s
push 1
call fcn.1006ac00
add esp, 0x10
mov dword [esi + 4], 3
call fcn.100363a0
mov dword [0x100dfc54], 1
jmp 0x10039964
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push str.R1R1bm5lbA
call fcn.1003a410
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add esp, 8
cmp ecx, ebx
jl 0x100398f0
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.10076a37
add esp, 8
cmp eax, ebx
je 0x100398f0
sub eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x100398f0
lea edx, [esp + 0x18]
push edx
push str.CSoftHandler::IsSoftInfo
push str._s__find__s
push 1
call fcn.1006ac00
add esp, 0x10
mov dword [esi + 4], 4
call fcn.100363a0
mov dword [0x100dfc58], 1
jmp 0x10039964
xor eax, eax
mov ecx, 0x19
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push str.R1Bhc3MtysC9582o
call fcn.1003a410
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add esp, 8
cmp ecx, ebx
jl 0x1003998f
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.10076a37
add esp, 8
cmp eax, ebx
je 0x1003998f
sub eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1003998f
lea edx, [esp + 0x18]
push edx
push str.CSoftHandler::IsSoftInfo
push str._s__find__s
push 1
call fcn.1006ac00
add esp, 0x10
mov dword [esi + 4], 5
call fcn.100363a0
mov dword [0x100dfc5c], 1
lea ecx, [esp + 0xc]
call fcn.10002010
lea ecx, [esp + 0x10]
call fcn.10002010
mov al, 1
mov ecx, dword [esp + 0x1f4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0xc]
call fcn.10002010
lea ecx, [esp + 0x10]
call fcn.10002010
mov ecx, dword [esp + 0x1f4]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4