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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x130f841
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x13816ec]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x13816ec]
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 0x12902d0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x12902d0
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 0x12902c4
cmp dword [esp + 0x14], ebx
je 0x12902b8
cmp edi, ebx
je 0x1290119
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.01291e10
test eax, eax
js 0x129026c
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x129026c
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x4c]
call fcn.011d48c0
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.01291be0
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.01291d30
mov ecx, edi
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0xdc], 2
call fcn.0116c4e0
add esp, 0x14
mov ecx, dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0xc8], 3
call fcn.0116b670
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call fcn.01169870
mov edi, 0x10
mov byte [esp + 0xc8], 2
cmp dword [esp + 0x78], edi
jb 0x129021b
mov edx, dword [esp + 0x64]
push edx
call fcn.012a8a36
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 0x129024c
mov eax, dword [esp + 0x9c]
push eax
call fcn.012a8a36
add esp, 4
mov byte [esp + 0xc8], bl
cmp dword [esp + 0x94], edi
jb 0x129026c
mov ecx, dword [esp + 0x80]
push ecx
call fcn.012a8a36
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc8], 0xffffffff
cmp dword [esp + 0x5c], 0x10
jb 0x129028f
mov edx, dword [esp + 0x48]
push edx
call fcn.012a8a36
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 0x1290103
cmp edi, ebx
je 0x12902c4
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.012a8a50
add esp, 4
cmp eax, ebx
je 0x129065a
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 0x12905f2
cmp eax, ebx
je 0x12905fe
mov edx, dword [eax]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
test eax, eax
js 0x12905bf
cmp dword [esp + 0x3c], 1
jne 0x12905bf
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.01291e10
test eax, eax
js 0x12903c1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x12903c1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x84]
call fcn.011d48c0
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.01291e00
test eax, eax
js 0x1290417
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1290417
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 0x10]
push eax
lea edi, [esp + 0x68]
call fcn.011d48c0
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.01169870
mov byte [esp + 0xc8], 8
cmp dword [esi + 0x10], ebx
je 0x129044e
push 0x2f
push 1
lea ecx, [esp + 0x50]
call fcn.011697c0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
call fcn.011677b0
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 4]
lea edx, [esp + 0x48]
push edx
mov esi, ecx
call fcn.011b9170
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 4]
je 0x12904a7
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x129048c
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [esp + 0x60]
push eax
push ebx
lea ecx, [esp + 0x58]
call fcn.0116bb10
test eax, eax
js 0x12904a7
lea eax, [esp + 0x10]
jmp 0x12904b2
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 0x129050d
call fcn.011dc310
inc dword [eax]
mov eax, dword [eax]
push eax
push str.__d_
lea edx, [esp + 0xa4]
push 0x14
push edx
call fcn.012aadee
lea eax, [esp + 0xac]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x12904f0
sub eax, edx
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x50]
call fcn.011678a0
jmp 0x1290518
call fcn.011dc310
mov dword [eax], 1
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0116b7e0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
push edx
mov ecx, eax
call fcn.01169870
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.01290070
mov esi, 0x10
add esp, 0xc
mov byte [esp + 0xc8], 7
cmp dword [esp + 0x5c], esi
jb 0x1290566
mov edx, dword [esp + 0x48]
push edx
call fcn.012a8a36
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 0x1290592
mov eax, dword [esp + 0x64]
push eax
call fcn.012a8a36
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 0x12905bf
mov ecx, dword [esp + 0x80]
push ecx
call fcn.012a8a36
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 0x1290332
cmp eax, ebx
je 0x12905fe
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.011dc8a0
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [esp + 0x30]
push eax
call fcn.012a8a36
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.012a8a41
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.01164df0
int3