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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xd6f841
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 0x44]
xor ebx, ebx
push esi
mov dword [esp + 0x24], ebx
call ecx
test eax, eax
js 0xcf02d0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0xcf02d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
push ecx
push eax
xor edi, edi
call edx
test eax, eax
js 0xcf02c4
cmp dword [esp + 0x14], ebx
je 0xcf02b8
cmp edi, ebx
je 0xcf0119
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0xc8], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00cf1e10
test eax, eax
js 0xcf026c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xcf026c
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x4c]
call fcn.00c348c0
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
mov byte [esp + 0xc8], 1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x80]
call fcn.00cf1be0
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00cf1d30
mov ecx, edi
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0xdc], 2
call fcn.00bcc4e0
add esp, 0x14
mov ecx, dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0xc8], 3
call fcn.00bcb670
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call fcn.00bc9870
mov edi, 0x10
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x78], edi
jb 0xcf021b
mov edx, dword [esp + 0x64]
push edx
call fcn.00d08a36
add esp, 4
mov byte [esp + 0xc8], 1
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0xb0], edi
jb 0xcf024c
mov eax, dword [esp + 0x9c]
push eax
call fcn.00d08a36
add esp, 4
mov byte [esp + 0xc8], bl
cmp dword [esp + 0x94], edi
jb 0xcf026c
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00d08a36
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0xcf028f
mov edx, dword [esp + 0x48]
push edx
call fcn.00d08a36
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call eax
test eax, eax
jns 0xcf0103
cmp edi, ebx
je 0xcf02c4
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x30
mov dword [esp + 0x38], ebx
call fcn.00d08a50
add esp, 4
cmp eax, ebx
je 0xcf065a
mov dword [esp + 0x30], eax
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x30]
mov byte [eax + 0x2c], 1
mov ecx, dword [esp + 0x30]
mov byte [ecx + 0x2d], 1
mov dword [esp + 0xc8], 5
mov edx, dword [esi]
mov ecx, dword [edx + 0x34]
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], ebx
call ecx
cmp eax, ebx
mov eax, dword [esp + 0x18]
jl 0xcf05f2
cmp eax, ebx
je 0xcf05fe
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
test eax, eax
js 0xcf05bf
cmp dword [esp + 0x3c], 1
jne 0xcf05bf
mov esi, 0xf
mov dword [esp + 0x94], esi
mov byte [esp + 0xc8], 6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00cf1e10
test eax, eax
js 0xcf03c1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xcf03c1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x84]
call fcn.00c348c0
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x78], esi
mov byte [esp + 0xc8], 7
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00cf1e00
test eax, eax
js 0xcf0417
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xcf0417
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x68]
call fcn.00c348c0
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0xffffffffffffffff
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x28]
push ebx
push esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.00bc9870
mov byte [esp + 0xc8], 8
cmp dword [esi + 0x10], ebx
je 0xcf044e
push 0x2f
push 1
lea ecx, [esp + 0x50]
call fcn.00bc97c0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
call fcn.00bc77b0
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 4]
lea edx, [esp + 0x48]
push edx
mov esi, ecx
call fcn.00c19170
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 4]
je 0xcf04a7
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0xcf048c
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [esp + 0x60]
push eax
push ebx
lea ecx, [esp + 0x58]
call fcn.00bcbb10
test eax, eax
js 0xcf04a7
lea eax, [esp + 0x10]
jmp 0xcf04b2
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], ecx
lea eax, [esp + 0x28]
cmp dword [eax], edi
lea ecx, [esp + 0x80]
lea edi, [esp + 0x2c]
je 0xcf050d
call fcn.00c3c310
inc dword [eax]
mov eax, dword [eax]
push eax
push str.__d_
lea edx, [esp + 0xa4]
push 0x14
push edx
call fcn.00d0adee
lea eax, [esp + 0xac]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xcf04f0
sub eax, edx
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x50]
call fcn.00bc78a0
jmp 0xcf0518
call fcn.00c3c310
mov dword [eax], 1
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00bcb7e0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
mov ecx, eax
call fcn.00bc9870
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.00cf0070
mov esi, 0x10
add esp, 0xc
mov byte [esp + 0xc8], 7
cmp dword [esp + 0x5c], esi
jb 0xcf0566
mov edx, dword [esp + 0x48]
push edx
call fcn.00d08a36
add esp, 4
mov edi, 0xf
mov byte [esp + 0xc8], 6
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x78], esi
jb 0xcf0592
mov eax, dword [esp + 0x64]
push eax
call fcn.00d08a36
add esp, 4
mov byte [esp + 0xc8], 5
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x94], esi
jb 0xcf05bf
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00d08a36
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push ecx
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp edi, ebx
jge 0xcf0332
cmp eax, ebx
je 0xcf05fe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xc8], 9
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x34]
call fcn.00c3c8a0
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [esp + 0x30]
push eax
call fcn.00d08a36
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00d08a41
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc8], 4
call fcn.00bc4df0
int3