Function at 0x100534d5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101f8dc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 0x3020
push edi
xor edi, edi
cmp dword [esi + 0xd0], edi
jne 0x10053514
push ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10053514
push edi
push edi
push 0x200
push eax
call fcn.1003655e
test dword [esi + 0x84], 0x1000020
jne 0x1005360d
push ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
push eax
push ebx
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.1002b660
movaps xmm0, xmmword [0x101aa250]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_MapDialogRect]
mov edi, dword [ebp - 8]
cmp dword [ebp - 0x18], edi
jge 0x1005360b
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
sub edi, dword [ebp - 0x10]
sub edi, dword [ebp - 0x18]
push 0x16
push dword [ebp - 0x18]
push eax
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor ebx, ebx
push dword [ebx + 0x101f8e24]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100535d6
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.1002b660
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 0x15
push ecx
push ecx
sub eax, edi
push eax
push dword [ebp - 0x14]
push ecx
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
add ebx, 4
cmp ebx, 0x10
jb 0x10053591
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
mov ecx, esi
sub eax, dword [ebp - 0x10]
push 0x16
sub eax, edi
xor edi, edi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edi
push edi
push edi
call fcn.100434e8
jmp 0x1005360d
xor edi, edi
mov ecx, esi
call fcn.10035c0b
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0xd4], edi
je 0x100536b8
test dword [esi + 0x84], 0x1000020
jne 0x100536b8
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push dword [esi + 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10053684
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
mov ecx, esi
sub eax, dword [ebp - 0x20]
push 0x16
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
push edi
push edi
push edi
call fcn.100434e8
push dword [edi + 0x101f8e24]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x100536ab
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
add edi, 4
cmp edi, 0x10
jb 0x10053684
mov ebx, dword [ebp - 0x28]
xor edi, edi
mov ecx, esi
call fcn.10043192
test eax, 0x40000000
jne 0x100536ce
push edi
mov ecx, esi
call fcn.10033343
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10046c17
leave
ret