Function at 0x430270
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ab561
push eax
mov eax, 0x4244
mov dword fs:[0], esp
call fcn.004a0d60
mov eax, dword [esp + 0x4254]
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
lea edx, [eax - 0x27d8]
mov ecx, dword [ebp + 0x124]
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0x14], edx
jne 0x4302b6
xor eax, eax
jmp 0x4302c1
mov eax, dword [ebp + 0x128]
sub eax, ecx
sar eax, 3
cmp edx, ebx
jl 0x430633
cmp edx, eax
jge 0x430633
mov ecx, dword [ebp + 0xc4]
lea eax, [edx + 0x28a0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x430633
mov edx, dword [0x4c0080]
mov dword [esp + 0x10], edx
mov eax, dword [0x4cf6e8]
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 0x430329
mov word [esp + 0x54], bx
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x430345
lea eax, [esp + 0x54]
lea ecx, [esp + 0x10]
push eax
call fcn.00403cc0
jmp 0x430393
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00404560
cmp eax, ebx
je 0x430388
push esi
push eax
push 0x95
call fcn.00404b30
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x430388
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00404560
cmp eax, ebx
jne 0x43035c
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404620
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 0x430435
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x430633
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430633
jmp 0x430623
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.00428c30
lea edx, [esp + 0x44]
mov ecx, ebp
push edx
mov byte [esp + 0x4260], 1
call fcn.004308b0
lea eax, [esp + 0x254]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4305ec
mov eax, dword [ebp + 0x124]
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.00437680
mov ecx, eax
call fcn.00435f80
mov ecx, dword [0x4c0080]
lea edx, [esp + 0x254]
test edx, edx
mov ebx, eax
mov dword [esp + 0x14], ecx
je 0x430527
lea eax, [esp + 0x254]
shr eax, 0x10
jne 0x4304e1
xor eax, eax
lea ecx, [esp + 0x254]
mov ax, cx
lea ecx, [esp + 0x14]
push eax
call fcn.00404350
jmp 0x430527
lea edx, [esp + 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x430527
push esi
lea ecx, [esp + 0x18]
call fcn.00404720
test eax, eax
je 0x430527
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x430527
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.004309f0
mov ecx, dword [0x4c0084]
mov esi, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x425c], 1
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43057a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43057a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.0049c000
add esp, 4
test esi, esi
je 0x4305bf
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, 0x24
test eax, eax
je 0x4305ad
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.00404780
jmp 0x4305e8
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.00428b30
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x430633
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430633
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0049c000
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