Function at 0x403460
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov dword [ebp - 0x310], ecx
push 0x3f5
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00429070
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x310]
add eax, 0x3c
push eax
call fcn.004288d0
add esp, 8
lea ecx, [ebp - 4]
push ecx
call fcn.00428990
add esp, 4
mov edx, dword [ebp - 0x310]
cmp dword [edx + 0x40], 0
je 0x4034f5
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 0x310]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4034f3
push 2
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x403748
jmp 0x403533
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jge 0x403533
mov edx, dword [ebp - 0x310]
add edx, 0x3c
push edx
call fcn.00428990
add esp, 4
push 2
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x403748
push 0x3fb
push 0x3f9
mov ecx, dword [ebp - 0x310]
call fcn.00402d30
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0x3f9
je 0x403574
cmp dword [ebp - 0x314], 0x3fa
je 0x403583
cmp dword [ebp - 0x314], 0x3fb
je 0x403592
jmp 0x4035a1
mov edx, dword [ebp - 0x310]
mov dword [edx + 0x48], 1
jmp 0x4035ae
mov eax, dword [ebp - 0x310]
mov dword [eax + 0x48], 2
jmp 0x4035ae
mov ecx, dword [ebp - 0x310]
mov dword [ecx + 0x48], 0
jmp 0x4035ae
mov edx, dword [ebp - 0x310]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x48], 1
jne 0x4036e6
mov dword [ebp - 0x30c], 0
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0x318], edx
cmp dword [ebp - 0x318], 0x3ec
je 0x4035fd
cmp dword [ebp - 0x318], 0x3ee
je 0x403609
cmp dword [ebp - 0x318], 0x3f0
je 0x403615
jmp 0x40361f
mov dword [ebp - 0x30c], 0xbe6
jmp 0x40361f
mov dword [ebp - 0x30c], 0xbe7
jmp 0x40361f
mov dword [ebp - 0x30c], 0xbe8
mov ax, word [0x42b7a8]
mov word [ebp - 0x108], ax
push 0xfe
push 0
lea ecx, [ebp - 0x106]
push ecx
call fcn.00425e10
add esp, 0xc
cmp dword [ebp - 0x30c], 0
je 0x40366b
push 0x80
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x30c]
push eax
mov ecx, dword [0x42f694]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov dx, word [0x42b7a8]
mov word [ebp - 0x308], dx
push 0x1fe
push 0
lea eax, [ebp - 0x306]
push eax
call fcn.00425e10
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x308]
push ecx
mov edx, dword [ebp - 0x310]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x108]
push ecx
push 0x131
lea edx, [ebp - 0x308]
push edx
push 0xbe5
mov eax, dword [ebp - 0x310]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x310]
mov eax, dword [edx + 0x34]
push eax
call fcn.00428e30
add esp, 0x18
cmp eax, 1
je 0x4036e6
jmp 0x403748
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x310]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x403702
jmp 0x403748
mov ecx, dword [ebp - 0x310]
call fcn.00402b80
push 0x3f5
mov edx, dword [ebp - 0x310]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x310]
mov eax, dword [edx + 0x18]
call eax
push 1
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov esp, ebp
pop ebp
ret