Function at 0x477fb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp byte [edi + 0xd0], 0
je 0x4780df
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, str.m_bIsNavaigationError
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x478028
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x478035
push esi
push eax
lea ecx, [ebp + 8]
call fcn.00420bb0
jmp 0x478035
push str.m_bIsNavaigationError
lea ecx, [ebp + 8]
call fcn.00420650
push str.OnDocumentComplete
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 1
call fcn.004204a0
mov byte [ebp - 4], 2
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004215a0
add esp, 4
mov byte [ebp - 4], 4
cmp dword [edi + 0x80], 0
je 0x478093
push 0
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [edi + 0x7c]
push eax
call fcn.004216b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4780b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4780d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x10]
jmp 0x4785da
cmp byte [edi + 0xd8], 0
je 0x478175
cmp byte [0x573f26], 0
je 0x47815a
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x5c]
lea ecx, [edi + 0x5c]
call dword [eax + 0x28]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [edi + 0x88]
call esi
push 5
push dword [edi + 4]
call esi
push 0
push 0xff
push 0x402
push dword [edi + 0x88]
call dword [sym.imp.USER32.dll_PostMessageW]
push 2
push 0xff
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0
push 0
push dword [edi + 0x88]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x573f26], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x1d4c0
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, edi
call fcn.00478630
test al, al
jne 0x478255
push str.addCustomeObject_error
lea ecx, [ebp - 0x10]
call fcn.00420550
push str.OnDocumentComplete
lea ecx, [ebp + 8]
mov dword [ebp - 4], 5
call fcn.004204a0
mov byte [ebp - 4], 6
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004215a0
add esp, 4
mov byte [ebp - 4], 8
cmp dword [edi + 0x80], 0
je 0x47820c
push 2
push eax
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x7c]
push eax
call fcn.004216b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47822f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47824c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
jmp 0x47845e
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, str.OnDocumentComplete
mov dword [ebp - 4], 9
test eax, 0xffff0000
jne 0x478295
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4782a4
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00420bb0
jmp 0x4782a4
push 0x12
push str.OnDocumentComplete
lea ecx, [ebp - 0x10]
call fcn.00420c80
mov dword [ebp - 4], 0xa
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, str.installerMain
mov byte [ebp - 4], 0xb
test eax, 0xffff0000
jne 0x4782e8
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4782f7
push esi
push eax
lea ecx, [ebp + 8]
call fcn.00420bb0
jmp 0x4782f7
push 0xd
push str.installerMain
lea ecx, [ebp + 8]
call fcn.00420c80
lea eax, [ebp - 0x10]
push eax
push ecx
mov byte [ebp - 4], 0xc
mov eax, dword [0x571ba4]
mov esi, esp
mov ecx, 0x571ba4
mov dword [ebp - 0x20], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x549724
mov byte [ebp - 4], 0xd
test eax, 0xffff0000
jne 0x478340
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x47834e
push ebx
push eax
mov ecx, esi
call fcn.00420bb0
jmp 0x47834e
push 0
push 0x549724
mov ecx, esi
call fcn.00420c80
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
lea edx, [ebp + 8]
mov eax, dword [eax]
push edx
call eax
test al, al
mov byte [ebp - 4], 0xa
mov edx, dword [ebp + 8]
sete bl
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x478387
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4783aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x478614
push str.RunJSFunction_error
lea ecx, [ebp - 0x10]
call fcn.00420550
push str.OnDocumentComplete
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xe
call fcn.004204a0
mov byte [ebp - 4], 0xf
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.004215a0
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [edi + 0x80], 0
je 0x47841d
push 2
push eax
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x7c]
push eax
call fcn.004216b0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47843d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0xf
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47845a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47847a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47849d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0x12
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
push dword [eax + 8]
call fcn.004204a0
mov byte [ebp - 4], 0x13
push dword [ebp - 0x18]
lea eax, [ebp + 8]
push dword [edi + 0xb0]
push str._s__s
push eax
call fcn.00421320
add esp, 0x10
lea ecx, [ebp + 0x10]
push str.OnDocumentComplete
call fcn.004204a0
mov byte [ebp - 4], 0x14
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.004215a0
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [edi + 0x80], 0
je 0x47853a
push 2
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [edi + 0x7c]
push eax
call fcn.004216b0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47855a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x14
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478577
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478597
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.OnDocumentCompleteJSError
lea ecx, [ebp - 0x14]
call fcn.004204a0
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x17
call fcn.00422510
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4785d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4785f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x478614
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc