Function at 0x4058f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525a45
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x398
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x304], ecx
mov edi, dword [ebx + 8]
mov dword [ebp - 0x33c], edi
cmp byte [edi], 1
je 0x405967
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fc7af
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov esi, 0x566d10
or eax, 0xffffffff
mov dword [ebp - 0x318], esi
mov cl, byte [edi]
inc eax
mov dword [ebp - 0x30c], eax
cmp cl, 1
jne 0x405990
mov ecx, dword [edi + 8]
push esi
call fcn.004271c0
mov cl, byte [edi]
jmp 0x405992
xor eax, eax
test eax, eax
jne 0x405e87
movaps xmm0, xmmword [0x54c350]
lea edx, [ebp - 0x1c8]
movups xmmword [ebp - 0x1c8], xmm0
lea ecx, [ebp - 0x188]
movaps xmm0, xmmword [0x54c2f0]
movups xmmword [ebp - 0x1b8], xmm0
movaps xmm0, xmmword [0x54c340]
movups xmmword [ebp - 0x1a8], xmm0
movaps xmm0, xmmword [0x54c120]
movups xmmword [ebp - 0x198], xmm0
call fcn.0041a710
mov dword [ebp - 4], 0
lea edx, [ebp - 0x188]
cmp dword [ebp - 0x174], 0x10
mov eax, dword [esi]
cmovae edx, dword [ebp - 0x188]
mov ecx, edx
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x33c]
mov dword [ebp - 0x16c], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405a17
sub esp, 0x10
sub ecx, esi
mov eax, esp
lea esi, [ebp - 0x170]
push ecx
push edx
lea ecx, [ebp - 0x150]
mov dword [eax], 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00446c90
mov byte [ebp - 4], 1
lea edx, [ebp - 0x150]
cmp dword [ebp - 0x13c], 0x10
lea ecx, [ebp - 0x168]
cmovae edx, dword [ebp - 0x150]
call fcn.00445b30
mov byte [ebp - 4], 2
lea edi, [ebp - 0x168]
cmp dword [ebp - 0x154], 8
lea ecx, [ebp - 0x268]
mov edx, str.cst::update_engines::UpdateEngines::_ParseComponents
mov dword [ebp - 0x20], 0x290028
cmovae edi, dword [ebp - 0x168]
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x20
call fcn.0041a0d0
mov ecx, eax
mov dword [ebp - 0x138], 0x42005b
mov dword [ebp - 0x134], 0x520044
mov dword [ebp - 0x130], 0x490045
mov dword [ebp - 0x12c], 0x49004e
movzx eax, word [ecx]
mov word [ebp - 0x11c], ax
movzx eax, word [ecx + 2]
mov word [ebp - 0x11a], ax
movzx eax, word [ecx + 4]
mov word [ebp - 0x118], ax
movzx eax, word [ecx + 6]
mov word [ebp - 0x116], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x114], ax
movzx eax, word [ecx + 0xa]
mov word [ebp - 0x112], ax
movzx eax, word [ecx + 0xc]
mov word [ebp - 0x110], ax
movzx eax, word [ecx + 0xe]
mov word [ebp - 0x10e], ax
movzx eax, word [ecx + 0x10]
mov word [ebp - 0x10c], ax
movzx eax, word [ecx + 0x12]
mov word [ebp - 0x10a], ax
movzx eax, word [ecx + 0x14]
mov word [ebp - 0x108], ax
movzx eax, word [ecx + 0x16]
mov word [ebp - 0x106], ax
movzx eax, word [ecx + 0x18]
mov word [ebp - 0x104], ax
movzx eax, word [ecx + 0x1a]
mov word [ebp - 0x102], ax
movzx eax, word [ecx + 0x1c]
mov word [ebp - 0x100], ax
movzx eax, word [ecx + 0x1e]
mov word [ebp - 0xfe], ax
movzx eax, word [ecx + 0x20]
mov word [ebp - 0xfc], ax
movzx eax, word [ecx + 0x22]
mov word [ebp - 0xfa], ax
movzx eax, word [ecx + 0x24]
mov word [ebp - 0xf8], ax
movzx eax, word [ecx + 0x26]
mov word [ebp - 0xf6], ax
movzx eax, word [ecx + 0x28]
mov word [ebp - 0xf4], ax
movzx eax, word [ecx + 0x2a]
mov dword [ebp - 0x128], 0x5d0054
mov dword [ebp - 0x124], 0x3a0020
mov dword [ebp - 0x120], 0x20003a
mov word [ebp - 0xf2], ax
movzx eax, word [ecx + 0x2c]
lea edx, [ebp - 0x138]
mov word [ebp - 0xf0], ax
movzx eax, word [ecx + 0x2e]
mov word [ebp - 0xee], ax
movzx eax, word [ecx + 0x30]
mov word [ebp - 0xec], ax
movzx eax, word [ecx + 0x32]
mov word [ebp - 0xea], ax
movzx eax, word [ecx + 0x34]
mov word [ebp - 0xe8], ax
movzx eax, word [ecx + 0x36]
mov word [ebp - 0xe6], ax
movzx eax, word [ecx + 0x38]
mov word [ebp - 0xe4], ax
movzx eax, word [ecx + 0x3a]
mov word [ebp - 0xe2], ax
movzx eax, word [ecx + 0x3c]
mov word [ebp - 0xe0], ax
movzx eax, word [ecx + 0x3e]
mov word [ebp - 0xde], ax
movzx eax, word [ecx + 0x40]
mov word [ebp - 0xdc], ax
movzx eax, word [ecx + 0x42]
mov word [ebp - 0xda], ax
movzx eax, word [ecx + 0x44]
mov word [ebp - 0xd8], ax
movzx eax, word [ecx + 0x46]
mov word [ebp - 0xd6], ax
movzx eax, word [ecx + 0x48]
mov word [ebp - 0xd4], ax
movzx eax, word [ecx + 0x4a]
mov word [ebp - 0xd2], ax
movzx eax, word [ecx + 0x4c]
mov word [ebp - 0xd0], ax
movzx eax, word [ecx + 0x4e]
mov word [ebp - 0xce], ax
movzx eax, word [ecx + 0x50]
mov word [ebp - 0xcc], ax
movzx eax, word [ecx + 0x52]
mov word [ebp - 0xca], ax
movzx eax, word [ecx + 0x54]
mov word [ebp - 0xc8], ax
movzx eax, word [ecx + 0x56]
mov word [ebp - 0xc6], ax
movzx eax, word [ecx + 0x58]
mov word [ebp - 0xc4], ax
movzx eax, word [ecx + 0x5a]
mov word [ebp - 0xc2], ax
movzx eax, word [ecx + 0x5c]
mov word [ebp - 0xc0], ax
movzx eax, word [ecx + 0x5e]
mov word [ebp - 0xbe], ax
movzx eax, word [ecx + 0x60]
mov word [ebp - 0xbc], ax
movzx eax, word [ecx + 0x62]
mov word [ebp - 0xba], ax
movzx eax, word [ecx + 0x64]
mov word [ebp - 0xb8], ax
movzx eax, word [ecx + 0x66]
lea ecx, [ebp - 0x2f8]
mov word [ebp - 0xb6], ax
xor eax, eax
mov word [ebp - 0xb4], ax
lea eax, [ebp - 0x20]
push eax
call fcn.0041a280
mov ecx, dword [0x56ae9c]
add esp, 0x1c
mov dword [ebp - 0x308], eax
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
cmp ecx, dword [edx + 4]
jg 0x406455
push edi
push 0
push dword [ebp - 0x308]
push 8
push 0x56aea0
call fcn.0043ebb0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x154]
cmp edx, 8
jb 0x405dc8
mov ecx, dword [ebp - 0x168]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405dbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40657d
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x158], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
cmp edx, 0x10
jb 0x405e22
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405e18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40657d
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x4063d2
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405e78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40657d
push edx
push ecx
call fcn.004fc7e0
add esp, 8
jmp 0x4063d2
mov edx, dword [esi]
mov dword [ebp - 0x308], edx
cmp cl, 1
jne 0x406401
mov eax, dword [edi + 8]
mov eax, dword [eax]
mov edi, eax
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x314], edi
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x405f14
mov eax, edx
lea edi, [esi + 0x10]
lea ecx, [eax + 1]
mov dword [ebp - 0x310], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ec2
sub eax, dword [ebp - 0x310]
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x405eda
mov edi, dword [edi]
push eax
push edx
mov edx, ecx
mov ecx, edi
call fcn.0043c380
add esp, 8
test eax, eax
je 0x405efe
shr eax, 0x1f
test al, al
je 0x405efe
mov esi, dword [esi + 8]
mov edi, dword [ebp - 0x314]
jmp 0x405f08
mov edi, esi
mov esi, dword [esi]
mov dword [ebp - 0x314], edi
cmp byte [esi + 0xd], 0
mov edx, dword [ebp - 0x308]
je 0x405eb4
cmp byte [edi + 0xd], 0
jne 0x405f57
mov esi, edx
lea ecx, [edi + 0x10]
lea eax, [esi + 1]
mov dword [ebp - 0x310], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x405f28
sub esi, dword [ebp - 0x310]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x405f40
mov ecx, dword [ecx]
push esi
push edx
mov edx, eax
call fcn.0043c380
add esp, 8
test eax, eax
je 0x405f5d
shr eax, 0x1f
xor al, 1
je 0x405f5d
mov edi, dword [ebp - 0x300]
mov dword [ebp - 0xb0], 0
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x30c]
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0xe
mov edx, str.engines_path
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x98]
push eax
call fcn.004050b0
add esp, 4
lea eax, [ebp - 0x80]
mov edx, str.engines_name
lea ecx, [edi + 0x28]
push eax
call fcn.004050b0
add esp, 4
lea eax, [ebp - 0x68]
mov edx, str.plugin_path
lea ecx, [edi + 0x28]
push eax
call fcn.004050b0
add esp, 4
lea ecx, [edi + 0x28]
mov edx, str.intest_period
push 0x545d08
call fcn.0041a810
add esp, 4
mov dword [ebp - 0x34], edx
mov edx, str.init_timeout
mov dword [ebp - 0x38], eax
lea ecx, [edi + 0x28]
push 0x545d00
call fcn.0041a810
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2fa]
mov dword [ebp - 0x2c], edx
mov edx, str.send_events
mov byte [ebp - 0x2fa], 0
lea ecx, [edi + 0x28]
push eax
call fcn.0041a990
add esp, 4
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2f9]
mov byte [ebp - 0x2f9], 0
mov edx, str.crash_on_timeout
lea ecx, [edi + 0x28]
push eax
call fcn.0041a990
add esp, 4
mov byte [ebp - 0x27], al
cmp dword [ebp - 0x88], 0
je 0x4062f7
cmp dword [ebp - 0x70], 0
je 0x4062f7
mov esi, dword [ebp - 0x304]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x388]
add esi, 0xc
push eax
mov ecx, esi
call fcn.00428410
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x37c], xmm0
cmp byte [eax + 0xd], 0
jne 0x4060fb
add eax, 0x10
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0042ba60
test al, al
je 0x40618c
cmp dword [esi + 4], 0x5d1745d
je 0x406582
mov eax, dword [esi]
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x320], esi
mov byte [ebp - 4], 0xf
push 0x2c
mov dword [ebp - 0x31c], 0
call fcn.004fc7f3
mov edi, eax
add esp, 4
mov dword [ebp - 0x31c], edi
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [edi + 0x10]
call fcn.00444e70
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x304]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x300]
mov byte [ebp - 4], 0xe
push edi
push dword [ebp - 0x378]
mov dword [edi], eax
lea ecx, [ecx + 0xc]
push dword [ebp - 0x37c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
mov dword [ebp - 0x31c], 0
call fcn.00423b30
mov esi, dword [ebp - 0x304]
lea eax, [ebp - 0x68]
add esi, 4
cmp dword [ebp - 0x54], 8
mov ecx, esi
cmovae eax, dword [ebp - 0x68]
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.00428500
mov ecx, dword [ebp - 0x344]
cmp byte [ecx + 0xd], 0
jne 0x4061fb
mov eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 0x10]
jge 0x4062f7
cmp dword [esi + 4], 0x1861861
je 0x406582
lea eax, [ebp - 0x27]
mov dword [ebp - 0x338], esi
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x360], eax
lea eax, [ebp - 0x330]
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x328]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x350], eax
mov eax, dword [esi]
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 0x11
push 0xa8
mov dword [ebp - 0x334], 0
call fcn.004fc7f3
mov edi, eax
mov dword [ebp - 0x334], edi
sub esp, 0x1c
mov byte [ebp - 4], 0x12
mov cl, byte [0x5459b8]
lea eax, [ebp - 0x36c]
mov byte [ebp - 0x324], cl
mov ecx, esp
push eax
call fcn.00431a40
push ecx
mov eax, esp
lea ecx, [ebp - 0x24]
push dword [ebp - 0x324]
mov dword [eax], ecx
lea ecx, [edi + 0x10]
call fcn.00433dc0
mov eax, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x304]
push edi
push dword [ebp - 0x348]
mov dword [edi], eax
push dword [ebp - 0x34c]
mov dword [edi + 4], eax
lea ecx, [ecx + 4]
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
mov dword [ebp - 0x334], 0
call fcn.00423b30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x406313
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], 7
cmp eax, 8
jb 0x40633c
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 7
cmp eax, 8
jb 0x406365
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 7
cmp eax, 8
jb 0x406397
inc eax
lea ecx, [ebp - 0x98]
push eax
push dword [ebp - 0x98]
call fcn.00445a90
xor eax, eax
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], 7
cmp eax, 8
jb 0x4063d2
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00445a90
mov esi, dword [ebp - 0x318]
add esi, 4
mov dword [ebp - 0x318], esi
cmp esi, 0x566d20
je 0x4063fa
mov eax, dword [ebp - 0x30c]
mov edi, dword [ebp - 0x33c]
jmp 0x405975
mov al, 1
jmp 0x405947
mov ecx, edi
call fcn.00417fa0
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00444b20
push eax
mov edx, str.cannot_use_operator___with_a_string_argument_with
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x1e0]
call fcn.00419d10
push eax
mov edx, 0x131
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3a4]
call fcn.004222d0
add esp, 8
lea eax, [ebp - 0x3a4]
push 0x55ff68
push eax
call fcn.004fe52e
push 0x56ae9c
call fcn.004fc956
add esp, 4
cmp dword [0x56ae9c], 0xffffffff
jne 0x405d6c
push ecx
push 0x56aec8
mov byte [ebp - 4], 3
push ecx
mov dword [0x56aec8], 0
mov ecx, 0x56aed0
mov dword [0x56aecc], 0
call fcn.0043ecb0
push ecx
push 0x56aec8
push ecx
mov ecx, 0x56af08
mov byte [ebp - 4], 4
call fcn.0043ecb0
mov byte [ebp - 4], 5
push 0x50
mov dword [0x56af40], 0x56aed0
call fcn.004fc7f3
add esp, 4
mov dword [ebp - 0x370], eax
push str.BDREINIT
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0043ee20
mov edx, eax
mov byte [ebp - 4], 5
mov dword [0x56af44], edx
test edx, edx
je 0x406543
mov esi, dword [edx]
mov dword [0x56aea0], esi
mov ecx, dword [edx + 4]
mov dword [0x56aea4], ecx
mov eax, dword [edx + 8]
mov dword [0x56aea8], eax
mov eax, dword [edx + 0xc]
mov dword [0x56aeac], eax
mov eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
mov dword [0x56aeb0], eax
mov dword [0x56aeb4], ecx
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
add edx, 0x10
mov dword [0x56aeb8], eax
mov dword [0x56aebc], ecx
cmp dword [edx + 0x14], 8
jb 0x40653b
mov edx, dword [edx]
jmp 0x40653b
mov dword [0x56aec0], edx
jmp 0x406549
mov esi, dword [0x56aea0]
test byte [esi], 2
je 0x40655a
mov ecx, 0x56aed0
call fcn.004407b0
jmp 0x40655a
push 0x535830
call fcn.004fcc68
add esp, 4
mov byte [ebp - 4], 2
push 0x56ae9c
call fcn.004fc90c
add esp, 4
jmp 0x405d6c
call fcn.0050175f
call fcn.0043c7a0
int3