Function at 0x5db870
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov ebx, ecx
lea eax, [esi + 0x80]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x5dd3d0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov edi, dword [ebp + 8]
mov dword fs:[0], eax
lea ecx, [esi + 0x30]
mov dword [ecx], edx
mov dword [ecx + 4], edx
lea eax, [ebx + 0x3c]
push eax
call fcn.004ed9ce
mov edx, ebx
mov ebx, dword [ebx + 0x2c]
cmp ebx, edi
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
jl 0x5db8e4
mov eax, ebx
cmp edi, 2
jne 0x5db993
mov eax, ebx
cmp ebx, 2
jne 0x5db993
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x2c], edi
cmp eax, 1
je 0x5db8f2
mov dword [edx + 0x30], eax
cmp edi, 2
je 0x5db913
mov eax, edi
cmp edi, 3
jne 0x5db993
mov dword [edx + 0x2c], 4
mov eax, 4
jmp 0x5db993
mov eax, dword [edx + 0x34]
test eax, eax
jle 0x5db922
mov ecx, dword [edx + 0x58]
mov edi, dword [edx + 0x5c]
jmp 0x5db932
mov ecx, dword [edx + 0x58]
mov edi, dword [edx + 0x5c]
mov eax, edi
sub eax, ecx
sar eax, 2
mov dword [edx + 0x34], eax
cmp ecx, edi
je 0x5db97e
mov edx, dword [esi + 8]
mov edx, dword [edx + 0x74]
test edx, edx
js 0x5db94e
sub edi, ecx
sar edi, 2
cmp edx, edi
jae 0x5db97e
lea ecx, [ecx + edx*4]
jmp 0x5db950
xor edx, edx
inc edx
mov ecx, dword [ecx]
mov edi, dword [esi + 8]
mov dword [edi + 0x74], edx
test ecx, ecx
je 0x5db97e
dec edx
mov eax, dword [esi + 8]
mov dword [eax + 0x38], edx
mov dword [esi + 0x88], 0
call fcn.00518740
mov ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x2c]
jmp 0x5db993
mov edx, dword [esi + 8]
mov dword [edx + 0x38], eax
mov dword [edx + 0x2c], 4
mov eax, 4
mov ebx, dword [esi + 0xc]
mov edx, dword [edx + 0x30]
mov ecx, edx
sar ecx, 0x1f
mov edi, eax
xor eax, eax
mov byte [esi + 0x68], al
mov dword [esi + 0x74], ecx
mov ecx, edi
sar ecx, 0x1f
mov byte [esi + 0x58], al
mov dword [esi + 0x64], ecx
mov byte [esi + 0x48], al
mov eax, ebx
sar eax, 0x1f
mov dword [esi + 0x54], eax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x70], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x88], 0
sub esp, 0x78
movups xmm0, xmmword [0x7a9568]
movups xmmword [esp + 0x68], xmm0
movups xmmword [esp + 0x58], xmm0
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [esi + 0x68]
movups xmmword [esp + 0x38], xmm0
movups xmm0, xmmword [esi + 0x58]
movups xmmword [esp + 0x28], xmm0
movdqu xmm0, xmmword [esi + 0x48]
movdqu xmmword [esp + 0x18], xmm0
mov dword [esp + 0x14], str.UpdateStatus_change_status_from__d_to__d__error_code___d
mov dword [esp + 0x10], str.XPluginUpdater
mov dword [esp + 0xc], str.UpdateStatus
mov dword [esp + 8], 0x358
mov dword [esp + 4], str..._.._applet_third_party_xplugin_src_PluginUpdater.cpp
mov dword [esp], 2
call fcn.004ee380
add esp, 0x78
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x14], eax
jle 0x5dbb5e
mov ebx, eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0x20]
mov dword [esi + 0x18], ecx
mov edi, dword [esi + 0x14]
mov ecx, edi
xor ecx, 1
or ecx, ebx
sete byte [esi + 0x13]
test ebx, ebx
setne cl
cmp edi, 4
sete ch
and ch, cl
mov byte [esi + 0x12], ch
lea ecx, [edx + 0x68]
mov dword [esi + 0x20], ecx
cmp eax, dword [esi + 0x18]
je 0x5dbb5e
mov edx, eax
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x5dbb2b
cmp byte [esi + 0x13], 0
je 0x5dbac8
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x88], 0xffffffff
mov ecx, edi
mov dword [esi + 0xc], edx
call dword [section..00cfg]
mov dword [esi + 0x88], 0
mov ecx, ebx
call edi
mov edx, dword [esi + 0xc]
jmp 0x5dbb2b
cmp byte [esi + 0x12], 0
je 0x5dbb2b
mov dword [esi + 0x24], esp
push eax
sub esp, 0xc
mov eax, esp
mov dword [esi + 0x28], eax
lea ecx, [eax + 4]
mov dword [esi + 0x88], 0
push dword [esi + 0x20]
mov dword [esi + 0xc], edx
mov dword [esi + 0x2c], ebx
call fcn.005d8310
mov ebx, dword [esi + 0x2c]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x28]
mov dword [ecx], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov dword [esi + 0x88], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [esi + 0x88], 0
mov ecx, ebx
call edi
mov edx, dword [esi + 0xc]
mov esp, dword [esi + 0x24]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x5dbb3f
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5dbb32
jmp 0x5dba7f
mov eax, dword [edx + 8]
cmp dword [eax], edx
je 0x5dba7f
add edx, 8
mov ecx, dword [edx]
lea edx, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x5dbb4d
jmp 0x5dba7f
lea ecx, [esi + 0x30]
call fcn.004ed9ee
cmp dword [esi + 0x14], 4
mov ecx, dword [esi + 8]
jne 0x5dbc8e
mov dword [esi + 0x88], 0xffffffff
push 1
call fcn.005d7560
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + 0xa]
mov dword [esi + 0xc], 0x51
cmp eax, 0xb
jae 0x5dbbb7
mov eax, 0xb
sub eax, ecx
mov edx, 0x51
sub edx, ecx
mov dword [esi + 0xc], edx
push 1
push eax
push 0x69a
call fcn.00506400
add esp, 0xc
mov edx, dword [esi + 8]
cmp byte [edx + 0x29], 0
je 0x5dbc8e
mov ecx, dword [edx + 0x10]
add edx, 0x14
cmp ecx, edx
je 0x5dbc8e
mov dword [esi + 8], edx
mov dword [esi + 0x18], ecx
lea eax, [ecx + 0x10]
xor ecx, ecx
dec ecx
mov dword [esi + 0x40], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x88], ecx
lea ecx, [esi + 0x30]
push eax
call fcn.004aeac0
mov dword [esi + 0x88], 1
call fcn.004aa940
mov ecx, eax
lea eax, [esi + 0x30]
push eax
call fcn.0050f810
mov edi, eax
test eax, eax
je 0x5dbc4c
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
mov dword [esi + 0x88], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov dword [esi + 0x88], 1
mov ecx, edi
call ebx
push 1
push dword [esi + 0xc]
push eax
call fcn.00506400
add esp, 0xc
lea ecx, [esi + 0x30]
call fcn.004aeec0
mov edi, dword [esi + 0x18]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x5dbc6b
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5dbc5e
mov edx, dword [esi + 8]
jmp 0x5dbc84
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edx, dword [esi + 8]
je 0x5dbc84
add edi, 8
mov ecx, dword [edi]
lea edi, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x5dbc78
mov ecx, eax
cmp eax, edx
jne 0x5dbbd5
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8