Function at 0x301785bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 3
mov esi, ecx
je 0x3017873e
cmp edi, 0x7b
je 0x3017872d
cmp edi, 0x111
jne 0x30178755
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cmp ax, 6
jne 0x3017869c
xor ebx, ebx
cmp byte [esi + 0xf4], bl
je 0x30178606
mov al, 1
jmp 0x30178766
push 1
call sym.OFFDIAG.exe_public:_struct_HWND______thiscall_NetUI::HWNDHost::GetHWND_enum_NetUI::HWNDHost::TriggerDelayLoadFlag_
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x47a
push eax
mov dword [ebp + 0x10], eax
call edi
test eax, eax
jne 0x301785ff
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
mov dword [ebp + 8], eax
jle 0x30178666
push 2
push eax
call fcn.30146413
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x30178673
mov ecx, dword [ebp + 8]
inc ecx
push ecx
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0xc]
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Element::SetTextString_wchar_t_const__
push dword [ebp + 0xc]
call sym.OFFDIAG.exe_void___stdcall_NetUI::HFree_void__
jmp 0x30178673
push dword [0x30261adc]
mov ecx, esi
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Node::RemoveLocalValue_struct_NetUI::PropertyInfo_const__
mov ecx, esi
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Combobox::GetIsDirty_void_
test al, al
jne 0x301785ff
push ebx
push ebx
push 0xb8
push dword [ebp + 0x10]
call edi
test eax, eax
setne al
mov ecx, esi
push eax
call sym.OFFDIAG.exe_protected:_long_int___thiscall_NetUI::Combobox::SetIsDirty_bool_
jmp 0x301785ff
cmp ax, 7
jne 0x301786c2
push 0
push 2
push dword [0x30261adc]
call sym.OFFDIAG.exe_public:_class_NetUI::Value____thiscall_NetUI::Node::GetValue_struct_NetUI::PropertyInfo_const___int__unsigned_char_
push eax
lea ecx, [esi + 0xf8]
call fcn.301393f1
jmp 0x30178755
cmp ax, 8
jne 0x30178755
call sym.OFFDIAG.exe_public:_bool___thiscall_NetUI::Dropdown::GetRevertSelectionOnCancel_void_
xor ebx, ebx
test al, al
je 0x3017871f
cmp dword [esi + 0xec], 0xffffffff
jne 0x3017871f
push dword [esi + 0xf8]
mov ecx, esi
push dword [0x30261adc]
call sym.OFFDIAG.exe_public:_long_int___thiscall_NetUI::Node::SetValue_struct_NetUI::PropertyInfo_const___class_NetUI::Value__
mov ecx, esi
call sym.OFFDIAG.exe_protected:_void___thiscall_NetUI::HWNDHost::SyncText_void_
push 0xffff0000
push ebx
push 0x142
push 1
mov ecx, esi
call sym.OFFDIAG.exe_public:_struct_HWND______thiscall_NetUI::HWNDHost::GetHWND_enum_NetUI::HWNDHost::TriggerDelayLoadFlag_
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xec], 0xfffffffd
push ebx
lea ecx, [esi + 0xf8]
call fcn.30139c1e
jmp 0x30178755
push dword [ebp + 0x10]
call fcn.3017826c
test al, al
je 0x30178755
jmp 0x301785ff
xor ebx, ebx
push ebx
call sym.OFFDIAG.exe_public:_struct_HWND______thiscall_NetUI::HWNDHost::GetHWND_enum_NetUI::HWNDHost::TriggerDelayLoadFlag_
cmp eax, ebx
je 0x30178755
push ebx
push ebx
push 3
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call sym.OFFDIAG.exe_public_virtual:_bool___thiscall_NetUI::Dropdown::OnNotify_unsigned_int__unsigned_int__long_int__long_int__
pop edi
pop esi
pop ebx
pop ebp
ret 0x10