Function at 0x43ae50
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
sub edx, 0x7d1
je 0x43afc6
sub edx, 1
je 0x43ae87
sub edx, 1
jne 0x43b0f9
cmp dword [ebp + 0xc], edx
jne 0x43b0f9
call fcn.00439820
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [ebp + 0xc], 4
jne 0x43b0f9
mov edx, dword [0x598d5c]
mov ecx, dword [edx + 0x44]
mov esi, dword [edx + 0x40]
cmp ecx, 0xffffffff
jle 0x43af8c
cmp esi, 0xffffffff
jle 0x43af8c
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x43aeba
xor ebx, ebx
jmp 0x43aebd
mov ebx, dword [eax + 8]
cmp ecx, ebx
jge 0x43af8c
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x43af8c
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x43aede
xor ecx, ecx
jmp 0x43aee1
mov ecx, dword [eax + 8]
cmp esi, ecx
jge 0x43aeed
mov eax, dword [eax + 4]
mov esi, dword [eax + esi*4]
jmp 0x43aeef
xor esi, esi
mov ebx, dword [ebp + 8]
test esi, esi
je 0x43af91
push 0x400
push 0x93e580
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call fcn.0050840b
xor ecx, ecx
add esp, 4
cmp byte [0x93e580], cl
je 0x43af2a
nop
inc ecx
cmp byte [ecx + 0x93e580], 0
jne 0x43af20
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.00503a1f
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x43af55
push 1
push 1
call fcn.00503a1f
add esp, 8
jmp 0x43af79
xor eax, eax
cmp byte [0x93e580], al
je 0x43af6a
nop
inc eax
cmp byte [eax + 0x93e580], 0
jne 0x43af60
push eax
push 0x93e580
push ecx
call fcn.005005e0
add esp, 0xc
mov dword [esi], eax
mov edx, dword [0x598d5c]
cmp dword [edx + 0xb0], 0
jne 0x43af97
jmp 0x43af91
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [edx + 0x40], 0
jne 0x43afa9
push dword [esi]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.004394f0
add esp, 8
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
call fcn.00439780
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [ebp + 0xc], 0x309
jne 0x43b0f9
mov eax, dword [0x598d5c]
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x40]
cmp ecx, 0xffffffff
jle 0x43b0eb
cmp esi, 0xffffffff
jle 0x43b0eb
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x43affb
xor edx, edx
jmp 0x43affe
mov edx, dword [eax + 8]
cmp ecx, edx
jge 0x43b0eb
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x43b0eb
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x43b01f
xor ecx, ecx
jmp 0x43b022
mov ecx, dword [eax + 8]
cmp esi, ecx
jge 0x43b02e
mov eax, dword [eax + 4]
mov esi, dword [eax + esi*4]
jmp 0x43b030
xor esi, esi
test esi, esi
je 0x43b0eb
mov ebx, dword [ebp + 8]
push 0x400
push 0x93e9a0
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call fcn.0050840b
xor ecx, ecx
add esp, 4
cmp byte [0x93e9a0], cl
je 0x43b06a
inc ecx
cmp byte [ecx + 0x93e9a0], 0
jne 0x43b060
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.00503a1f
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x43b095
push 1
push 1
call fcn.00503a1f
add esp, 8
jmp 0x43b0b9
xor eax, eax
cmp byte [0x93e9a0], al
je 0x43b0aa
nop
inc eax
cmp byte [eax + 0x93e9a0], 0
jne 0x43b0a0
push eax
push 0x93e9a0
push ecx
call fcn.005005e0
add esp, 0xc
push 0
push ebx
mov dword [esi], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x598d5c]
cmp dword [edx + 0xb0], 0
jne 0x43b0d9
cmp dword [edx + 0x40], 0
jne 0x43b0eb
push dword [esi]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.004394f0
add esp, 8
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
call fcn.00439780
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret