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

Disassembly:
sub esp, 0xf4
mov eax, dword [0x1007e5f0]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x130]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
mov edi, dword [esp + 0x10c]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0xc0], eax
mov dword [esp + 0x14], vtable.CDAOContext.0
mov dword [esp + 0x18], esi
call fcn.10009750
mov ebx, 1
lea ecx, [esp + 0x9c]
mov dword [esp + 0x10], vtable.CDAOVARGContext.0
mov word [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
call fcn.10013930
lea ecx, [esp + 0x40]
call fcn.100139b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
test eax, eax
je 0x1000eae1
cmp dword [eax + 0x10], 0x25
jl 0x1000eb11
push ebx
push 0
push eax
push 0xffff8abf
call fcn.1005a550
test eax, eax
je 0x1000eb06
movzx eax, ax
or eax, 0x800a0000
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x1000f4ff
mov eax, dword [esp + 0x18]
mov esi, eax
jmp 0x1000f4ff
push edi
lea ecx, [esp + 0xa0]
call fcn.10007380
mov ecx, dword [esp + 0x110]
push 0
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x11c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x130]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x134]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x28]
mov word [esp + 0x38], bx
mov dword [eax + 0xc], edx
call fcn.1000a010
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
push 0
lea eax, [esp + 0x74]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x140]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x144]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x28]
mov dword [eax + 0xc], edx
call fcn.1000a010
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x134]
push 0
lea eax, [esp + 0x28]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x150]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x154]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x28]
mov dword [eax + 0xc], edx
call fcn.1000a010
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x1000eb0a
mov di, word [esp + 0x34]
cmp di, bx
jne 0x1000ec2c
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], 0x80070057
je 0x1000ec1c
mov eax, dword [eax + 8]
test eax, eax
je 0x1000ec1c
push 2
push 0x80070057
push eax
call fcn.10019ba0
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x1000f4ff
mov eax, 0x80070057
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x1000f4ff
mov ebx, dword [esp + 0x70]
test bl, 4
mov ax, word [esp + 0x24]
je 0x1000ec52
test al, 4
je 0x1000ec48
and ebx, 0xfffb
mov dword [esp + 0x70], ebx
test bl, 4
je 0x1000ec52
test ax, ax
jne 0x1000ebed
cmp di, 8
jne 0x1000ec6a
test ebx, 0x100
je 0x1000ec6a
and ebx, 0xfeff
mov dword [esp + 0x70], ebx
movzx eax, ax
add eax, 0xffffffff
cmp eax, 4
mov ebp, 2
ja case.default.0x1000ec7a
jmp dword [eax*4 + 0x1000f53c]
push 4
lea ecx, [esp + 0x44]
call fcn.10013c30
test ebx, 0x37f
je 0x1000ed13
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
push 1
push 0
push eax
push 0xfffffc15
jmp 0x1000eaea
push ebp
jmp 0x1000ec83
push 3
jmp 0x1000ec83
cmp dword [esi + 0x288], 3
jne 0x1000ebed
push 5
jmp 0x1000ec83
push 1
jmp 0x1000ec83
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x134]
push ecx
call fcn.10009f30
test eax, eax
je 0x1000ec8c
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], 0x80070057
je 0x1000ec1c
mov eax, dword [eax + 8]
test eax, eax
je 0x1000ec1c
push 2
push 0x80070057
push eax
call fcn.10019ba0
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x1000f4ff
movzx eax, di
add eax, 0xfffffffe
cmp eax, 0xe
mov word [esp + 0x60], bp
ja case.0x1000ed2a.3
movzx ecx, byte [eax + 0x1000f564]
jmp dword [ecx*4 + 0x1000f550]
mov word [esp + 0x68], bp
xor edi, edi
cmp bx, di
mov dword [esp + 0xb4], edi
je 0x1000ee67
movzx ecx, bx
test ecx, 0xfffff3ff
mov word [esp + 0x7c], bp
mov word [esp + 0x84], di
je 0x1000ede6
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x18], 0x80070057
je 0x1000ec1c
mov eax, dword [eax + 8]
cmp eax, edi
jmp 0x1000edc9
mov word [esp + 0x68], 1
jmp 0x1000ed36
mov word [esp + 0x68], 3
jmp 0x1000ed36
mov word [esp + 0x68], 0
jmp 0x1000ed36
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x114]
push eax
call fcn.10009f30
test eax, eax
je 0x1000ed36
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], 0x80070057
je 0x1000ec1c
mov eax, dword [eax + 8]
test eax, eax
je 0x1000ec1c
push ebp
push 0x80070057
push eax
call fcn.10019ba0
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x1000f4ff
test ebx, 0x400
je 0x1000ee03
mov word [esp + 0x84], 0x20
mov dword [esp + 0xb4], 1
test ebx, 0x800
je 0x1000ee14
or word [esp + 0x84], 0x40
mov ebx, dword [esp + 0x84]
cmp dword [esi + 0x288], 3
je 0x1000ef2e
lea ecx, [esp + 0xe0]
call fcn.100139b0
mov edx, dword [esp + 0x38]
push edx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], vtable.CVarConvA.0
call fcn.10015100
mov esi, eax
cmp esi, edi
jge 0x1000ee7c
lea ecx, [esp + 0xe0]
call fcn.10014290
jmp 0x1000f4ff
mov ebx, 0x80020004
mov word [esp + 0x7c], 0xa
mov dword [esp + 0x84], ebx
jmp 0x1000ee1b
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x28c]
mov edi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x114]
mov dword [eax + 0xc], edx
call fcn.100073e0
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
push esi
call eax
lea ecx, [esp + 0xe0]
mov esi, eax
call fcn.10014290
mov ebx, dword [esp + 0x84]
jmp 0x1000efb9
mov ecx, dword [esi + 0x28c]
mov edi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x88]
lea eax, [esp + 0x28]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x64]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x80]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x98]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x9c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xa0]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x6c]
push eax
push ecx
mov ecx, dword [edx + 0x68]
call ecx
mov esi, eax
test esi, esi
jge 0x1000f2a7
mov edx, dword [esp + 0x38]
xor eax, eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x78], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
add eax, 0xe
push eax
push 0
mov dword [esp + 0x44], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], eax
call fcn.10007440
test eax, eax
jne 0x1000f4fb
mov eax, dword [esp + 0x3c]
add eax, 1
push eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
push str.SELECT__FROM
push eax
call fcn.10001df0
push esi
lea ecx, [esp + 0x14]
call fcn.1000c3f0
lea ecx, [esp + 0x24]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
test eax, eax
jne 0x1000f0ae
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000f0be
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [esp + 0x94]
push ecx
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x98]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0xe0]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x74]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x8c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000f0be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x34]
je 0x1000f0d9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
call fcn.1000c370
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x288], 3
je 0x1000f1c6
lea ecx, [esp + 0xc0]
call fcn.100139b0
push esi
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc4], vtable.CVarConvA.0
call fcn.10015100
mov esi, eax
test esi, esi
jge 0x1000f125
lea ecx, [esp + 0xc0]
call fcn.10014290
jmp 0x1000f4ff
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x28c]
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa0]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xf4]
mov dword [eax + 0xc], edx
call fcn.100073e0
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc8]
push esi
call eax
lea ecx, [esp + 0xc0]
mov edi, eax
call fcn.10014290
mov esi, dword [esp + 0x34]
jmp 0x1000f244
lea eax, [esp + 0x28]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x9c]
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x64]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x78]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x7c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x80]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x98]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x9c]
mov ecx, edx
mov ecx, dword [ecx + 0x28c]
mov edx, dword [ecx]
mov dword [eax + 8], edi
mov edi, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [edx + 0x68]
mov dword [eax + 0xc], edi
call ecx
mov edi, eax
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
test edi, edi
jge 0x1000f275
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0xa0]
push eax
push ecx
push edx
call fcn.10059ee0
mov eax, dword [esp + 0x94]
test eax, eax
je 0x1000f283
push eax
call esi
mov eax, dword [esp + 0x98]
test eax, eax
je 0x1000f291
push eax
call esi
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1000f29f
push eax
call esi
test edi, edi
jl 0x1000f4fb
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0xb8]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
push eax
lea ecx, [esp + 0x14]
call fcn.1000c3f0
test eax, eax
je 0x1000f2de
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x1000f4fb
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 8]
push 0x101
push eax
push 0x1e
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.10054f40
push eax
lea ecx, [esp + 0x14]
call fcn.10005ce0
test eax, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
jne 0x1000f2d3
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
push eax
lea ecx, [esp + 0x14]
call fcn.1000c3f0
test eax, eax
je 0x1000f335
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x2f4], 0
jmp 0x1000f344
movsx edx, word [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x2f4], edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x4cc]
push ecx
push eax
call fcn.10056e80
push 0x14
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1000f37a
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov edi, eax
jmp 0x1000f37c
xor edi, edi
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.10007440
test eax, eax
je 0x1000f3a7
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
push eax
call fcn.100573a0
jmp 0x1000f4fb
push 0x208
call fcn.10001450
mov esi, eax
test esi, esi
je 0x1000f3e9
lea ecx, [esp + 0x40]
call fcn.10009e60
mov ecx, dword [ebx + 0x288]
mov edx, dword [esp + 0xb8]
push eax
mov eax, dword [esp + 0x74]
push ecx
shr eax, 0xa
push edx
and eax, 1
push eax
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.100382a0
jmp 0x1000f3eb
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0x28]
push 1
push ecx
push edx
lea ecx, [esp + 0x84]
push ecx
push 0x100701f8
push 0
push eax
call fcn.10005db0
push eax
lea ecx, [esp + 0x18]
call fcn.10005c90
test eax, eax
je 0x1000f43d
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100573a0
jmp 0x1000f4fb
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0xb4]
test eax, eax
mov esi, dword [edx + 8]
mov dword [esi + 0x160], edi
mov dword [esi + 0x78], eax
jne 0x1000f4b4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
push eax
lea ecx, [esp + 0x14]
call fcn.1000c3f0
test eax, eax
jne 0x1000f4a4
mov eax, dword [esp + 0x90]
push eax
lea ecx, [esi + 0x194]
call fcn.1001ec10
mov dword [esp + 0x18], eax
test eax, eax
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jge 0x1000f4b2
call edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x1000f4fb
call edx
mov eax, dword [esi + 0x160]
mov dword [eax + 0xc], esi
mov ecx, dword [esp + 0x2c]
mov eax, 0xfffffffe
mov dword [ecx + 0x2a0], eax
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x298], eax
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x29c], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xbc]
mov dword [edx + 0x268], 0x64
mov eax, dword [esp + 0x78]
mov dword [ecx], eax
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x40]
call fcn.10014290
lea ecx, [esp + 0x9c]
call fcn.10013940
lea ecx, [esp + 0x10]
call fcn.100097c0
mov ecx, dword [esp + 0x100]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1006ac47
add esp, 0xf4
ret 0x3c