Function at 0x470990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
push edi
mov byte [esi + 0xa4], 0
test eax, eax
je 0x4709c3
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
mov eax, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
lea edi, [esi + 0x24]
test edi, edi
je 0x4709cf
lea eax, [edi - 0x24]
jmp 0x4709d1
xor eax, eax
mov edx, dword [eax + 4]
push edi
push 0x45ff10
push edx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetCallback]
lea eax, [esi + 0x28]
test edi, edi
je 0x4709ed
lea ecx, [edi - 0x24]
jmp 0x4709ef
xor ecx, ecx
mov edx, dword [eax + 4]
push edx
push eax
mov eax, dword [ecx + 4]
push 0x4603f0
push eax
call dword [sym.imp.htmlayout.dll_HTMLayoutWindowAttachEventHandler]
mov ecx, dword [esi + 0x7c]
push 0
call fcn.0048e3a0
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x78]
call fcn.0046eb70
mov eax, dword [esi + 0x78]
mov edx, dword [eax + 4]
push 0x80
push 0x1e0
push 0x25a
push 0x59
push 0xbb
add eax, 4
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x30]
push 0
push eax
call fcn.00468270
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x1a3
push 0x239
push 0x64
add eax, 4
push 0xc5
push ecx
call edi
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x34]
push 0
push edx
call fcn.00468270
mov eax, dword [esi + 0x34]
push 1
push 0x1a3
push 0x239
push 0x64
add eax, 4
mov eax, dword [eax]
push 0xc5
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
mov ecx, dword [esi + 0x38]
call fcn.00468270
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
push 1
push 0x1a3
push 0x239
push 0x64
add eax, 4
push 0xc5
push edx
call edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x3c]
push 0
push eax
call fcn.00468300
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
push 1
push 0x1a3
push 0x15e
push 0x64
add eax, 4
push 0xc5
push ecx
call edi
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x4c]
push edx
call fcn.0046e7f0
mov eax, dword [esi + 0x4c]
push 1
push 0x32
push 0x15e
push 0x203
add eax, 4
mov eax, dword [eax]
push 0xc5
push eax
call edi
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
add eax, 4
push 0
push ecx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x44]
push edx
call fcn.0046e870
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push 1
push 0x1e0
mov dword [ecx + 0x6c], eax
mov eax, dword [esi + 0x44]
push 0x25a
push 0x5c
add eax, 4
mov eax, dword [eax]
push 0xbb
push eax
call edi
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
call ebx
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x70], eax
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 4]
push 0
push ecx
mov dword [ecx + 0x48], eax
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x40]
push eax
call fcn.0046e670
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 4]
push 1
push 0x1dd
push 0x25a
push 0x5c
add eax, 4
push 0xbb
push ecx
call edi
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 4]
add eax, 4
push 0
push edx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x68]
push eax
call fcn.0046e6f0
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 4]
push 1
push 0x1dd
push 0x25a
push 0x5c
add eax, 4
push 0xbb
push ecx
call edi
mov eax, dword [esi + 0x68]
mov edx, dword [eax + 4]
add eax, 4
push 0
push edx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.0046e5f0
mov eax, dword [esi + 0x6c]
add eax, 4
mov ecx, dword [eax]
push 1
push 0x1dd
push 0x25a
push 0x5c
push 0xbb
push ecx
call edi
mov eax, dword [esi + 0x6c]
mov edx, dword [eax + 4]
add eax, 4
push 0
push edx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x70]
push eax
call fcn.0046e770
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 4]
push 1
push 0x1dd
push 0x25a
push 0x5c
add eax, 4
push 0xbb
push ecx
call edi
mov eax, dword [esi + 0x70]
mov edx, dword [eax + 4]
add eax, 4
push 0
push edx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x74]
push eax
call fcn.0046ebf0
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 4]
push 1
push 0x1dd
push 0x25a
push 0x5c
add eax, 4
push 0xbb
push ecx
call edi
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 4]
add eax, 4
push 0
push edx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
mov dword [eax], 0
push 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x48]
push eax
call fcn.0046eaf0
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 4]
push 1
push 0x1e2
push 0x316
push 0x59
add eax, 4
push 0
push ecx
call edi
mov eax, dword [esi + 0x48]
mov edx, dword [eax + 4]
add eax, 4
push 0
push edx
call ebx
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x48]
call fcn.004b8bc0
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x64]
push 0
push ecx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x54]
push edx
call fcn.0046e970
mov eax, dword [esi + 0x54]
push 1
push 0x1e3
push 0x25a
push 0x59
add eax, 4
mov eax, dword [eax]
push 0xbb
push eax
call edi
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x50]
push edx
call fcn.0046e7f0
mov eax, dword [esi + 0x50]
push 1
add eax, 4
push 0x19
mov eax, dword [eax]
push 0x25a
push 0x223
push 0xbc
push eax
call edi
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x60]
push edx
call fcn.0046ea70
mov eax, dword [esi + 0x60]
push 1
push 0x1e0
push 0x25d
push 0x59
add eax, 4
mov eax, dword [eax]
push 0xbb
push eax
call edi
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
call ebx
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x60]
push edx
call fcn.004b3e00
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 4]
push 0
push ecx
mov dword [ecx + 0x48], eax
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x58]
call fcn.0046e9f0
mov ecx, dword [esi + 0x58]
lea edx, [esi + 0x1ec]
push edx
call fcn.00496760
mov eax, dword [esi + 0x58]
push 1
push 0x1e3
push 0x25a
push 0x59
add eax, 4
mov eax, dword [eax]
push 0xbb
push eax
call edi
mov eax, dword [esi + 0x58]
add eax, 4
push 0
mov ecx, dword [eax]
push ecx
call ebx
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x5c]
push edx
call fcn.0046e8f0
mov eax, dword [esi + 0x5c]
push 1
push 0x1e0
push 0x25a
push 0x59
add eax, 4
mov eax, dword [eax]
push 0xbb
push eax
call edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
call ebx
mov edx, dword [esi + 0x48]
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0x5c]
push eax
call fcn.004b2610
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x5c]
push edx
call fcn.004b2620
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 0x5c]
push eax
call fcn.004b2600
push 0x23c
push 0x316
push 0x59
push 0x210
lea edi, [esi + 0x344]
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [0x5427f0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5427f0
call eax
lea ecx, [ebp - 0x28]
add eax, 0x10
push ecx
mov ecx, 0x542730
mov dword [ebp - 0xc], eax
call fcn.004bd0c0
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x47102d
mov edx, dword [eax + 4]
mov dword [ebp - 8], edx
jmp 0x471033
add eax, 4
mov dword [ebp - 8], eax
mov eax, dword [0x5427f0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5427f0
call edx
add eax, 0x10
push 0
push 0x83
mov dword [ebp - 4], eax
call fcn.0045f9f0
add esp, 8
test eax, eax
je 0x471069
push 0x83
push eax
lea ecx, [ebp - 4]
call fcn.00467270
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push eax
push ecx
lea edx, [ebp - 0xc]
push 0x50f2bc
push edx
call fcn.0046cc40
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4710a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x10], ebx
jb 0x4710b2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004ea481
add esp, 4
mov eax, dword [esi + 0x340]
mov dword [eax + 0x58], 1
mov eax, dword [esi + 0x33c]
sub eax, 0x10
push eax
call fcn.004626b0
lea ebx, [eax + 0x10]
mov eax, dword [esi + 0x340]
add esp, 4
lea edx, [ebp - 8]
lea ecx, [eax + 0x60]
push edx
mov dword [ebp - 8], ebx
call fcn.004684f0
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471105
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0xc]
push 0
push ecx
mov eax, esp
push 0
push 0x46000000
push ebx
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], edi
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x340]
call fcn.0046e570
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47114b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10