Function at 0x435300
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4abf01
push eax
mov eax, 0x4244
mov dword fs:[0], esp
call fcn.004a2ae0
mov eax, dword [esp + 0x4254]
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
lea edx, [eax - 0x27d8]
mov ecx, dword [ebp + 0x154]
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0x14], edx
jne 0x435346
xor eax, eax
jmp 0x435351
mov eax, dword [ebp + 0x158]
sub eax, ecx
sar eax, 3
cmp edx, ebx
jl 0x4356c3
cmp edx, eax
jge 0x4356c3
mov ecx, dword [ebp + 0xdc]
lea eax, [edx + 0x28a0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4356c3
mov edx, dword [0x4c2080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4d1ac8]
lea ecx, [esp + 0x54]
push 0x100
push ecx
mov eax, dword [eax + 8]
push 0x95
push eax
mov dword [esp + 0x426c], ebx
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
jne 0x4353b9
mov word [esp + 0x54], bx
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x4353d5
lea eax, [esp + 0x54]
lea ecx, [esp + 0x10]
push eax
call fcn.00404c50
jmp 0x435423
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00405530
cmp eax, ebx
je 0x435418
push esi
push eax
push 0x95
call fcn.00405b00
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x435418
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00405530
cmp eax, ebx
jne 0x4353ec
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004055f0
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x2254]
push 0x1000
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2258]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2254]
lea edx, [esp + 0x2254]
push eax
mov dword [esp + 0x38], 0x59
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x20], esi
jne 0x4354c5
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4356c3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4356c3
jmp 0x4356b3
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x254]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1a]
lea ecx, [esp + 0x1b]
push eax
push ebx
push ecx
lea ecx, [esp + 0x50]
call fcn.00430020
lea edx, [esp + 0x44]
mov ecx, ebp
push edx
mov byte [esp + 0x4260], 1
call fcn.00435940
lea eax, [esp + 0x254]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43567c
mov eax, dword [ebp + 0x154]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
push edx
push eax
lea ecx, [ebp + 0x20]
call fcn.004288b0
mov ecx, eax
call fcn.0043cc70
mov ecx, dword [0x4c2080]
lea edx, [esp + 0x254]
test edx, edx
mov ebx, eax
mov dword [esp + 0x14], ecx
je 0x4355b7
lea eax, [esp + 0x254]
shr eax, 0x10
jne 0x435571
xor eax, eax
lea ecx, [esp + 0x254]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00405320
jmp 0x4355b7
lea edx, [esp + 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x4355b7
push esi
lea ecx, [esp + 0x18]
call fcn.004056f0
test eax, eax
je 0x4355b7
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x4355b7
mov edi, dword [esp + 0x14]
mov edx, ecx
lea esi, [esp + 0x254]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
push ebx
push ecx
mov ecx, ebp
mov byte [esp + 0x4268], 2
call fcn.00435a80
mov ecx, dword [0x4c2084]
mov esi, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x425c], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43560a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43560a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00442ac0
add esp, 4
test esi, esi
je 0x43564f
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x254]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esp + 0x254]
add ebx, 0x2c
test eax, eax
je 0x43563d
lea ecx, [esp + 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x254]
mov ecx, ebx
push edx
push eax
call fcn.00405750
jmp 0x435678
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push edi
call esi
push 0
push 0
push 0xb7
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x44]
mov byte [esp + 0x425c], 0
call fcn.0042fe20
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c2084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4356c3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4356c3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00442ac0
add esp, 4
mov ecx, dword [esp + 0x4254]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4250
ret 4