Function at 0x4875f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c70d
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe8], edi
push str.DeleteNotification::OnDocumentComplete
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xe4], 0
call fcn.00562ae0
mov dword [ebp - 4], 0
mov dword [ebp - 0xdc], 0
mov ecx, 0x6ff280
mov byte [ebp - 4], 1
call fcn.004cb870
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
test eax, eax
je 0x4876d3
mov dword [ebp - 0xe4], esp
push 8
push str.DISCOUNT
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xorps xmm0, xmm0
push 0xd
movups xmmword [ecx], xmm0
push str.Delete_Window
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
call fcn.00477bd0
add esp, 0x34
mov edx, eax
mov byte [ebp - 4], 3
mov eax, 1
jmp 0x48772f
mov dword [ebp - 0xe0], esp
push 0x10
push str.DISCOUNT_NETWORK
call fcn.00414450
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
xorps xmm0, xmm0
push 0xd
movups xmmword [ecx], xmm0
push str.Delete_Window
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.00477bd0
add esp, 0x34
mov edx, eax
mov dword [ebp - 4], 5
mov eax, 2
cmp dword [edx + 0x14], 7
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
jbe 0x487743
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487760
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00414450
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 4], 7
test al, 2
je 0x4877e3
mov ecx, dword [ebp - 0x44]
and eax, 0xfffffffd
mov dword [ebp - 0xe0], eax
cmp ecx, 7
jbe 0x4877cf
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4877bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487817
push ecx
push edx
call fcn.00604b8c
mov eax, dword [ebp - 0xe0]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], cx
mov byte [ebp - 4], 8
test al, 1
je 0x48783b
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x487827
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48781d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48781d
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea eax, [edi + 0x84]
push str.span_idpercent_
push eax
mov dword [ebp - 0xe0], eax
call fcn.00486490
add esp, 8
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0xdc]
push eax
call fcn.00487180
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x4878a2
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
jbe 0x487885
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x4878a2
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x48789a
nop
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x487890
push ecx
push edx
push esi
call fcn.00486340
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0xec], esp
push 0xe
movups xmmword [ecx], xmm0
push str.PROMOCODES_XML
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
xorps xmm0, xmm0
push 0xd
movups xmmword [ecx], xmm0
push str.Delete_Window
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00414450
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 8
push eax
call fcn.00477bd0
add esp, 0x34
mov edx, eax
cmp dword [edx + 0x14], 7
mov byte [ebp - 4], 0xa
jbe 0x487917
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487931
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00414450
mov edi, dword [ebp - 0xe8]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.004c8760
add edi, 0xd8
mov dword [ebp - 0xe4], eax
cmp edi, eax
je 0x4879aa
mov ecx, edi
call fcn.00417eb0
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x74]
cmp ecx, 7
jbe 0x4879e7
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4879dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a82
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xa
cmp ecx, 7
jbe 0x487a38
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x487a2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487a82
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
cmp ecx, 7
jbe 0x487a92
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x487a88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x487a88
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 0xe8], 0
je 0x487bf5
push str.input_idpromocode_
push dword [ebp - 0xe0]
call fcn.00486490
add esp, 8
mov dword [ebp - 0xe0], eax
test esi, esi
je 0x487b32
mov eax, dword [0x6fd840]
test eax, eax
jne 0x487b23
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x487b16
push str.SciterAPI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x487b0a
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x487b16
mov dword [0x6fd83c], eax
jmp 0x487b16
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
je 0x487e36
mov eax, dword [eax + 0x80]
push esi
call eax
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
call fcn.00487180
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x487d6b
lea eax, [ebp - 0x20]
push eax
call fcn.00487f60
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x487b6a
mov edi, dword [edi]
push 0
push eax
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.00487fe0
mov eax, dword [0x6fd840]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x487bd7
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x487bc6
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x487bbf
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x487bc6
mov dword [0x6fd83c], eax
jmp 0x487bc6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
jne 0x487bd7
push 0xffffffffffffffff
call dword [0x63e2ac]
mov eax, dword [eax + 0x19c]
lea ecx, [ebp - 0x20]
push ecx
push esi
call eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.004874e0
jmp 0x487d6b
mov edi, dword [ebp - 0xe0]
push str.div_idCONNECT_
push edi
call fcn.00486490
add esp, 8
mov dword [ebp - 0xe4], eax
test esi, esi
je 0x487c80
mov eax, dword [0x6fd840]
test eax, eax
jne 0x487c71
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x487c5e
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x487c57
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x487c5e
mov dword [0x6fd83c], eax
jmp 0x487c5e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
je 0x487e36
mov edi, dword [ebp - 0xe0]
mov eax, dword [eax + 0x80]
push esi
call eax
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
call fcn.00487180
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x487cb5
push str.display:_none_
push str.style
lea ecx, [ebp - 0xdc]
call fcn.00487070
push str.div_idNO_CONNECT_
push edi
call fcn.00486490
add esp, 8
mov edi, eax
mov dword [ebp - 0xe4], edi
test esi, esi
je 0x487d36
mov eax, dword [0x6fd840]
test eax, eax
jne 0x487d2d
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x487d1a
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x487d13
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x487d1a
mov dword [0x6fd83c], eax
jmp 0x487d1a
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
je 0x487e36
mov edi, dword [ebp - 0xe4]
mov eax, dword [eax + 0x80]
push esi
call eax
push edi
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
call fcn.00487180
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x487d6b
push str.display:_block_
push str.style
lea ecx, [ebp - 0xdc]
call fcn.00487070
mov ecx, dword [ebp - 0xe8]
push 3
push 0
push 0
push 0
push 0
push dword [0x63f3b4]
call fcn.00603c97
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x487dc6
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x487dbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x487dbc
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xd
test esi, esi
je 0x487e47
mov eax, dword [0x6fd840]
test eax, eax
jne 0x487e3e
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x487e2d
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x487e26
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x487e2d
mov dword [0x6fd83c], eax
jmp 0x487e2d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
jne 0x487e3e
push 0xffffffffffffffff
call dword [0x63e2ac]
mov eax, dword [eax + 0x80]
push esi
call eax
lea ecx, [ebp - 0xd8]
call fcn.005630c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret