Function at 0x401000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x433b88
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x442d14]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x20]
push eax
push 0x439aa8
push 0x17
push ebx
push 0x439990
mov byte [esp + 0x80], 5
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x401306
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x401306
xor edi, edi
cmp eax, ebx
jle 0x401306
jmp 0x401090
mov dword [esp + 0x18], ebx
mov ecx, edi
mov word [esp + 0x4c], 3
mov dword [esp + 0x54], ecx
mov byte [esp + 0x6c], 7
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov esi, dword [edx]
lea eax, [esp + 0x18]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov ebp, dword [esp + 0x64]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
call edx
mov esi, eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x70], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
jl 0x4012e4
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x1c], ecx
je 0x401114
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x439ab8
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x401122
mov byte [esp + 0x6c], 5
jmp 0x4012ed
mov dword [esp + 0x24], ebx
mov byte [esp + 0x6c], 9
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x24]
push edx
push ecx
call eax
cmp eax, ebx
jl 0x4012ba
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x401161
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push str._D_3
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x2c], ebx
jne 0x401171
mov byte [esp + 0x6c], 8
jmp 0x4012c3
mov dword [esp + 0x30], ebx
mov byte [esp + 0x6c], 0xb
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
lea ecx, [esp + 0x28]
call fcn.004027a0
mov byte [esp + 0x6c], 0xc
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402700
mov esi, dword [esp + 0x84]
mov eax, dword [esi - 0xc]
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
call fcn.00401cb0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0xd
call fcn.00402680
mov byte [esp + 0x6c], 0xc
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4011f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.0041e049
add esp, 8
test eax, eax
jne 0x401279
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004025f0
push ecx
mov byte [esp + 0x74], 0xe
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004025f0
push ecx
mov byte [esp + 0x78], 0xf
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.004025f0
push ecx
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x80], 0x10
call fcn.004025f0
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x7c], 0xc
call fcn.00401400
add esp, 0x10
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40129a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x6c], 9
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4012ba
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x6c], 8
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4012cf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6c], 6
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4012e4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6c], 5
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4012f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 1
cmp edi, dword [esp + 0x34]
jl 0x401090
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40131b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x6c], 3
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 2
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40138a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4013b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4013dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret