Function at 0x47b3d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0xa4
push 0xffffffffffffffff
push 0x4b4d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4e4050]
xor eax, ebp
mov dword [ebp + 0xa0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx + 0xc]
lea ecx, [ebp]
mov esi, dword [ebp + 0xac]
add eax, 0xa0
push eax
push esi
call fcn.0042c330
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 0x78]
mov byte [ebp + 0x82], 1
mov eax, dword [edx + 0x80]
test eax, eax
cmovns ecx, eax
mov dword [ebp + 0x78], ecx
mov ecx, 1
mov eax, dword [edx + 0x30]
shr eax, 2
test al, 1
movzx eax, byte [ebp + 0x80]
cmovne eax, ecx
add edx, 0x154
mov byte [ebp + 0x80], al
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x47b47c
push edx
lea ecx, [ebp + 0x74]
call fcn.00408f80
mov dword [ebp - 0x3c], 0x4c42c0
mov word [ebp - 0x38], 0x101
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], esi
test esi, esi
je 0x47b4de
lea ecx, [ebp - 0x3c]
call fcn.004091b0
mov ecx, dword [ebp - 0x24]
push 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
push 0
push 0x65
call dword [eax + 0xc]
mov eax, dword [ebx + 4]
xor esi, esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], esi
test eax, eax
jle 0x47b67e
xor ebx, ebx
test ebx, ebx
js 0x47b6e6
cmp esi, eax
jge 0x47b6e6
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi]
add esi, ebx
cmp byte [esi + 0x15d], 0
je 0x47b65e
mov ecx, esi
call fcn.0045ba10
test eax, eax
je 0x47b52f
cmp eax, 1
jne 0x47b65e
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
lea eax, [ebp]
push eax
call fcn.0045bbd0
mov edi, eax
call fcn.004293a0
cmp byte [eax + 0x1c], 0
je 0x47b64d
call fcn.004293a0
test byte [eax + 0x20], 8
je 0x47b64d
call fcn.004293a0
mov dword [ebp - 0x40], eax
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x47b6dc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
push 8
push str.Update__
call fcn.00402670
mov edx, dword [esi + 8]
test edx, edx
je 0x47b5b9
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b5a0
sub eax, esi
lea ecx, [ebp - 0x10]
sar eax, 1
push eax
push edx
call fcn.00402670
push 0x25
push 0x4cae20
lea ecx, [ebp - 0x10]
call fcn.00402670
push edi
lea ecx, [ebp - 0x10]
call fcn.00428e60
mov esi, eax
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x47b6dc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
push 0
push 0x4c4068
call fcn.00402670
push ecx
push esi
push ecx
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x14]
push eax
call fcn.004296e0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b62e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b64d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x47b65e
mov esi, edi
mov dword [ebp - 0x20], esi
cmp edi, 0xe0000008
je 0x47b680
mov eax, dword [ebp - 0x1c]
add ebx, 0x16c
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
cmp esi, eax
jl 0x47b4f7
mov esi, dword [ebp - 0x20]
jmp 0x47b680
xor esi, esi
cmp byte [ebp - 0x38], 0
je 0x47b6a6
cmp byte [ebp - 0x37], 0
je 0x47b6a6
cmp dword [ebp - 0x24], 0
je 0x47b6a6
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
push esi
push 0x65
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0042c5a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa0]
xor ecx, ebp
call fcn.0047dde6
lea esp, [ebp + 0xa4]
pop ebp
ret 4
push 0x80004005
call fcn.004027c0
push 0x8000000b
call fcn.004027c0
int3