Function at 0x403e10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4299da
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4392c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.00405710
mov dword [ebp - 4], 0
mov eax, dword [section..data]
lea ebx, [edi + 4]
mov ecx, section..data
mov dword [ebp - 0x20], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 8], eax
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 4
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x40402c
push dword [esi]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00410930
push 0xc
mov byte [ebp - 4], 5
call fcn.00416a1d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
test ebx, ebx
je 0x403f6d
mov byte [ebp - 4], 7
mov dword [ebx], vtable.webuilib::NewedVariant::PsiBstrKeeper.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
test eax, eax
jne 0x403f42
push ecx
lea ecx, [ebx + 4]
call fcn.00410930
jmp 0x403f53
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
test ecx, ecx
je 0x403f53
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [ebp - 4], 8
cmp dword [ebx + 8], 0
jne 0x403f68
push dword [ebx + 4]
lea ecx, [ebx + 4]
call fcn.00410930
mov edi, dword [ebp - 0x14]
jmp 0x403f6f
xor ebx, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x403f94
push 4
call fcn.00416a1d
mov dword [ebp - 0x28], eax
add esp, 4
mov dword [eax], 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
mov ecx, dword [edi]
push eax
call fcn.004098f0
mov byte [ebp - 4], 0xa
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x403fce
mov ebx, dword [ebp - 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x403fce
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x20]
push ebx
call fcn.00415ed5
add esp, 4
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x404009
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x404009
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x404009
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call fcn.00415ed5
add esp, 4
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
add esi, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
cmp esi, dword [eax + 4]
jne 0x403ee0
mov ebx, dword [ebp - 0x20]
mov edx, ebx
lea ecx, [edi + 8]
call fcn.00403340
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4