Function at 0x4882c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0xa8
push 0xffffffffffffffff
push 0x4de20d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x514080]
xor eax, ebp
mov dword [ebp + 0xa4], 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 + 0xb0]
add eax, 0xa0
push eax
push esi
call fcn.004313d0
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 0x488349
mov byte [ebp + 0x84], 1
mov eax, dword [edx + 0x154]
add edx, 0x154
cmp dword [eax - 0xc], 0
je 0x488364
push edx
lea ecx, [ebp + 0x74]
call fcn.00409970
mov dword [ebp - 0x44], 0x4ee37c
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 0x4883d2
lea ecx, [ebp - 0x44]
call fcn.00409bd0
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 [0x4e1514]
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 0x4885a9
xor esi, esi
mov dword [ebp - 0x1c], esi
nop
test esi, esi
js 0x488632
cmp edi, eax
jge 0x488632
mov edi, dword [ebx]
add edi, esi
cmp byte [edi + 0x15d], 0
je 0x48858e
mov ecx, edi
call fcn.00465d10
test eax, eax
je 0x488425
cmp eax, 1
jne 0x48858e
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp]
push eax
call fcn.00465ed0
mov ebx, eax
call fcn.0042ad70
cmp byte [eax + 0x1c], 0
je 0x48857a
call fcn.0042ad70
test byte [eax + 0x20], 8
je 0x48857a
call fcn.0042ad70
mov dword [ebp - 0x48], eax
call fcn.00404710
mov dword [ebp - 0x20], eax
test eax, eax
je 0x488628
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.004025d0
mov edx, dword [edi + 8]
test edx, edx
je 0x4884bc
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4884a3
sub eax, esi
lea ecx, [ebp - 0x14]
sar eax, 1
push eax
push edx
call fcn.004025d0
push 0x25
push 0x4f4f78
lea ecx, [ebp - 0x14]
call fcn.004025d0
push ebx
lea ecx, [ebp - 0x14]
call fcn.0042a780
mov dword [ebp - 0x20], eax
call fcn.00404710
mov edi, eax
test edi, edi
je 0x488628
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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 0x4ec684
call fcn.004025d0
push ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x48]
push eax
call fcn.0042b100
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 0x48854c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 0x488577
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x1c]
test ebx, ebx
je 0x48858b
mov ecx, ebx
mov dword [ebp - 0x10], ecx
cmp ebx, 0xe0000008
je 0x4885ea
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 0x4883f0
cmp byte [ebp - 0x40], 0
je 0x4885ef
cmp byte [ebp - 0x3f], 0
je 0x4885ef
cmp dword [ebp - 0x2c], 0
je 0x4885ef
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
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 [0x4e1514]
mov ecx, edi
call esi
jmp 0x4885f2
mov dword [ebp - 0x10], ecx
jmp 0x4885a9
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004316e0
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 + 0xa4]
xor ecx, ebp
call fcn.004a0c30
lea esp, [ebp + 0xa8]
pop ebp
ret 4
push 0x80004005
call fcn.00402740
push 0x8000000b
call fcn.00402740
int3