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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xd1f841
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0xd916ec]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0xd916ec]
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 0xca02d0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0xca02d0
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 0xca02c4
cmp dword [esp + 0x14], ebx
je 0xca02b8
cmp edi, ebx
je 0xca0119
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.00ca1e10
test eax, eax
js 0xca026c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xca026c
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x4c]
call fcn.00be48c0
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.00ca1be0
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00ca1d30
mov ecx, edi
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0xdc], 2
call fcn.00b7c4e0
add esp, 0x14
mov ecx, dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0xc8], 3
call fcn.00b7b670
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call fcn.00b79870
mov edi, 0x10
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x78], edi
jb 0xca021b
mov edx, dword [esp + 0x64]
push edx
call fcn.00cb8a36
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 0xca024c
mov eax, dword [esp + 0x9c]
push eax
call fcn.00cb8a36
add esp, 4
mov byte [esp + 0xc8], bl
cmp dword [esp + 0x94], edi
jb 0xca026c
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00cb8a36
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0xca028f
mov edx, dword [esp + 0x48]
push edx
call fcn.00cb8a36
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 0xca0103
cmp edi, ebx
je 0xca02c4
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.00cb8a50
add esp, 4
cmp eax, ebx
je 0xca065a
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 0xca05f2
cmp eax, ebx
je 0xca05fe
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
test eax, eax
js 0xca05bf
cmp dword [esp + 0x3c], 1
jne 0xca05bf
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.00ca1e10
test eax, eax
js 0xca03c1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xca03c1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x84]
call fcn.00be48c0
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.00ca1e00
test eax, eax
js 0xca0417
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xca0417
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x68]
call fcn.00be48c0
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.00b79870
mov byte [esp + 0xc8], 8
cmp dword [esi + 0x10], ebx
je 0xca044e
push 0x2f
push 1
lea ecx, [esp + 0x50]
call fcn.00b797c0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
call fcn.00b777b0
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 4]
lea edx, [esp + 0x48]
push edx
mov esi, ecx
call fcn.00bc9170
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 4]
je 0xca04a7
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0xca048c
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [esp + 0x60]
push eax
push ebx
lea ecx, [esp + 0x58]
call fcn.00b7bb10
test eax, eax
js 0xca04a7
lea eax, [esp + 0x10]
jmp 0xca04b2
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 0xca050d
call fcn.00bec310
inc dword [eax]
mov eax, dword [eax]
push eax
push str.__d_
lea edx, [esp + 0xa4]
push 0x14
push edx
call fcn.00cbadee
lea eax, [esp + 0xac]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xca04f0
sub eax, edx
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x50]
call fcn.00b778a0
jmp 0xca0518
call fcn.00bec310
mov dword [eax], 1
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.00b7b7e0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
mov ecx, eax
call fcn.00b79870
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.00ca0070
mov esi, 0x10
add esp, 0xc
mov byte [esp + 0xc8], 7
cmp dword [esp + 0x5c], esi
jb 0xca0566
mov edx, dword [esp + 0x48]
push edx
call fcn.00cb8a36
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 0xca0592
mov eax, dword [esp + 0x64]
push eax
call fcn.00cb8a36
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 0xca05bf
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00cb8a36
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 0xca0332
cmp eax, ebx
je 0xca05fe
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.00bec8a0
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [esp + 0x30]
push eax
call fcn.00cb8a36
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.00cb8a41
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.00b74df0
int3