Function at 0x1003a660
Capabilities:
Get graphical window text
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100910f1
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100bb0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
push 0x10099e30
mov byte [ebp - 0x11], 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x1003a6b0
push str.GetIECurURL_failed:_IEFrame_not_find
jmp 0x1003aa01
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.WorkerW
push 0
push eax
call esi
test eax, eax
jne 0x1003a6d0
push str.GetIECurURL_failed:_WorkerW_not_find
jmp 0x1003aa01
push 0
push str.ReBarWindow32
push 0
push eax
call esi
test eax, eax
jne 0x1003a6ea
push str.GetIECurURL_failed:_ReBarWindow32_not_find
jmp 0x1003aa01
push 0
push str.Address_Band_Root
push 0
push eax
call esi
test eax, eax
jne 0x1003a704
push str.GetIECurURL_failed:_Address_Band_Root_not_find
jmp 0x1003aa01
push 0
push str.Edit
push 0
push eax
call esi
mov esi, eax
test esi, esi
je 0x1003a9fc
push 0
push 0
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push str.WM_GETTEXTLENGTH_is__d
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x30], eax
call fcn.10011bb0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0x38], fcn.1002a7d0
mov dword [ebp - 0x34], 0x1002d7c0
call fcn.1000c060
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10010910
add esp, 0x10
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.10016790
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.1004f306
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003a9da
mov eax, dword [ebp - 0x30]
inc eax
push eax
push 0
push ebx
call fcn.10064410
mov eax, dword [ebp - 0x30]
add esp, 0xc
inc eax
push ebx
push eax
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [ebx], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jne 0x1003a7de
xor ecx, ecx
jmp 0x1003a7ec
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a7e3
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x48]
call fcn.10002340
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x11]
call fcn.100025f0
mov esi, eax
cmp edi, esi
je 0x1003a8c4
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x1003a85d
mov ecx, dword [edi]
inc eax
cmp eax, 0x1000
jb 0x1003a854
test cl, 0x1f
je 0x1003a830
call fcn.1006fbb9
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1003a83c
call fcn.1006fbb9
sub ecx, eax
cmp ecx, 4
jae 0x1003a848
call fcn.1006fbb9
cmp ecx, 0x23
jbe 0x1003a852
call fcn.1006fbb9
mov ecx, eax
push ecx
call fcn.1004ebb6
add esp, 4
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x1003a875
mov eax, dword [edi]
jmp 0x1003a877
mov eax, edi
mov byte [eax], 0
cmp dword [esi + 0x14], 0x10
jae 0x1003a895
mov eax, dword [esi + 0x10]
add eax, 1
je 0x1003a89f
push eax
push esi
push edi
call fcn.100652b0
add esp, 0xc
jmp 0x1003a89f
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x1003a8c1
mov esi, dword [esi]
mov byte [esi], 0
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x1003a90e
mov ecx, dword [ebp - 0x60]
inc eax
cmp eax, 0x1000
jb 0x1003a905
test cl, 0x1f
je 0x1003a8e1
call fcn.1006fbb9
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1003a8ed
call fcn.1006fbb9
sub ecx, eax
cmp ecx, 4
jae 0x1003a8f9
call fcn.1006fbb9
cmp ecx, 0x23
jbe 0x1003a903
call fcn.1006fbb9
mov ecx, eax
push ecx
call fcn.1004ebb6
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x1003a96a
mov ecx, dword [ebp - 0x48]
inc eax
cmp eax, 0x1000
jb 0x1003a961
test cl, 0x1f
je 0x1003a93d
call fcn.1006fbb9
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1003a949
call fcn.1006fbb9
sub ecx, eax
cmp ecx, 4
jae 0x1003a955
call fcn.1006fbb9
cmp ecx, 0x23
jbe 0x1003a95f
call fcn.1006fbb9
mov ecx, eax
push ecx
call fcn.1004ebb6
add esp, 4
push ebx
call fcn.1004f056
add esp, 4
push str.GetIECurURL_success:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, edi
call fcn.10020580
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1003a9d6
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x1003a9cd
test cl, 0x1f
je 0x1003a9a9
call fcn.1006fbb9
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1003a9b5
call fcn.1006fbb9
sub ecx, eax
cmp ecx, 4
jae 0x1003a9c1
call fcn.1006fbb9
cmp ecx, 0x23
jbe 0x1003a9cb
call fcn.1006fbb9
mov ecx, eax
push ecx
call fcn.1004ebb6
add esp, 4
mov al, 1
jmp 0x1003aa0a
push str.GetIECurURL_failed:_new_URL_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x1003aa07
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10002440
jmp 0x1003aa07
push str.GetIECurURL_failed:_Dont_find_IE_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ebbb
mov esp, ebp
pop ebp
ret