Function at 0x452570
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
mov eax, dword [0x64754c]
push ebx
push ebp
push esi
test eax, eax
push edi
mov ebp, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0
mov eax, str.glue_battle.net_backgrounds_bnprofile.pcx
jne 0x4525a4
mov eax, str.glue_battle.net_backgrounds_bnviewprofile.pcx
lea ecx, [esp + 0x1c]
push 1
push ecx
push 0x647524
push eax
push 1
push 0xffffffffffffffff
push str.Popup
push ebp
call dword [sym.imp.USER32.dll_GetParent]
mov edx, eax
mov ecx, ebp
call fcn.0044be10
lea edx, [esp + 0x1c]
xor ecx, ecx
push 1
push edx
push 0x647548
push str.glue_battle.netgenericicons_but_xsm.pcx
push 1
push 0xffffffffffffffff
push str.Button
xor edx, edx
call fcn.0044be10
mov ecx, dword [0x647548]
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push 1
push eax
push ecx
lea edx, [esp + 0x34]
push 0
push edx
push ebp
call sub.Storm.dll_Ordinal_216
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x40f
push ebp
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x42a
push ebp
call edi
push eax
call esi
mov edx, 2
mov ecx, ebp
push 0x4edd90
call fcn.004528f0
mov edx, 1
mov ecx, ebp
push 0x4edda8
mov dword [0x647538], eax
call fcn.004528f0
mov dword [0x647544], eax
mov eax, dword [0x647518]
push eax
push 0
push 0xc
push 0x40d
push ebp
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x647534]
test eax, eax
je 0x45272f
mov ecx, dword [0x64752c]
test ecx, ecx
je 0x45272f
mov edx, 0x451ba0
test edx, edx
je 0x45272f
mov edx, dword [eax]
cmp byte [edx], 0
je 0x45272f
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ebx, dword [eax]
mov eax, dword [esp + 0x10]
mov edi, 0x4edbe0
mov ecx, dword [eax]
mov al, byte [0x518a68]
test al, al
mov dword [esp + 0x18], ecx
jne 0x4526cf
mov edi, 0x4edac0
xor esi, esi
mov edx, dword [edi]
push edx
push ebx
call fcn.004ce610
add esp, 8
test eax, eax
je 0x4526ea
inc esi
add edi, 0x10
cmp esi, 0x12
jl 0x4526d1
cmp esi, 0x12
je 0x45270c
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x452701
mov dword [esi*4 + 0x647558], eax
jmp 0x45270c
mov dword [esi*4 + 0x647558], 0x4f60c0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add eax, 4
add edi, 4
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
cmp byte [ecx], 0
jne 0x4526b0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [0x647540]
push 0
imul edx, dword [0x64753c]
push 0x4aa
push str.U:SWarlanggluBNProfile.cpp
push edx
call sub.Storm.dll_Ordinal_401
mov ecx, dword [0x647540]
mov edx, dword [0x64753c]
push ecx
mov ecx, eax
mov dword [0x647550], eax
call fcn.00451190
push 0x424
push ebp
call edi
lea edx, [esp + 0x30]
mov esi, eax
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x647540]
mov ecx, dword [0x64753c]
push 0xffffffffffffffff
push eax
mov eax, dword [0x647550]
lea edx, [esp + 0x38]
push ecx
push edx
push eax
push 1
push 0xffffffffffffffff
push 0x644a58
push ebp
push esi
call sub.Storm.dll_Ordinal_222
mov eax, dword [0x647534]
test eax, eax
je 0x452896
mov ecx, dword [0x64752c]
test ecx, ecx
je 0x452896
mov edx, 0x4529e0
test edx, edx
je 0x452896
mov edx, dword [eax]
cmp byte [edx], 0
je 0x452896
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov al, byte [0x518a68]
mov edx, dword [ecx]
mov ebx, 0x4edbe0
test al, al
mov dword [esp + 0x1c], edx
jne 0x452805
mov ebx, 0x4edac0
xor esi, esi
mov edi, ebx
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.004ce610
add esp, 8
test eax, eax
je 0x452826
inc esi
add edi, 0x10
cmp esi, 0x12
jl 0x452809
cmp esi, 0x12
je 0x45286f
shl esi, 4
mov al, byte [esi + ebx + 4]
lea edi, [esi + ebx]
test al, 4
jne 0x45286f
mov edx, dword [edi + 8]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0xc
push esi
call ebx
mov eax, dword [0x64754c]
test eax, eax
je 0x45286f
mov ecx, dword [edi + 0xc]
push 0
push ecx
push 0xc5
push esi
call ebx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add eax, 4
add esi, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov edx, dword [eax]
cmp byte [edx], 0
jne 0x4527e2
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [0x64754c]
test eax, eax
je 0x4528b3
push 1
push ebp
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x412
push ebp
call edi
mov ecx, eax
call fcn.0044c840
push 0
push 1
push ebp
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 2
push ebp
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret