Function at 0x51f2bb
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov esi, ecx
cmp byte [esi + 0x30], 0
push edi
jne 0x51f2e3
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 4]
push str.uiview_init_dialog
push eax
mov byte [esi + 0x30], 1
call ebp
test eax, eax
je 0x51f2e3
push edi
push 0xde
call eax
mov ecx, dword [esi + 4]
push 0x445
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x14
push 0xc5
push eax
mov dword [esi + 0x44], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x44]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x1000
cmp eax, ecx
je 0x51f32a
mov eax, dword [esi + 0x44]
push ecx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 0x44]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], 0x44c
mov eax, dword [esi + 4]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0x44e
mov ecx, dword [esi + 4]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], 0x44f
mov edi, dword [esi + 0x74]
mov ebx, dword [esi + 0x70]
call fcn.004a1350
test eax, eax
je 0x51f384
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f384
push 5
push edi
push ebx
call eax
mov edi, dword [esi + 0x7c]
mov ebx, dword [esi + 0x78]
call fcn.004a1350
test eax, eax
je 0x51f3a5
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f3a5
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x84]
mov ebx, dword [esi + 0x80]
call fcn.004a1350
test eax, eax
je 0x51f3cc
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f3cc
push 0
push edi
push ebx
call eax
mov edx, dword [esi + 4]
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], 0x4b0
mov eax, dword [esi + 4]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x4b3
mov ecx, dword [esi + 4]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], 0x4b1
mov edx, dword [esi + 4]
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], 0x4b2
mov eax, dword [esi + 4]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0x4b4
mov edi, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
call fcn.004a1350
test eax, eax
je 0x51f42e
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f42e
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x54]
mov ebx, dword [esi + 0x50]
call fcn.004a1350
test eax, eax
je 0x51f44f
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f44f
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x5c]
mov ebx, dword [esi + 0x58]
call fcn.004a1350
test eax, eax
je 0x51f470
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f470
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x64]
mov ebx, dword [esi + 0x60]
call fcn.004a1350
test eax, eax
je 0x51f491
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f491
push 0
push edi
push ebx
call eax
mov edi, dword [esi + 0x6c]
mov ebx, dword [esi + 0x68]
call fcn.004a1350
test eax, eax
je 0x51f4b2
push str.uiview_show_window
push eax
call ebp
test eax, eax
je 0x51f4b2
push 0
push edi
push ebx
call eax
mov ecx, dword [esi + 4]
push 0xfa0
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
mov dword [esi + 0x88], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5ceb40]
mov eax, dword [esi + 4]
push 0
push edx
push 0x3e8
push eax
push 0x14
push 0x28
push 0x1f4
push 0x3e8
push 0x40000000
push 0
push str.EDIT
push 0
mov dword [esp + 0x40], 0x3e8
mov dword [esp + 0x44], 0x1f4
mov dword [esp + 0x48], 0x410
mov dword [esp + 0x4c], 0x208
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov eax, dword [esi + 0x44]
push 0x51bb40
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x5ceaf8], eax
mov esi, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x51f55f
push str.uiview_set_tip_text
push eax
call ebp
test eax, eax
je 0x51f55f
push 0x59ca0c
push 0x44d
push esi
call eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 0x10