Function at 0x462c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d8e68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51b260]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], cx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x48]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], ebx
cmp edi, eax
jb 0x462ceb
call fcn.0049eacd
mov edx, dword [esi + 0xc]
push 0xffffffffffffffff
lea ecx, [edi*8]
sub ecx, edi
lea eax, [edx + ecx*4]
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.00405d00
mov ebp, 1
cmp dword [esi + 0x38], ebp
jne 0x462d2c
cmp dword [esp + 0x30], 8
jb 0x462d25
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0048dd02
add esp, 4
xor eax, eax
jmp 0x462e5f
lea edi, [esi + 0x18]
push edi
push 0x4ed474
push ebp
push ebx
push 0x4ed424
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [edi]
cmp eax, ebx
jne 0x462d72
push ebx
push ebx
push 0x4e0518
call fcn.00492f26
cmp dword [esp + 0x30], 8
mov dword [esi + 0x38], ebp
jb 0x462d25
mov edx, dword [esp + 0x1c]
push edx
call fcn.0048dd02
add esp, 4
xor eax, eax
jmp 0x462e5f
cmp dword [esp + 0x30], 8
mov ecx, dword [esp + 0x1c]
jae 0x462d81
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ebp, [esi + 0x1c]
push ebp
push 0x4ed434
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x28]
push edx
push 0x4ed464
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ebx, [esi + 0x24]
push ebx
push 0x4ed444
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea edi, [esi + 0x20]
push edi
push 0x4ed454
push eax
call edx
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x74]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0x46000000
push eax
call edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov edi, dword [edi]
mov eax, dword [edi]
mov eax, dword [eax + 0x9c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push edi
call eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x462e33
mov edx, dword [esi + 0x3c]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
push edx
push ebx
call eax
mov ebp, dword [ebp]
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x1c]
push ebp
call edx
cmp dword [esp + 0x30], 8
mov dword [esi + 0x30], 1
jb 0x462e5a
mov eax, dword [esp + 0x1c]
push eax
call fcn.0048dd02
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0049ef0f
add esp, 0x30
ret 0x18