Function at 0x4891a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0xb0
push 0xffffffffffffffff
push 0x4df5cd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x515080]
xor eax, ebp
mov dword [ebp + 0xac], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebx + 0xc]
lea ecx, [ebp]
mov esi, dword [ebp + 0xb8]
add eax, 0xa0
push eax
push esi
call fcn.00431a10
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 0x78]
mov byte [ebp + 0x86], 1
mov eax, dword [edx + 0x80]
test eax, eax
cmovns ecx, eax
mov dword [ebp + 0x78], ecx
mov eax, dword [edx + 0x30]
shr eax, 2
test al, 1
je 0x489229
mov byte [ebp + 0x84], 1
mov eax, dword [edx + 0x154]
add edx, 0x154
cmp dword [eax - 0xc], 0
je 0x489244
push edx
lea ecx, [ebp + 0x74]
call fcn.00409b90
mov dword [ebp - 0x44], 0x4ef38c
mov word [ebp - 0x40], 0x101
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x4892b2
lea ecx, [ebp - 0x44]
call fcn.00409df0
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [edi]
push 0
push 0
push 0x65
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov eax, dword [ebx + 4]
xor edi, edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], edi
test eax, eax
jle 0x489489
xor esi, esi
mov dword [ebp - 0x1c], esi
nop
test esi, esi
js 0x489512
cmp edi, eax
jge 0x489512
mov edi, dword [ebx]
add edi, esi
cmp byte [edi + 0x15d], 0
je 0x48946e
mov ecx, edi
call fcn.004668c0
test eax, eax
je 0x489305
cmp eax, 1
jne 0x48946e
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp]
push eax
call fcn.00466a80
mov ebx, eax
call fcn.0042b3e0
cmp byte [eax + 0x1c], 0
je 0x48945a
call fcn.0042b3e0
test byte [eax + 0x20], 8
je 0x48945a
call fcn.0042b3e0
mov dword [ebp - 0x48], eax
call fcn.004046f0
mov dword [ebp - 0x20], eax
test eax, eax
je 0x489508
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, dword [ebp - 0x20]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push 8
push str.Update__
call fcn.004025b0
mov edx, dword [edi + 8]
test edx, edx
je 0x48939c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x489383
sub eax, esi
lea ecx, [ebp - 0x14]
sar eax, 1
push eax
push edx
call fcn.004025b0
push 0x25
push 0x4f5fa0
lea ecx, [ebp - 0x14]
call fcn.004025b0
push ebx
lea ecx, [ebp - 0x14]
call fcn.0042adf0
mov dword [ebp - 0x20], eax
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x489508
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
push 0
push 0x4ed694
call fcn.004025b0
push ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x48]
push eax
call fcn.0042b770
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x48942c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x489457
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x1c]
test ebx, ebx
je 0x48946b
mov ecx, ebx
mov dword [ebp - 0x10], ecx
cmp ebx, 0xe0000008
je 0x4894ca
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
add esi, 0x16c
mov eax, dword [ebx + 4]
inc edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], esi
cmp edi, eax
jl 0x4892d0
cmp byte [ebp - 0x40], 0
je 0x4894cf
cmp byte [ebp - 0x3f], 0
je 0x4894cf
cmp dword [ebp - 0x2c], 0
je 0x4894cf
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
lea ecx, [ebp - 0x44]
call esi
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
push ebx
push 0x65
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
jmp 0x4894d2
mov dword [ebp - 0x10], ecx
jmp 0x489489
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00431dc0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
call fcn.004a1cf0
lea esp, [ebp + 0xb0]
pop ebp
ret 4
push 0x80004005
call fcn.00402720
push 0x8000000b
call fcn.00402720
int3