Function at 0x516b50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e445
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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 esi, ecx
mov dword [ebp - 0x84], esi
push str.CReportDetailedInfoView::AddTextToScreen
lea ecx, [ebp - 0x78]
call fcn.00562ae0
cmp dword [esi + 0xe4], 7
lea edi, [esi + 0xd0]
mov dword [ebp - 4], 0
jbe 0x516ba7
mov edi, dword [edi]
push dword [esi + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call fcn.00603c3d
push dword [eax + 0x20]
call esi
push eax
call fcn.00603c3d
push edi
mov ecx, eax
call fcn.00603967
mov dword [ebp - 0x7c], 0
mov edi, dword [ebp - 0x84]
push str.status
push str._id_S_
mov byte [ebp - 4], 1
lea eax, [edi + 0x84]
push eax
call fcn.00486490
add esp, 0xc
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x7c]
push eax
call fcn.00487180
cmp dword [edi + 0x114], 7
lea edx, [edi + 0x100]
jbe 0x516c16
mov edx, dword [edx]
mov esi, dword [ebp - 0x7c]
test edx, edx
je 0x516c38
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x516c30
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x516c26
push ecx
push edx
push esi
call fcn.00486340
push str.starttime
lea eax, [edi + 0x84]
push str._id_S_
push eax
call fcn.00486490
add esp, 0xc
mov dword [ebp - 0x80], eax
test esi, esi
je 0x516cc2
mov eax, dword [0x6fd840]
test eax, eax
jne 0x516cb6
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x516ca3
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x516c9c
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x516ca3
mov dword [0x6fd83c], eax
jmp 0x516ca3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
je 0x51716c
mov edi, dword [ebp - 0x84]
mov eax, dword [eax + 0x80]
push esi
call eax
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
call fcn.00487180
cmp dword [edi + 0xb4], 7
lea edx, [edi + 0xa0]
jbe 0x516ce3
mov edx, dword [edx]
mov esi, dword [ebp - 0x7c]
test edx, edx
je 0x516d05
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x516cfd
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x516cf3
push ecx
push edx
push esi
call fcn.00486340
push str.endtime
lea eax, [edi + 0x84]
push str._id_S_
push eax
call fcn.00486490
add esp, 0xc
mov dword [ebp - 0x80], eax
test esi, esi
je 0x516d8f
mov eax, dword [0x6fd840]
test eax, eax
jne 0x516d83
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x516d70
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x516d69
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x516d70
mov dword [0x6fd83c], eax
jmp 0x516d70
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
je 0x51716c
mov edi, dword [ebp - 0x84]
mov eax, dword [eax + 0x80]
push esi
call eax
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
call fcn.00487180
cmp dword [edi + 0xcc], 7
lea edx, [edi + 0xb8]
jbe 0x516db0
mov edx, dword [edx]
mov esi, dword [ebp - 0x7c]
test edx, edx
je 0x516dd2
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x516dca
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x516dc0
push ecx
push edx
push esi
call fcn.00486340
push str.properties
lea eax, [edi + 0x84]
push str._id_S_
push eax
call fcn.00486490
add esp, 0xc
mov dword [ebp - 0x80], eax
test esi, esi
je 0x516e5c
mov eax, dword [0x6fd840]
test eax, eax
jne 0x516e50
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x516e3d
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x516e36
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x516e3d
mov dword [0x6fd83c], eax
jmp 0x516e3d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
je 0x51716c
mov edi, dword [ebp - 0x84]
mov eax, dword [eax + 0x80]
push esi
call eax
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
call fcn.00487180
cmp dword [edi + 0x12c], 7
lea edx, [edi + 0x118]
jbe 0x516e7d
mov edx, dword [edx]
mov esi, dword [ebp - 0x7c]
test edx, edx
je 0x516ea2
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x516e9a
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x516e90
push ecx
push edx
push esi
call fcn.00486340
push str.logfile
lea eax, [edi + 0x84]
push str._id_S_
push eax
call fcn.00486490
add esp, 0xc
mov dword [ebp - 0x80], eax
test esi, esi
je 0x516f2c
mov eax, dword [0x6fd840]
test eax, eax
jne 0x516f20
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x516f0d
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x516f06
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x516f0d
mov dword [0x6fd83c], eax
jmp 0x516f0d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
je 0x51716c
mov edi, dword [ebp - 0x84]
mov eax, dword [eax + 0x80]
push esi
call eax
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
call fcn.00487180
mov ecx, dword [edi + 0x140]
lea esi, [edi + 0x130]
mov eax, 0x7ffffffe
mov dword [ebp - 0x80], ecx
sub eax, ecx
cmp eax, 8
jb 0x5171a0
cmp dword [esi + 0x14], 7
jbe 0x516f63
mov esi, dword [esi]
lea eax, [ecx + 8]
mov dword [ebp - 0x30], 0
mov ecx, 7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x88], eax
xorps xmm0, xmm0
lea edi, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
cmp eax, ecx
jbe 0x516fd1
or eax, ecx
cmp eax, 0x7ffffffe
jbe 0x516f9d
mov eax, 0x7ffffffe
jmp 0x516fa7
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00414360
mov ecx, dword [ebp - 0x84]
mov edi, eax
mov eax, dword [ebp - 0x88]
add esp, 8
mov dword [ebp - 0x40], edi
movups xmm0, xmmword [str._file:__]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x80]
add eax, eax
mov dword [ebp - 0x2c], ecx
push eax
lea ecx, [edi + 0x10]
push esi
push ecx
movups xmmword [edi], xmm0
call fcn.0060ddef
mov eax, dword [ebp - 0x80]
xor ecx, ecx
add esp, 0xc
mov word [edi + eax*2 + 0x10], cx
push 1
push 0x658594
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00418500
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x7c]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x517063
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x517088
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x51707a
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x517070
push ecx
push edx
push esi
call fcn.00486340
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x5170bc
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5170b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x517100
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x517110
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x517106
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x517106
call dword [0x63e2e0]
push ecx
push edx
call fcn.00604b8c
add esp, 8
mov byte [ebp - 4], 4
test esi, esi
je 0x51717d
mov eax, dword [0x6fd840]
test eax, eax
jne 0x517174
push str.sciter32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x517163
push str.SciterAPI
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x51715c
call eax
mov dword [0x6fd840], eax
mov eax, dword [eax + 0x26c]
call eax
test eax, eax
je 0x517163
mov dword [0x6fd83c], eax
jmp 0x517163
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x6fd840]
test eax, eax
jne 0x517174
push 0xffffffffffffffff
call dword [0x63e2ac]
mov eax, dword [eax + 0x80]
push esi
call eax
lea ecx, [ebp - 0x78]
call fcn.005630c0
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
call fcn.00417f10
int3