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

Disassembly:
mov eax, 0x1201cafa
call fcn.1201a4d8
sub esp, 0x104
mov eax, dword [section..cdata]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x14]
test eax, eax
mov esi, ecx
jne 0x120190cf
mov eax, dword [edi + 0x10]
push 0x120021b8
push eax
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xd8]
push 0x12004d14
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
mov eax, dword [edi + 0x24]
add esp, 0x10
cmp word [ebp + 0xc], 2
mov dword [ebp - 0xf0], eax
jne 0x120191ff
cmp dword [eax + 0x2c], 1
jne 0x120191ff
mov ecx, dword [esi + 0x3c]
lea eax, [ebp - 0xec]
push eax
call fcn.12011713
and dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xe4]
call fcn.12011713
mov eax, dword [eax]
lea ebx, [esi + 0x6c]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.12011713
mov eax, dword [ebp - 0xe4]
test eax, eax
mov byte [ebp - 4], 0
je 0x12019153
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xec]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x12019167
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x1201917e
push 0
push 0x120021b8
push 0x985
jmp 0x120193bb
lea eax, [ebp - 0xe4]
push eax
mov ecx, ebx
call fcn.12011713
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 2
call fcn.12011713
mov eax, dword [eax]
lea ebx, [esi + 0x48]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.12011713
mov eax, dword [ebp - 0xec]
test eax, eax
mov byte [ebp - 4], 2
je 0x120191c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xe4]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x120191d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx], 0
je 0x1201916d
mov ebx, dword [ebx]
mov eax, dword [ebx]
lea ecx, [ebp - 0xe0]
push ecx
push ebx
call dword [eax + 0x20]
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0xe0]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x100]
call fcn.12011713
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 4], 4
call fcn.12011713
mov eax, dword [eax]
lea ebx, [esi + 0x3c]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.12011713
test eax, eax
mov eax, dword [ebp - 0xe0]
setne byte [ebp - 0xd9]
test eax, eax
mov byte [ebp - 4], 4
je 0x1201925d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push eax
call fcn.12011713
cmp byte [ebp - 0xd9], 0
pop ecx
je 0x12019290
push 0
push dword [ebp - 0xe8]
push 0xb09
jmp 0x120193bb
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x100]
call fcn.12011713
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x38]
push edi
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 4], 6
call fcn.12011713
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.12011713
mov ebx, eax
mov eax, dword [ebp - 0xe0]
neg ebx
sbb bl, bl
inc bl
test eax, eax
mov byte [ebp - 4], 6
je 0x120192ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.oleaut32.dll_VariantCopy]
push eax
call fcn.12011713
test bl, bl
pop ecx
je 0x12019321
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x78]
push dword [eax + 0x18]
push dword [eax + 0x10]
push 0xafa
jmp 0x120193bb
cmp word [ebp + 0xc], 1
jne 0x1201933a
push 1
push edi
mov ecx, esi
call fcn.12017a7c
test eax, eax
jl 0x120193c6
movzx eax, word [ebp + 0xc]
mov ecx, dword [edi + 0x28]
push eax
call fcn.12015b2c
mov ecx, esi
push eax
call fcn.12017f0b
test eax, eax
jl 0x120193c6
cmp word [ebp + 0xc], 1
jne 0x120193c4
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x110]
call fcn.12011713
mov ecx, dword [esi + 0x38]
push 0
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 4], 8
call fcn.12011713
mov bx, ax
neg bx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x110]
push eax
inc bl
call dword [sym.imp.oleaut32.dll_VariantCopy]
push eax
call fcn.12011713
test bl, bl
pop ecx
je 0x120193c4
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x78]
push dword [eax + 0x18]
push dword [eax + 0x10]
push 0xb02
mov ecx, esi
call fcn.12011713
jmp 0x120193c6
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1201a428
leave
ret 8