Function at 0x404920
Capabilities:
Access peb ldr_data

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 0x447043
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x457040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov byte [esi], 0
lea edi, [esi + 0x18]
mov dword [ebp - 4], 0
movups xmmword [edi], xmm0
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
lea ecx, [esi + 0x30]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 2
mov word [esi + 0x4c], 1
cmp esi, eax
je 0x4049f4
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x4049e6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.004018a0
lea ecx, [esi + 0x30]
push 0x24
push str.https:__validusbot.net_auto_updater_
call fcn.004018a0
push dword [ebp - 0x1c]
lea ecx, [esi + 0x30]
call fcn.00413980
cmp byte [ebx + 0x10], 0
je 0x404a33
cmp edi, 0x466128
je 0x404a97
cmp dword [0x46613c], 7
mov ecx, 0x466128
mov eax, dword [0x466138]
cmova ecx, dword [0x466128]
jmp 0x404a53
cmp edi, 0x466110
je 0x404a97
cmp dword [0x466124], 7
mov ecx, 0x466110
mov eax, dword [0x466120]
cmova ecx, dword [0x466110]
cmp eax, dword [edi + 0x14]
ja 0x404a87
cmp dword [edi + 0x14], 7
mov edx, edi
mov dword [ebp - 0x14], edi
jbe 0x404a68
mov edx, dword [edi]
mov dword [ebp - 0x14], edx
lea esi, [eax + eax]
mov dword [edi + 0x10], eax
push esi
push ecx
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
mov esi, dword [ebp - 0x18]
jmp 0x404a97
push ecx
mov byte [ebp - 0x18], 0
mov ecx, edi
push dword [ebp - 0x18]
push eax
call fcn.004112c0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
je 0x404af6
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00404800
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00411250
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 7
jbe 0x404af6
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404aec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404aec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00445a9b
add esp, 8
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
call fcn.00404800
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00411250
mov ecx, dword [ebp - 0x28]
cmp ecx, 7
jbe 0x404b49
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404b3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00445a9b
add esp, 8
mov ecx, dword [ebx + 0x14]
mov eax, esi
mov dword [esi + 0x48], ecx
mov cl, byte [ebx + 0x18]
mov byte [esi + 0x4d], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14