Function at 0x4501b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x4f5600
xor edx, edx
call fcn.0044ec20
mov edx, 1
mov ecx, esi
push 0x4f5638
call fcn.0044ec20
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b0
push esi
call edi
lea ecx, [esp + 0x24]
mov dword [0x6473a0], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x6473a0]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test eax, eax
je 0x450254
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x450298
mov ecx, dword [0x6473a0]
and eax, 0xffff
push eax
push 0
push 0x1a0
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebp, ebp
push 1
push ebp
push 0x6474bc
push str.glue_battle.net_backgrounds_bnfile.pcx
push 1
push 0xffffffffffffffff
push str.Browse
push esi
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_GetParent]
mov edx, eax
mov ecx, esi
call fcn.0044bdb0
mov ebx, 0x647240
mov edx, dword [ebp + 0x4f55f8]
lea eax, [ebp + 0x6473a8]
push 0
push ebx
push eax
push edx
push 1
push 0xffffffffffffffff
push str.Icon
xor edx, edx
xor ecx, ecx
call fcn.0044bdb0
test eax, eax
jne 0x45030d
mov ecx, ebx
mov dword [ebp + 0x6473a8], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
add ebx, 8
add ebp, 4
cmp ebx, 0x647250
jl 0x4502d9
mov edx, dword [0x6474b4]
push 0xffffffffffffffff
push 1
push 0x647238
push edx
lea eax, [esp + 0x28]
push 0
push eax
push esi
call sub.Storm.dll_Ordinal_216
push 0x44ef00
push 0x44ee50
push 0x3fb
push esi
call edi
mov edx, eax
mov ecx, 3
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x3f7
push esi
call edi
mov edx, eax
xor ecx, ecx
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x3f3
push esi
call edi
mov edx, eax
mov ecx, 1
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x3f5
push esi
call edi
mov edx, eax
mov ecx, 4
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x3f6
push esi
call edi
mov edx, eax
mov ecx, 5
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x3f5
push esi
call edi
mov edx, eax
mov ecx, 7
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x3f9
push esi
call edi
mov edx, eax
mov ecx, 6
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x406
push esi
call edi
mov edx, eax
mov ecx, 9
call fcn.0045e600
push 0x44ef00
push 0x44ee50
push 0x42c
push esi
call edi
mov edx, eax
mov ecx, 8
call fcn.0045e600
push 0x400
push esi
call edi
mov ebx, dword [0x6473a0]
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x450480
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0x46a
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ebx, dword [0x6473a0]
jmp 0x450486
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xb
push ebx
call ebp
push 0
push 0
push 0x184
push ebx
call ebp
mov dl, byte [0x646ee8]
mov cl, 0x28
neg dl
sbb edx, edx
and edx, 0x646ee8
push edx
push 0x44ffd0
mov edx, 0x647288
call fcn.0045e9b0
cmp al, 0xff
mov byte [esp + 0x14], al
je 0x4504f0
mov eax, dword [esp + 0x14]
push 0
and eax, 0xff
push eax
push 0x186
push ebx
call ebp
push ebx
push 0x104b0
push 0x111
push esi
call ebp
push 0
push 1
push 0xb
push ebx
call ebp
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0x647108
push 0
push 0xc
push 0x3fb
push esi
call edi
push eax
call ebp
mov edx, dword [0x6470f8]
mov ecx, dword [0x6470f0]
call fcn.0044b7a0
test eax, eax
je 0x450549
push 5
push 0x3f9
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
jmp 0x45055e
push 0
push 0x3f9
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x406
push esi
call edi
push eax
call ebx
mov edx, 0x647288
mov ecx, esi
call fcn.00450010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret